Windows SDK API Reference
Loading...
Searching...
No Matches
IDirectShareServiceHelperEvent Class Referenceabstract

Direct sharing helper callback event. More...

#include <direct_share_helper_interface.h>

Public Member Functions

virtual ~IDirectShareServiceHelperEvent ()
 
virtual void OnDirectShareStatusUpdate (DirectShareStatus status, IDirectShareViaMeetingIDOrPairingCodeHandler *handler)=0
 The callback event will be triggered if the status of direct sharing changes. More...
 
virtual void OnDirectShareSpecifyContent (IDirectShareSpecifyContentHandler *handler)=0
 

Detailed Description

Direct sharing helper callback event.

Definition at line 70 of file direct_share_helper_interface.h.

Constructor & Destructor Documentation

◆ ~IDirectShareServiceHelperEvent()

virtual IDirectShareServiceHelperEvent::~IDirectShareServiceHelperEvent ( )
inlinevirtual

Definition at line 73 of file direct_share_helper_interface.h.

73{}

Member Function Documentation

◆ OnDirectShareSpecifyContent()

virtual void IDirectShareServiceHelperEvent::OnDirectShareSpecifyContent ( IDirectShareSpecifyContentHandler handler)
pure virtual

◆ OnDirectShareStatusUpdate()

virtual void IDirectShareServiceHelperEvent::OnDirectShareStatusUpdate ( DirectShareStatus  status,
IDirectShareViaMeetingIDOrPairingCodeHandler handler 
)
pure virtual

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

Parameters
statusSpecifies the status of direct sharing. For more details, see DirectShareStatus enum.
handlerA pointer to the IDirectShareViaMeetingIDOrPairingCodeHandler. It is only valid when the value of status is DirectShare_Need_MeetingID_Or_PairingCode. The SDK user must set the value of the _paring_code or _meeting_number via the functions of IDirectShareViaMeetingIDOrPairingCodeHandler to start direct sharing. For more details, see IDirectShareViaMeetingIDOrPairingCodeHandler.