次の方法で共有


MediaFormat.KeyIsForcedSubtitle Field

Definition

A key for the FORCED field for subtitle tracks.

[Android.Runtime.Register("KEY_IS_FORCED_SUBTITLE")]
public const string KeyIsForcedSubtitle;
[<Android.Runtime.Register("KEY_IS_FORCED_SUBTITLE")>]
val mutable KeyIsForcedSubtitle : string

Field Value

Attributes

Remarks

A key for the FORCED field for subtitle tracks. True if it is a forced subtitle track. Forced subtitle tracks are essential for the content and are shown even when the user turns off Captions. They are used for example to translate foreign/alien dialogs or signs. The associated value is an integer, where non-0 means TRUE. This is an optional field; if not specified, FORCED defaults to FALSE.

Java documentation for android.media.MediaFormat.KEY_IS_FORCED_SUBTITLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to