10#if UNITY_STANDALONE_OSX
11 private MacZMVideoSDKUser _videoSDKUser =
null;
14 _videoSDKUser = videoSDKUser;
16 public MacZMVideoSDKUser VideoSDKUser
18 get {
return _videoSDKUser; }
21 private IOSZMVideoSDKUser _videoSDKUser =
null;
24 _videoSDKUser = videoSDKUser;
26 public IOSZMVideoSDKUser VideoSDKUser
28 get {
return _videoSDKUser; }
31 private AndroidZoomVideoSDKUser _videoSDKUser =
null;
34 _videoSDKUser = videoSDKUser;
36 public AndroidZoomVideoSDKUser VideoSDKUser
38 get {
return _videoSDKUser; }
40#elif UNITY_STANDALONE_WIN
41 private WindowsZoomVideoSDKUser _videoSDKUser =
null;
44 _videoSDKUser = videoSDKUser;
46 public WindowsZoomVideoSDKUser VideoSDKUser
48 get {
return _videoSDKUser; }
58 return _videoSDKUser.GetUserID();
67 return _videoSDKUser.GetCustomIdentity();
76 return _videoSDKUser.GetUserName();
85 return _videoSDKUser.GetAudioStatus();
94 return _videoSDKUser.IsHost();
103 return _videoSDKUser.IsManager();
112 return _videoSDKUser.GetVideoStatisticInfo();
124 throw new NullReferenceException(
"GetVideoPipe returns null");
136 return _videoSDKUser.SetUserVolume(volume, isSharingAudio);
146 return _videoSDKUser.GetUserVolume(isSharingAudio);
156 return _videoSDKUser.CanSetUserVolume(isShareAudio);
165 return _videoSDKUser.HasIndividualRecordingConsent();
178 throw new NullReferenceException(
"GetSharePipe returns null");
Interface for user to subscribe@unSubscribe video raw data. ZMVideoSDKUser#GetVideoPipe().
Zoom Video SDK user information.
bool SetUserVolume(float volume, bool isSharingAudio)
Set the user's local volume. This does not affect how other participants hear the user.
ZMVideoSDKRawDataPipe GetVideoPipe()
Get the user's video raw data pipe.
string GetCustomIdentity()
Get the user's custom id.
bool IsHost()
Determine whether the user is the host.
ZMVideoSDKVideoStatisticInfo GetVideoStatisticInfo()
Get the user's video statistic information.
string GetUserName()
Get the user's name.
ZMVideoSDKAudioStatus GetAudioStatus()
Get the user's audio status.
bool HasIndividualRecordingConsent()
Used to determine whether I agree to individual video recording.
string GetUserID()
Get the user's id.
ZMVideoSDKRawDataPipe GetSharePipe()
bool CanSetUserVolume(bool isShareAudio)
Determine which audio you can set, shared audio or microphone.
bool IsManager()
Determine whether the user is the manager(coHost)
float GetUserVolume(bool isSharingAudio)
Get user volume.