Class DataPayload
Definition
- Namespace:
- Tizen.Applications.Cion
- Assembly:
- Tizen.Applications.Cion.dll
A class to represent data type payload.
public class DataPayload : Payload
- Inheritance
Constructors
View SourceDataPayload(byte[])
The constructor of DataPayload class.
Declaration
public DataPayload(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
byte[] | data | The data of payload. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when the input data is invalid. |
Properties
View SourceData
Gets data of the payload.
Declaration
public byte[] Data { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
PayloadType
Gets type of the payload.
Declaration
public override PayloadType PayloadType { get; }
Property Value
Type | Description |
---|---|
PayloadType |