setExtensionConfig method

FutureOr<int> setExtensionConfig(
  1. NSString groupId
)

@hidden(macOS) @detail api @hiddensdk(audiosdk) @author wangzhanqiang @brief Set Extension configuration. It should be set before capturing screen internally. @param groupId Your app and Extension should belong to the same App Group. You need to put in their Group ID here. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note You must call this API immediately after calling createRTCEngine:delegate:{@link #ByteRTCEngine#createRTCEngine:delegate}. You only need to call this API once in the life cycle of the engine instance.

Implementation

FutureOr<int> setExtensionConfig(NSString groupId) async {
  return await nativeCall('setExtensionConfig:', [groupId]);
}