NIMCustomAttachmentCoding Protocol Reference

Conforms to NSObject
Declared in NIMCustomObject.h

Overview

Custom messages attachment serialization

– decodeAttachment: required method

Unserialization

- (nullable id<NIMCustomAttachment>)decodeAttachment:(nullable NSString *)content

Parameters

content

the custom message delivered in pass-through mode

Return Value

custom message attachment

Discussion

Unserialization

Declared In

NIMCustomObject.h