switchSuperBoardSubView method

Future<ZegoSuperBoardError> switchSuperBoardSubView({
  1. required String? uniqueID,
})

Switch to the specified SuperBoardSubView.

Supported version: 2.0.0 and above

Description: Switch to the specified SuperBoardSubView on multiple clients.

Related callbacks: ZegoSuperBoardSwitchBlock

@param uniqueID Unique ID of SuperBoardSubView @return ZegoSuperBoardError

Implementation

Future<ZegoSuperBoardError> switchSuperBoardSubView(
    {required String? uniqueID}) async {
  var map = await _channel.invokeMethod('switchSuperBoardSubView', {
    'uniqueID': uniqueID,
  });
  return ZegoSuperBoardError(map['errorCode']);
}