set State And Extend
@UiThread()
@JvmOverloads()
Content copied to clipboard
Update this button to represent new camera state. Extend button for the duration and show followingText or overviewText. This method does nothing if button is already in given state.
Parameters
state
new camera state.
duration
duration in milliseconds. Defaults to EXTEND_DURATION.