-
-
Field Summary
Fields Modifier and Type Field Description private Member.Role
role
-
Method Summary
Modifier and Type Method Description Member.Role
getRole()
Returns the role of this sender in the current channel. boolean
isBlockedByMe()
Checks if this sender is blocked by me. String
toString()
static Sender
buildFromSerializedData(Array<byte> data)
Builds Sender
instance from serialized data generated by serialize.Array<byte>
serialize()
Serializes the Sender
instance.-
Methods inherited from class com.sendbird.android.User
buildFromSerializedData, createMetaData, deleteAllMetaData, deleteMetaData, equals, getConnectionStatus, getFriendDiscoveryKey, getFriendName, getLastSeenAt, getMetaData, getMetaData, getNickname, getOriginalProfileUrl, getPlainProfileImageUrl, getPreferredLanguages, getProfileUrl, getUserId, hashCode, isActive, updateMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRole
Member.Role getRole()
Returns the role of this sender in the current channel. Refer to com.sendbird.android.Member.Role.
If the sender's role status changes after the field value allocation, the value returned bythis method may not reflect the latest role.
-
isBlockedByMe
boolean isBlockedByMe()
Checks if this sender is blocked by me.
-
buildFromSerializedData
static Sender buildFromSerializedData(Array<byte> data)
Builds
Sender
instance from serialized data generated by serialize.- Parameters:
data
- SerializedSender
data.
-
serialize
Array<byte> serialize()
Serializes the
Sender
instance. This byte array can be stored in the databasein your application. The instance can be restored by buildFromSerializedData.
-
-
-
-