Photon C++ Client API
5.0.7.3
|
Information about a remote voice (incoming stream). More...
Public Member Functions | |
RemoteVoiceInfo (int channelId, int playerId, nByte voiceId, VoiceInfo info) | |
const VoiceInfo & | getInfo (void) const |
Remote voice info. More... | |
int | getChannelId (void) const |
ID of channel used for transmission. More... | |
int | getPlayerId (void) const |
Player ID of voice owner. More... | |
nByte | getVoiceId (void) const |
Voice ID (unique in the room). More... | |
virtual Common::JString & | toString (Common::JString &retStr, bool withTypes=false) const |
virtual JString & | toString (JString &retStr, bool withTypes=false) const=0 |
JString | toString (bool withTypes=false) const |
Public Member Functions inherited from ToString | |
virtual | ~ToString (void) |
virtual JString | typeToString (void) const |
JString | toString (bool withTypes=false) const |
Information about a remote voice (incoming stream).
const VoiceInfo & getInfo | ( | void | ) | const |
Remote voice info.
int getChannelId | ( | void | ) | const |
ID of channel used for transmission.
int getPlayerId | ( | void | ) | const |
Player ID of voice owner.
nByte getVoiceId | ( | void | ) | const |
Voice ID (unique in the room).
|
virtual |
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
Implements ToString.
toString |
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
JString toString |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
withTypes | set to true, to include type information in the generated string |