Unity Video SDK API Reference Documentation
Loading...
Searching...
No Matches
ZMVideoSDKSession.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
7public class ZMVideoSDKSession
8{
9#if UNITY_STANDALONE_OSX
10 private MacZMVideoSDKSession _videoSDKSession = null;
11 public ZMVideoSDKSession(MacZMVideoSDKSession videoSDKSession)
12 {
13 _videoSDKSession = videoSDKSession;
14 }
15#elif UNITY_IOS
16 private IOSZMVideoSDKSession _videoSDKSession = null;
17 public ZMVideoSDKSession(IOSZMVideoSDKSession videoSDKSession)
18 {
19 _videoSDKSession = videoSDKSession;
20 }
21#elif UNITY_ANDROID
22 private AndroidZoomVideoSDKSession _videoSDKSession = null;
23 public ZMVideoSDKSession(AndroidZoomVideoSDKSession videoSDKSession)
24 {
25 _videoSDKSession = videoSDKSession;
26 }
27#elif UNITY_STANDALONE_WIN
28 private WindowsZoomVideoSDKSession _videoSDKSession = null;
29 public ZMVideoSDKSession(WindowsZoomVideoSDKSession videoSDKSession)
30 {
31 _videoSDKSession = videoSDKSession;
32 }
33#endif
39 public ulong GetSessionNumber()
40 {
41 return _videoSDKSession.GetSessionNumber();
42 }
43
48 public string GetSessionName()
49 {
50 return _videoSDKSession.GetSessionName();
51 }
52
57 public string GetSessionPassword()
58 {
59 return _videoSDKSession.GetSessionPassword();
60 }
61
67 {
68 return _videoSDKSession.GetSessionPhonePasscode();
69 }
70
76 public string GetSessionID()
77 {
78 return _videoSDKSession.GetSessionID();
79 }
80
85 public string GetSessionHostName()
86 {
87 return _videoSDKSession.GetSessionHostName();
88 }
89
95 {
96 return _videoSDKSession.GetSessionHost();
97 }
98
103 public List<ZMVideoSDKUser> GetRemoteUsers()
104 {
105 return _videoSDKSession.GetRemoteUsers();
106 }
107
113 {
114 return _videoSDKSession.GetMySelf();
115 }
116
122 {
123 return _videoSDKSession.GetSessionAudioStatisticInfo();
124 }
125
131 {
132 return _videoSDKSession.GetSessionVideoStatisticInfo();
133 }
134
140 {
141 return _videoSDKSession.GetSessionShareStatisticInfo();
142 }
143}
Session instance object See ZMVideoSDK#JoinSession(ZMVideoSDKSessionContext).
ZMVideoSDKSessionASVStatisticInfo GetSessionVideoStatisticInfo()
Get session's Video statistic information.
string GetSessionPassword()
Get the session's password.
string GetSessionID()
Get the session ID.
string GetSessionHostName()
Get the host's name.
ZMVideoSDKSessionASVStatisticInfo GetSessionShareStatisticInfo()
Get session's Video statistic information.
ZMVideoSDKUser GetMySelf()
Get the session's user object for myself.
string GetSessionPhonePasscode()
Get the session phone passcode.
List< ZMVideoSDKUser > GetRemoteUsers()
Get a list of the session's remote users.
string GetSessionName()
Get the session name.
ZMVideoSDKUser GetSessionHost()
Get the session's host user object.
ulong GetSessionNumber()
Get the current session number.
ZMVideoSDKSessionAudioStatisticInfo GetSessionAudioStatisticInfo()
Get session's audio statistic information.
Zoom Video SDK user information.