1/* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16import DeviceConnectStatus; 17sequenceable OHOS.IRemoteObject; 18sequenceable OHOS.DistributedSchedule.ContinuationExtraParams; 19sequenceable ContinuationResult..OHOS.DistributedSchedule.ContinuationResult; 20 21interface OHOS.DistributedSchedule.IDistributedAbilityManager{ 22 [ipccode 500] void Register( 23 [in] sharedptr<ContinuationExtraParams> continuationExtraParams, [out] int token); 24 void Unregister([in] int token); 25 void RegisterDeviceSelectionCallback( 26 [in] int token, [in] String cbType, [in] IRemoteObject notifier); 27 void UnregisterDeviceSelectionCallback([in] int token, [in] String cbType); 28 void UpdateConnectStatus([in] int token, [in] String deviceId, 29 [in] DeviceConnectStatus deviceConnectStatus); 30 void StartDeviceManager( 31 [in] int token, [in] sharedptr<ContinuationExtraParams> continuationExtraParams /*= nullptr*/); 32 void RegisterWithoutExtraParam([out] int token); 33 void StartDeviceManagerWithoutExtraParam([in] int token); 34}