Agora Java API Reference for Android
Public Member Functions | List of all members
agora::media::ISnapshotCallback Class Referenceabstract

Public Member Functions

virtual void onSnapshotTaken (const char *channel, unsigned int uid, const char *filePath, int width, int height, int errCode)=0
 snapshot taken callback More...
 

Member Function Documentation

◆ onSnapshotTaken()

virtual void agora::media::ISnapshotCallback::onSnapshotTaken ( const char *  channel,
unsigned int  uid,
const char *  filePath,
int  width,
int  height,
int  errCode 
)
pure virtual

snapshot taken callback

Parameters
channelchannel name
uiduser id
filePathimage is saveed file path
widthimage width
heightimage height
errCode0 is ok negative is error