muteAndExtend

fun muteAndExtend(duration: Long, text: String = context.getString(R.string.mapbox_muted)): Boolean

Invoke the function to mute and show optional text associated with the action.

Return

true representing that view is in muted state.

Parameters

duration

for the view to be in the extended mode before it starts to shrink.

text

for the view to show in the extended mode.