Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCRequestRawLiveStreamPrivilegeHandler Class Reference

Process after the host receives the requirement from the user to give the raw live stream privilege. More...

#include <MobileRTCRequestRawLiveStreamPrivilegeHandler.h>

Inherits NSObject.

Instance Methods

(NSString *_Nullable) - getRequestId
 Get the request ID.
 
(NSUInteger) - getRequesterId
 Get the user ID who requested privilege.
 
(NSString *_Nullable) - getRequesterName
 Get the user name who requested privilege.
 
(NSString *_Nullable) - getBroadcastUrl
 Get the broadcast Url.
 
(NSString *_Nullable) - getBroadcastName
 Get the broadcast name.
 
(BOOL) - grantRawLiveStreamPrivilege
 Allows the user to start raw live stream and finally self-destroy.
 
(BOOL) - denyRawLiveStreamPrivilege
 Denies the user permission to start raw live stream and finally self-destroy.
 

Detailed Description

Process after the host receives the requirement from the user to give the raw live stream privilege.

Definition at line 15 of file MobileRTCRequestRawLiveStreamPrivilegeHandler.h.

Method Documentation

◆ denyRawLiveStreamPrivilege

- (BOOL) denyRawLiveStreamPrivilege

Denies the user permission to start raw live stream and finally self-destroy.

◆ getBroadcastName

- (NSString *_Nullable) getBroadcastName

Get the broadcast name.

Returns
If the function succeeds, the return value is the broadcast name.

◆ getBroadcastUrl

- (NSString *_Nullable) getBroadcastUrl

Get the broadcast Url.

Returns
If the function succeeds, the return value is the broadcast url.

◆ getRequesterId

- (NSUInteger) getRequesterId

Get the user ID who requested privilege.

Returns
If the function succeeds, the return value is the user ID. Otherwise, this returns 0.

◆ getRequesterName

- (NSString *_Nullable) getRequesterName

Get the user name who requested privilege.

Returns
If the function succeeds, the return value is the user name.

◆ getRequestId

- (NSString *_Nullable) getRequestId

Get the request ID.

Returns
If the function succeeds, the return value is the request ID.

◆ grantRawLiveStreamPrivilege

- (BOOL) grantRawLiveStreamPrivilege

Allows the user to start raw live stream and finally self-destroy.