mute

fun mute(onCompletion: () -> Unit = {}, onError: (StorytellerError) -> Unit = {})

Mutes eligible Story or Clip playback without pausing video. Call after initialize succeeds. With no active presentation, await onCompletion before opening a Story or Clip to start silently. During presentation, enabled mute controls synchronize Stories and Clips; hidden controls limit the command to the active context. Completion runs on the main thread after current eligible media has applied the state. Ordinary persistence and later user/device mute controls remain effective.

Parameters

onCompletion

Called after the mute state is accepted and applied to current media.

onError

Called with StorytellerError.InitializationError before initialization.