Dela via


klassdialog::ActivityReceivedEventArgs

class Dialog::ActivityReceivedEventArgs
  : public std::enable_shared_from_this< ActivityReceivedEventArgs >

Klass för aktivitetsmottagna händelseargument.

Medlemmar

DialogServiceConnector

Syntax: public friend DialogServiceConnector;

~ActivityReceivedEventArgs

Syntax: public inline ~ActivityReceivedEventArgs ( );

Släpper händelsen.

GetActivity

Syntax: public inline std::string GetActivity ( ) const;

Hämtar aktiviteten som är associerad med händelsen.

Returer

Den serialiserade aktivitetsaktiviteten.

GetAudio

Syntax: public inline std::shared_ptr< Audio::PullAudioOutputStream > GetAudio ( ) const;

Hämtar det ljud som är associerat med händelsen.

Returer

Ljudet.

HasAudio

Syntax: public inline bool HasAudio ( ) const;

Kontrollerar om händelsen innehåller ljud.

Returer

Sant om händelsen innehåller ljud, annars falskt.