Partager via


MediaCodecInfo.IsSoftwareOnly Property

Definition

Query if the codec is software only.

public bool IsSoftwareOnly { [Android.Runtime.Register("isSoftwareOnly", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isSoftwareOnly", "()Z", "", ApiSince=29)>]
member this.IsSoftwareOnly : bool

Property Value

Attributes

Remarks

Query if the codec is software only. Software-only codecs are more secure as they run in a tighter security sandbox. On the other hand, software-only codecs do not provide any performance guarantees.

Java documentation for android.media.MediaCodecInfo.isSoftwareOnly().

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