VIPayload

Interface that represent message payload format.

Members
data

Payload data

@property (nonatomic, strong) NSObject *data
title

Payload fragment unique title. Used to identifier fragment in the list of fragments associated with the message

@property (nonatomic, strong) NSString *title
type

Arbitrary payload type

@property (nonatomic, strong) NSString *type
–  init

Warning: NS_UNAVAILABLE

- (instancetype)init
–  initWithTitle:type:dataString:

Initialize VIPayload with NSString

- (instancetype)initWithTitle:(NSString *)title type:(NSString *)type dataString:(NSString *)dataString
Parameters
title

Payload fragment unique title.

type

Arbitrary payload type

dataString

Payload data string

Return

VIPayload instance

–  initWithTitle:type:dataDictionary:

Initialize VIPayload with NSDictionary

- (instancetype)initWithTitle:(NSString *)title type:(NSString *)type dataDictionary:(NSDictionary *)dataDictionary
Parameters
title

Payload fragment unique title.

type

Arbitrary payload type

dataDictionary

Payload data disctionary

Return

VIPayload instance

–  initWithTitle:type:dataArray:

Initialize VIPayload with NSArray

- (instancetype)initWithTitle:(NSString *)title type:(NSString *)type dataArray:(NSArray *)dataArray
Parameters
title

Payload fragment unique title.

type

Arbitrary payload type

dataArray

Payload data array

Return

VIPayload instance