iOS SDK API Reference
Loading...
Searching...
No Matches
<MobileRTCDirectShareServiceDelegate> Protocol Reference

#import <MobileRTCDirectShareService.h>

Inherits <NSObjectNSObject>.

Instance Methods

(void) - onDirectShareStatusUpdate:handler:
 The callback event will be triggered if the status of direct sharing changes.
 

Detailed Description

Definition at line 36 of file MobileRTCDirectShareService.h.

Method Documentation

◆ onDirectShareStatusUpdate:handler:

- (void) onDirectShareStatusUpdate: (MobileRTCDirectShareStatus status
handler: (MobileRTCDirectShareViaMeetingIDOrPairingCodeHandler *_Nullable)  handler 
optional

The callback event will be triggered if the status of direct sharing changes.

Parameters
statusSpecifies the status of direct sharing. For more details, see MobileRTCDirectShareStatus.
handlerA pointer to the MobileRTCDirectShareViaMeetingIDOrPairingCodeHandler. It is only valid when the value of status is MobileRTCDirectShareStatus_Need_MeetingID_Or_PairingCode.The SDK user must set the value of the pairingCode or meetingNumber via the functions of MobileRTCDirectShareViaMeetingIDOrPairingCodeHandler to start direct sharing. For more details, see IDirectShareViaMeetingIDOrPairingCodeHandler.