spotLightVideo method

  1. @override
Future<String> spotLightVideo(
  1. String userId
)

Spotlight the video of the specified user.
userId The user ID of the user
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> spotLightVideo(String userId) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("userId", () => userId);
  return await methodChannel
      .invokeMethod<String>('spotLightVideo', params)
      .then<String>((String? value) => value ?? "");
}