Class DataPayload

Definition

Namespace:
Tizen.Applications.Cion
Assembly:
Tizen.Applications.Cion.dll
API Level:
9

A class to represent data type payload.

C#
Copy
public class DataPayload : Payload
Inheritance
System.Object
DataPayload

Constructors

View Source

DataPayload(Byte[])

The constructor of DataPayload class.

Declaration
C#
Copy
public DataPayload(byte[] data)
Parameters
Type Name Description
System.Byte[] data

The data of payload.

Exceptions
Type Condition
System.ArgumentException

Thrown when the input data is invalid.

API Level: 9

Properties

View Source

Data

Gets data of the payload.

Declaration
C#
Copy
public byte[] Data { get; set; }
Property Value
Type Description
System.Byte[]
API Level: 9
View Source

PayloadType

Gets type of the payload.

Declaration
C#
Copy
public override PayloadType PayloadType { get; }
Property Value
Type Description
PayloadType
Overrides
API Level: 9