public interface OobIncomingMessageHandler extends OobMessageHandler
Modifier and Type | Method and Description |
---|---|
OobIncomingMessage |
deserialize(String mimeType,
byte[] content)
Parse incoming message from byte array into
OobIncomingMessage
object. |
OobIncomingMessage deserialize(String mimeType, byte[] content) throws OobException
OobIncomingMessage
object.
The following fields will be handled by the SDK. Application developer
only needs to provided the getter inside your custom message object.
mimeType
- MIME type of the message.content
- content of the message in byte array.OobException
- Exception thrown while parsing fails.