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

Callback event of direct share. More...

#include <MobileRTCDirectShareService.h>

Inherits <NSObjectNSObject>.

Instance Methods

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

Detailed Description

Callback event of direct share.

Definition at line 38 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.
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.