Class WebRTCDataChannelMessageReceivedEventArgs

Definition

Namespace:
Tizen.Multimedia.Remoting
Assembly:
Tizen.Multimedia.Remoting.dll

Provides data for the MessageReceived event.

C#
Copy
public class WebRTCDataChannelMessageReceivedEventArgs : EventArgs
Inheritance
object
System.EventArgs
WebRTCDataChannelMessageReceivedEventArgs

Properties

View Source

Data

Gets the byte data from remote peer.

Declaration
C#
Copy
public byte[] Data { get; }
Property Value
Type Description
byte[]

The message.

Remarks

If Type is Strings, this property is null.

View Source

Message

Gets the string message from remote peer.

Declaration
C#
Copy
public string Message { get; }
Property Value
Type Description
string

The message.

Remarks

If Type is Bytes, this property is null.

View Source

Type

Gets the data channel type.

Declaration
C#
Copy
public DataChannelType Type { get; }
Property Value
Type Description
DataChannelType

The data channel type.

Methods

View Source

ToString()

Returns a string that represents the current object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()