Package 

Class AvatarViewStreamIntegration

    • Method Summary

      Modifier and Type Method Description
      final static Unit setUserData(AvatarView $self, User user, Drawable errorPlaceholder) Sets User to the AvatarView for loading image and online status.
      final static Unit setChannelData(AvatarView $self, Channel channel, Drawable errorPlaceholder) Sets Channel to the AvatarView for loading images.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.