BlazeMomentsPlayerFollowEntityStyle

The BlazeMomentsPlayerFollowEntityStyle class represents the complete style configuration for the follow entity component in the moments player. This component displays an entity avatar with a follow/unfollow button, allowing viewers to follow or unfollow entities (teams, players, properties) associated with the content. The component supports flexible styling that adapts to both followed and unfollowed states.

Properties

isVisible

var isVisible: Boolean

Controls whether the follow entity component is visible in the player.

When false, the entire follow component will be hidden from the UI.

When true, the component will be displayed according to the follow state.

Defaults to true starting with Android SDK 1.21.2, so the component shows without extra styling. Set isVisible = false to hide it. The component shows only for an entity that has a follow image. See Follow button for Moments.

followState

var followState: BlazeMomentsPlayerFollowEntityStateStyle

The style configuration used when the entity is in the followed state.

unfollowState

var unfollowState: BlazeMomentsPlayerFollowEntityStateStyle

The style configuration used when the entity is in the unfollowed state.

entityType

var entityType: BlazeFollowEntityType

The type of entity that this follow component represents. This determines the matching logic and fallback behavior.


Did this page help you?