transitionToFollowPuckState

fun transitionToFollowPuckState(followPuckViewportStateOptions: FollowPuckViewportStateOptions, defaultTransitionOptions: DefaultViewportTransitionOptions = DefaultViewportTransitionOptions.Builder() .build(), completionListener: CompletionListener? = null)

Transition to a new FollowPuckViewportState.

Parameters

followPuckViewportStateOptions

the target FollowPuckViewportStateOptions to transition to

defaultTransitionOptions

the defaultTransitionOptions for the transition

completionListener

the optional CompletionListener to observe the completion if the transition