onUnpublished property

dynamic Function(RCRTCMediaType type, int code, String? errMsg)? onUnpublished
getter/setter pair

ZH

本地用户取消发布资源回调 @param type 资源类型 @param code 0: 调用成功, 非0: 失败 @param errMsg 失败原因

EN

Callback when local user unpublishes resources @param type Resource type @param code 0: Success, non-zero: Failure @param errMsg Failure reason

Implementation

Function(RCRTCMediaType type, int code, String? errMsg)? onUnpublished;