UserLocationViewStyle
data class UserLocationViewStyle(val foregroundDrawable: Int? = null, val backgroundDrawable: Int? = null, val bearingDrawable: Int? = null, @ColorInt val foregroundTintColor: Int? = null, @ColorInt val backgroundTintColor: Int? = null, @ColorInt val bearingTintColor: Int? = null, val outOfActiveLevelStyle: UserLocationViewStyle.OutOfActiveLevelStyle = OutOfActiveLevelStyle())
A data class containing information about the default User Location view style.
Constructors
Link copied to clipboard
constructor(foregroundDrawable: Int? = null, backgroundDrawable: Int? = null, bearingDrawable: Int? = null, @ColorInt foregroundTintColor: Int? = null, @ColorInt backgroundTintColor: Int? = null, @ColorInt bearingTintColor: Int? = null, outOfActiveLevelStyle: UserLocationViewStyle.OutOfActiveLevelStyle = OutOfActiveLevelStyle())
Types
Link copied to clipboard
data class OutOfActiveLevelStyle(val foregroundDrawable: Int? = null, val bearingDrawable: Int? = null, @ColorInt val foregroundTintColor: Int? = null, @ColorInt val bearingTintColor: Int? = null, @FloatRange(from = 0.0, to = 1.0) val alpha: Float = 0.5f)
A data class containing information about the User Location view style when the user is outside the current active level.
Properties
Link copied to clipboard
Defines the drawable used for the background state icon. Default is null
Link copied to clipboard
Defines the background stale color as an integer. Default is null
Link copied to clipboard
Defines the drawable used for the bearing icon. Default is null
Link copied to clipboard
Defines the bearing icon color as an integer. Default is null
Link copied to clipboard
Supply a Drawable that is to be rendered on top of all of the content. Default is null
Link copied to clipboard
Defines the foreground stale color as an integer. Default is null
Link copied to clipboard
The style containing information about the User Location view when the user is outside the current active level.