-
public final class AvatarViewStreamIntegration
-
-
Method Summary
Modifier and Type Method Description final static UnitsetUserData(AvatarView $self, User user, Drawable errorPlaceholder)Sets User to the AvatarView for loading image and online status. final static UnitsetChannelData(AvatarView $self, Channel channel, Drawable errorPlaceholder)Sets Channel to the AvatarView for loading images. -
-
Method Detail
-
setUserData
final static Unit setUserData(AvatarView $self, User user, Drawable errorPlaceholder)
Sets User to the AvatarView for loading image and online status.
- Parameters:
user- The User model of the Stream SDK.errorPlaceholder- An error placeholder that should be shown when request failed.
-
setChannelData
final static Unit setChannelData(AvatarView $self, Channel channel, Drawable errorPlaceholder)
Sets Channel to the AvatarView for loading images.
- Parameters:
channel- A Channel model of the Stream SDK.errorPlaceholder- An error placeholder that should be shown when request failed.
-
-
-
-