等sink和source都release后,SA再进行退出

Signed-off-by: wangchaole <wangchaole1@huawei.com>
This commit is contained in:
wangchaole
2022-05-10 17:31:43 +08:00
parent dd12ea7867
commit e1aa104fcf
@@ -19,6 +19,8 @@
#include <cstdint>
#include <string>
#include "idcamera_source_callback.h"
namespace OHOS {
namespace DistributedHardware {
class ICameraStateListener {
@@ -28,6 +30,7 @@ public:
int32_t status, std::string& data) = 0;
virtual int32_t OnUnregisterNotify(const std::string& devId, const std::string& dhId, const std::string& reqId,
int32_t status, std::string& data) = 0;
virtual void SetCallback(sptr<IDCameraSourceCallback> callback) = 0;
};
} // namespace DistributedHardware
} // namespace OHOS