@UnstableApi
public final class VoiceSpan


A span representing the speaker of the spanned text.

For example a WebVTT voice span.

Summary

Public fields

final String

The voice name.

Public constructors

Public methods

static VoiceSpan
Bundle

Public fields

name

public final String name

The voice name.

Public constructors

VoiceSpan

public VoiceSpan(String name)

Public methods

fromBundle

public static VoiceSpan fromBundle(Bundle bundle)

toBundle

public Bundle toBundle()