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

Representing a share action, including subscription and rendering controls. More...

#include <MobileRTCMeetingService+AppShare.h>

Inherits NSObject.

Instance Methods

(void) - setShareActionDelegate:
 Set the share action delegate.
 
(UIView *_Nullable) - getActiveShareView
 Get active share view from share action.
 
(NSUInteger) - getShareID
 Get the ID of the sharing ID.
 
(NSString *_Nullable) - getSharingUserName
 Get the name of the sharing user.
 
(MobileRTCSDKError- subscribe
 Subscribe the sharing content.
 
(MobileRTCSDKError- unsubscribe
 Unsubscribe the sharing content.
 

Detailed Description

Representing a share action, including subscription and rendering controls.

Definition at line 34 of file MobileRTCMeetingService+AppShare.h.

Method Documentation

◆ getActiveShareView

- (UIView *_Nullable) getActiveShareView

Get active share view from share action.

◆ getShareID

- (NSUInteger) getShareID

Get the ID of the sharing ID.

Returns
If the function succeeds, the return value is the sharing ID. Otherwise the function fails, and the return value is ZERO (0).

◆ getSharingUserName

- (NSString *_Nullable) getSharingUserName

Get the name of the sharing user.

Returns
If the function succeeds, the return value is the name. Otherwise the function fails, and the return value is nil.

◆ setShareActionDelegate:

- (void) setShareActionDelegate: (id< MobileRTCShareActionDelegate >_Nullable) delegate

Set the share action delegate.

◆ subscribe

- (MobileRTCSDKError) subscribe

Subscribe the sharing content.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise the function fails.

◆ unsubscribe

- (MobileRTCSDKError) unsubscribe

Unsubscribe the sharing content.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise the function fails.