Unity Video SDK API Reference Documentation
Loading...
Searching...
No Matches
ZMVideoSDKSession Class Reference

Session instance object See ZMVideoSDK#JoinSession(ZMVideoSDKSessionContext). More...

Public Member Functions

ulong GetSessionNumber ()
 Get the current session number.
 
string GetSessionName ()
 Get the session name.
 
string GetSessionPassword ()
 Get the session's password.
 
string GetSessionPhonePasscode ()
 Get the session phone passcode.
 
string GetSessionID ()
 Get the session ID.
 
string GetSessionHostName ()
 Get the host's name.
 
ZMVideoSDKUser GetSessionHost ()
 Get the session's host user object.
 
List< ZMVideoSDKUserGetRemoteUsers ()
 Get a list of the session's remote users.
 
ZMVideoSDKUser GetMySelf ()
 Get the session's user object for myself.
 
ZMVideoSDKSessionAudioStatisticInfo GetSessionAudioStatisticInfo ()
 Get session's audio statistic information.
 
ZMVideoSDKSessionASVStatisticInfo GetSessionVideoStatisticInfo ()
 Get session's Video statistic information.
 
ZMVideoSDKSessionASVStatisticInfo GetSessionShareStatisticInfo ()
 Get session's Video statistic information.
 

Detailed Description

Session instance object See ZMVideoSDK#JoinSession(ZMVideoSDKSessionContext).

Definition at line 7 of file ZMVideoSDKSession.cs.

Member Function Documentation

◆ GetMySelf()

ZMVideoSDKUser ZMVideoSDKSession.GetMySelf ( )
inline

Get the session's user object for myself.

Returns
If the function succeeds, the return value is myself object. Otherwise returns NULL.

Definition at line 112 of file ZMVideoSDKSession.cs.

113 {
114 return _videoSDKSession.GetMySelf();
115 }

◆ GetRemoteUsers()

List< ZMVideoSDKUser > ZMVideoSDKSession.GetRemoteUsers ( )
inline

Get a list of the session's remote users.

Returns
If the function succeeds, the return value is remote users list. Otherwise returns NULL.

Definition at line 103 of file ZMVideoSDKSession.cs.

104 {
105 return _videoSDKSession.GetRemoteUsers();
106 }

◆ GetSessionAudioStatisticInfo()

ZMVideoSDKSessionAudioStatisticInfo ZMVideoSDKSession.GetSessionAudioStatisticInfo ( )
inline

Get session's audio statistic information.

Returns
If the function succeeds, the return value is audio statistic info object. Otherwise returns NULL.

Definition at line 121 of file ZMVideoSDKSession.cs.

122 {
123 return _videoSDKSession.GetSessionAudioStatisticInfo();
124 }

◆ GetSessionHost()

ZMVideoSDKUser ZMVideoSDKSession.GetSessionHost ( )
inline

Get the session's host user object.

Returns
If the function succeeds, the return value is session host user object. Otherwise returns NULL.

Definition at line 94 of file ZMVideoSDKSession.cs.

95 {
96 return _videoSDKSession.GetSessionHost();
97 }

◆ GetSessionHostName()

string ZMVideoSDKSession.GetSessionHostName ( )
inline

Get the host's name.

Returns
If the function succeeds, the return value is session host name. Otherwise returns NULL.

Definition at line 85 of file ZMVideoSDKSession.cs.

86 {
87 return _videoSDKSession.GetSessionHostName();
88 }

◆ GetSessionID()

string ZMVideoSDKSession.GetSessionID ( )
inline

Get the session ID.

Returns
If the function succeeds, the return value is session ID. Otherwise returns NULL.
Remarks
This interface is only valid for the host.

Definition at line 76 of file ZMVideoSDKSession.cs.

77 {
78 return _videoSDKSession.GetSessionID();
79 }

◆ GetSessionName()

string ZMVideoSDKSession.GetSessionName ( )
inline

Get the session name.

Returns
If the function succeeds, the return value is session name. Otherwise returns NULL.

Definition at line 48 of file ZMVideoSDKSession.cs.

49 {
50 return _videoSDKSession.GetSessionName();
51 }

◆ GetSessionNumber()

ulong ZMVideoSDKSession.GetSessionNumber ( )
inline

Get the current session number.

Returns
If the function succeeds, the return value is the current session number. Otherwise returns ZERO(0).

Definition at line 39 of file ZMVideoSDKSession.cs.

40 {
41 return _videoSDKSession.GetSessionNumber();
42 }

◆ GetSessionPassword()

string ZMVideoSDKSession.GetSessionPassword ( )
inline

Get the session's password.

Returns
If the function succeeds, the return value is session password. Otherwise returns NULL.

Definition at line 57 of file ZMVideoSDKSession.cs.

58 {
59 return _videoSDKSession.GetSessionPassword();
60 }

◆ GetSessionPhonePasscode()

string ZMVideoSDKSession.GetSessionPhonePasscode ( )
inline

Get the session phone passcode.

Returns
If the function succeeds, the return value is session phone passcode. Otherwise returns NULL.

Definition at line 66 of file ZMVideoSDKSession.cs.

67 {
68 return _videoSDKSession.GetSessionPhonePasscode();
69 }

◆ GetSessionShareStatisticInfo()

ZMVideoSDKSessionASVStatisticInfo ZMVideoSDKSession.GetSessionShareStatisticInfo ( )
inline

Get session's Video statistic information.

Returns
If the function succeeds, the return value is session share statistic info object. Otherwise returns NULL.

Definition at line 139 of file ZMVideoSDKSession.cs.

140 {
141 return _videoSDKSession.GetSessionShareStatisticInfo();
142 }

◆ GetSessionVideoStatisticInfo()

ZMVideoSDKSessionASVStatisticInfo ZMVideoSDKSession.GetSessionVideoStatisticInfo ( )
inline

Get session's Video statistic information.

Returns
If the function succeeds, the return value is session video statistic info object. Otherwise returns NULL.

Definition at line 130 of file ZMVideoSDKSession.cs.

131 {
132 return _videoSDKSession.GetSessionVideoStatisticInfo();
133 }