public final class Plugin
extends java.lang.Object
UserMessage
.Modifier and Type | Method and Description |
---|---|
static Plugin |
buildFromSerializedData(byte[] data)
Builds
Plugin instance from serialized data generated by serialize() . |
java.util.Map<java.lang.String,java.lang.String> |
getDetail()
Returns the detail of this plugin.
|
java.lang.String |
getType()
Returns the type of this plugin.
|
java.lang.String |
getVendor()
Returns the vendor of this plugin
|
byte[] |
serialize()
Serializes the
Plugin instance. |
java.lang.String |
toString() |
public java.lang.String getVendor()
public java.lang.String getType()
public java.util.Map<java.lang.String,java.lang.String> getDetail()
Collections.unmodifiableMap(Map)
.public static Plugin buildFromSerializedData(byte[] data)
Plugin
instance from serialized data generated by serialize()
.data
- Serialized Plugin
data.Plugin
instance.public byte[] serialize()
Plugin
instance. This byte array can be stored in the database in your application.
The instance can be restored by buildFromSerializedData(byte[])
.Plugin
data.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.