操作 旧版本 新版本 d.ts文件
新增 NA 类名:ResourceType;
方法or属性:RUNNING_LOCK = 1 << 7
@ohos.resourceschedule.backgroundTaskManager.d.ts
新增 NA 类名:ResourceType;
方法or属性:SENSOR = 1 << 8
@ohos.resourceschedule.backgroundTaskManager.d.ts
新增 NA 类名:deviceStandby;
方法or属性:function getExemptedApps(resourceTypes: number, callback: AsyncCallback<Array<ExemptedAppInfo>>): void;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:deviceStandby;
方法or属性:function getExemptedApps(resourceTypes: number): Promise<Array<ExemptedAppInfo>>;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:deviceStandby;
方法or属性:function requestExemptionResource(request: ResourceRequest): void;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:deviceStandby;
方法or属性:function releaseExemptionResource(request: ResourceRequest): void;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:NETWORK = 1
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:RUNNING_LOCK = 1 << 1
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:TIMER = 1 << 2
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:WORK_SCHEDULER = 1 << 3
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:AUTO_SYNC = 1 << 4
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:PUSH = 1 << 5
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceType;
方法or属性:FREEZE = 1 << 6
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ExemptedAppInfo;
方法or属性:resourceTypes: number;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceRequest;
方法or属性:resourceTypes: number;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ExemptedAppInfo;
方法or属性:name: string;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceRequest;
方法or属性:name: string;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ExemptedAppInfo;
方法or属性:duration: number;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceRequest;
方法or属性:duration: number;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceRequest;
方法or属性:uid: number;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:ResourceRequest;
方法or属性:reason: string;
@ohos.resourceschedule.deviceStandby.d.ts
新增 NA 类名:usageStatistics;
方法or属性:function isIdleStateSync(bundleName: string): boolean;
@ohos.resourceschedule.usageStatistics.d.ts
新增 NA 类名:usageStatistics;
方法or属性:function queryAppGroupSync(): number;
@ohos.resourceschedule.usageStatistics.d.ts
新增 NA 类名:usageStatistics;
方法or属性:function queryAppGroupSync(bundleName: string): number;
@ohos.resourceschedule.usageStatistics.d.ts
新增 NA 类名:workScheduler;
方法or属性:function obtainAllWorks(callback: AsyncCallback<Array<WorkInfo>>): void;
@ohos.resourceschedule.workScheduler.d.ts
新增 NA 类名:workScheduler;
方法or属性:function isLastWorkTimeOut(workId: number, callback: AsyncCallback<boolean>): void;
@ohos.resourceschedule.workScheduler.d.ts
新增 NA 类名:WorkSchedulerExtensionAbility;
方法or属性:context: WorkSchedulerExtensionContext;
@ohos.WorkSchedulerExtensionAbility.d.ts
废弃版本有变化 类名:particleAbility;
方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
旧版本信息:
类名:particleAbility;
方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
新版本信息:9
代替接口: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning
@ohos.ability.particleAbility.d.ts
废弃版本有变化 类名:particleAbility;
方法or属性:function cancelBackgroundRunning(): Promise<void>;
旧版本信息:
类名:particleAbility;
方法or属性:function cancelBackgroundRunning(): Promise<void>;
新版本信息:9
代替接口: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning
@ohos.ability.particleAbility.d.ts
废弃版本有变化 类名:workScheduler;
方法or属性:function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>;
旧版本信息:
类名:workScheduler;
方法or属性:function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>;
新版本信息:10
代替接口:
@ohos.resourceschedule.workScheduler.d.ts
废弃版本有变化 类名:workScheduler;
方法or属性:function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean;
旧版本信息:
类名:workScheduler;
方法or属性:function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean;
新版本信息:10
代替接口:
@ohos.resourceschedule.workScheduler.d.ts
访问级别有变化 类名:bundleState;
方法or属性:function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
旧版本信息:
类名:bundleState;
方法or属性:function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
新版本信息:systemapi
@ohos.bundleState.d.ts
访问级别有变化 类名:bundleState;
方法or属性:function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
旧版本信息:
类名:bundleState;
方法or属性:function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
新版本信息:systemapi
@ohos.bundleState.d.ts
访问级别有变化 类名:bundleState;
方法or属性:function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
旧版本信息:
类名:bundleState;
方法or属性:function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
新版本信息:systemapi
@ohos.bundleState.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:CPU = 1
旧版本信息:
类名:ResourceType;
方法or属性:CPU = 1
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:COMMON_EVENT = 1 << 1
旧版本信息:
类名:ResourceType;
方法or属性:COMMON_EVENT = 1 << 1
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:TIMER = 1 << 2
旧版本信息:
类名:ResourceType;
方法or属性:TIMER = 1 << 2
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:WORK_SCHEDULER = 1 << 3
旧版本信息:
类名:ResourceType;
方法or属性:WORK_SCHEDULER = 1 << 3
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:BLUETOOTH = 1 << 4
旧版本信息:
类名:ResourceType;
方法or属性:BLUETOOTH = 1 << 4
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:GPS = 1 << 5
旧版本信息:
类名:ResourceType;
方法or属性:GPS = 1 << 5
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:ResourceType;
方法or属性:AUDIO = 1 << 6
旧版本信息:
类名:ResourceType;
方法or属性:AUDIO = 1 << 6
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:EfficiencyResourcesRequest;
方法or属性:resourceTypes: number;
旧版本信息:
类名:EfficiencyResourcesRequest;
方法or属性:resourceTypes: number;
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:EfficiencyResourcesRequest;
方法or属性:isApply: boolean;
旧版本信息:
类名:EfficiencyResourcesRequest;
方法or属性:isApply: boolean;
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:EfficiencyResourcesRequest;
方法or属性:timeOut: number;
旧版本信息:
类名:EfficiencyResourcesRequest;
方法or属性:timeOut: number;
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:EfficiencyResourcesRequest;
方法or属性:isPersist?: boolean;
旧版本信息:
类名:EfficiencyResourcesRequest;
方法or属性:isPersist?: boolean;
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:EfficiencyResourcesRequest;
方法or属性:isProcess?: boolean;
旧版本信息:
类名:EfficiencyResourcesRequest;
方法or属性:isProcess?: boolean;
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:EfficiencyResourcesRequest;
方法or属性:reason: string;
旧版本信息:
类名:EfficiencyResourcesRequest;
方法or属性:reason: string;
新版本信息:systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:id: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:id: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:abilityInFgTotalTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:abilityInFgTotalTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:abilityPrevAccessTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:abilityPrevAccessTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:abilityPrevSeenTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:abilityPrevSeenTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:abilitySeenTotalTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:abilitySeenTotalTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:bundleName?: string;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:bundleName?: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleEvents;
方法or属性:bundleName?: string;
旧版本信息:
类名:BundleEvents;
方法or属性:bundleName?: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:fgAbilityAccessTotalTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:fgAbilityAccessTotalTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:fgAbilityPrevAccessTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:fgAbilityPrevAccessTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:infosBeginTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:infosBeginTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleStatsInfo;
方法or属性:infosEndTime?: number;
旧版本信息:
类名:BundleStatsInfo;
方法or属性:infosEndTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapFormInfo;
方法or属性:formName: string;
旧版本信息:
类名:HapFormInfo;
方法or属性:formName: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapFormInfo;
方法or属性:formDimension: number;
旧版本信息:
类名:HapFormInfo;
方法or属性:formDimension: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapFormInfo;
方法or属性:formId: number;
旧版本信息:
类名:HapFormInfo;
方法or属性:formId: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapFormInfo;
方法or属性:formLastUsedTime: number;
旧版本信息:
类名:HapFormInfo;
方法or属性:formLastUsedTime: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapFormInfo;
方法or属性:count: number;
旧版本信息:
类名:HapFormInfo;
方法or属性:count: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:DeviceEventStats;
方法or属性:count: number;
旧版本信息:
类名:DeviceEventStats;
方法or属性:count: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:deviceId?: string;
旧版本信息:
类名:HapModuleInfo;
方法or属性:deviceId?: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:bundleName: string;
旧版本信息:
类名:HapModuleInfo;
方法or属性:bundleName: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:moduleName: string;
旧版本信息:
类名:HapModuleInfo;
方法or属性:moduleName: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:abilityName?: string;
旧版本信息:
类名:HapModuleInfo;
方法or属性:abilityName?: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:appLabelId?: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:appLabelId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:labelId?: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:labelId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:descriptionId?: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:descriptionId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:abilityLableId?: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:abilityLableId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:abilityDescriptionId?: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:abilityDescriptionId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:abilityIconId?: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:abilityIconId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:launchedCount: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:launchedCount: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:lastModuleUsedTime: number;
旧版本信息:
类名:HapModuleInfo;
方法or属性:lastModuleUsedTime: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:HapModuleInfo;
方法or属性:formRecords: Array<HapFormInfo>;
旧版本信息:
类名:HapModuleInfo;
方法or属性:formRecords: Array<HapFormInfo>;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:DeviceEventStats;
方法or属性:name: string;
旧版本信息:
类名:DeviceEventStats;
方法or属性:name: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:DeviceEventStats;
方法or属性:eventId: number;
旧版本信息:
类名:DeviceEventStats;
方法or属性:eventId: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleEvents;
方法or属性:appGroup?: number;
旧版本信息:
类名:BundleEvents;
方法or属性:appGroup?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleEvents;
方法or属性:indexOfLink?: string;
旧版本信息:
类名:BundleEvents;
方法or属性:indexOfLink?: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleEvents;
方法or属性:nameOfClass?: string;
旧版本信息:
类名:BundleEvents;
方法or属性:nameOfClass?: string;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleEvents;
方法or属性:eventOccurredTime?: number;
旧版本信息:
类名:BundleEvents;
方法or属性:eventOccurredTime?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:BundleEvents;
方法or属性:eventId?: number;
旧版本信息:
类名:BundleEvents;
方法or属性:eventId?: number;
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:IntervalType;
方法or属性:BY_OPTIMIZED = 0
旧版本信息:
类名:IntervalType;
方法or属性:BY_OPTIMIZED = 0
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:IntervalType;
方法or属性:BY_DAILY = 1
旧版本信息:
类名:IntervalType;
方法or属性:BY_DAILY = 1
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:IntervalType;
方法or属性:BY_WEEKLY = 2
旧版本信息:
类名:IntervalType;
方法or属性:BY_WEEKLY = 2
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:IntervalType;
方法or属性:BY_MONTHLY = 3
旧版本信息:
类名:IntervalType;
方法or属性:BY_MONTHLY = 3
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:IntervalType;
方法or属性:BY_ANNUALLY = 4
旧版本信息:
类名:IntervalType;
方法or属性:BY_ANNUALLY = 4
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:GroupType;
方法or属性:ALIVE_GROUP = 10
旧版本信息:
类名:GroupType;
方法or属性:ALIVE_GROUP = 10
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:GroupType;
方法or属性:DAILY_GROUP = 20
旧版本信息:
类名:GroupType;
方法or属性:DAILY_GROUP = 20
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:GroupType;
方法or属性:FIXED_GROUP = 30
旧版本信息:
类名:GroupType;
方法or属性:FIXED_GROUP = 30
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:GroupType;
方法or属性:RARE_GROUP = 40
旧版本信息:
类名:GroupType;
方法or属性:RARE_GROUP = 40
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:GroupType;
方法or属性:LIMITED_GROUP = 50
旧版本信息:
类名:GroupType;
方法or属性:LIMITED_GROUP = 50
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
访问级别有变化 类名:GroupType;
方法or属性:NEVER_GROUP = 60
旧版本信息:
类名:GroupType;
方法or属性:NEVER_GROUP = 60
新版本信息:systemapi
@ohos.resourceschedule.usageStatistics.d.ts
权限有变化 类名:particleAbility;
方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
旧版本信息:
类名:particleAbility;
方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
新版本信息:ohos.permission.KEEP_BACKGROUND_RUNNING
@ohos.ability.particleAbility.d.ts
权限有变化 类名:backgroundTaskManager;
方法or属性:function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>;
旧版本信息:
类名:backgroundTaskManager;
方法or属性:function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>;
新版本信息:ohos.permission.KEEP_BACKGROUND_RUNNING
@ohos.backgroundTaskManager.d.ts
权限有变化 类名:bundleState;
方法or属性:function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
旧版本信息:
类名:bundleState;
方法or属性:function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
新版本信息:ohos.permission.BUNDLE_ACTIVE_INFO
@ohos.bundleState.d.ts
权限有变化 类名:bundleState;
方法or属性:function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
旧版本信息:
类名:bundleState;
方法or属性:function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
新版本信息:ohos.permission.BUNDLE_ACTIVE_INFO
@ohos.bundleState.d.ts
权限有变化 类名:bundleState;
方法or属性:function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
旧版本信息:
类名:bundleState;
方法or属性:function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
新版本信息:ohos.permission.BUNDLE_ACTIVE_INFO
@ohos.bundleState.d.ts
model有变化 类名:particleAbility;
方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
旧版本信息:
类名:particleAbility;
方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
新版本信息:FAModelOnly
@ohos.ability.particleAbility.d.ts
model有变化 类名:particleAbility;
方法or属性:function cancelBackgroundRunning(): Promise<void>;
旧版本信息:
类名:particleAbility;
方法or属性:function cancelBackgroundRunning(): Promise<void>;
新版本信息:FAModelOnly
@ohos.ability.particleAbility.d.ts