closeRemoteDeviceByAdmin method
Implementation
Future<TUIActionCallback> closeRemoteDeviceByAdmin(
String userId, TUIMediaDevice device) {
String userData = Tools.generateUserData();
Completer<TUIActionCallback> completer = Completer();
_actionCallback2Future(userData, completer);
_engineSDK.Dart_CloseRemoteDeviceByAdmin(
_engineFFIPointer,
Tools.string2PointerChar(userId),
device.value(),
Tools.string2PointerChar(userData));
return completer.future;
}