update the SA remote call interface

Signed-off-by: wanghaoxu <wanghaoxu1@huawei.com>
This commit is contained in:
wanghaoxu 2022-07-12 02:07:22 +00:00
parent 78e83305ca
commit e23de81b4f

View File

@ -21,7 +21,7 @@
namespace OHOS {
class RpcSystemAbilityCallback {
public:
using OnLoadSystemAbilityComplete = std::func<void(const std::string& srcNetworkId, int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject)>;
using OnLoadSystemAbilityComplete = std::function<void(const std::string& srcNetworkId, int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject)>;
virtual bool LoadSystemAbilityFromRemote(const std::string& srcNetworkId, int32_t systemAbilityId, OnLoadSystemAbilityComplete callback){ return false; };
virtual sptr<IRemoteObject> GetSystemAbilityFromRemote(int32_t systemAbilityId) = 0;