Freigeben über


MediaCodec.ConfigureFlagDetachedSurface Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaCodecConfigFlags enum directly instead of this field.

Configure the codec with a detached output surface.

[Android.Runtime.Register("CONFIGURE_FLAG_DETACHED_SURFACE", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecConfigFlags enum directly instead of this field.", true)]
public const Android.Media.MediaCodecConfigFlags ConfigureFlagDetachedSurface = 8;
[<Android.Runtime.Register("CONFIGURE_FLAG_DETACHED_SURFACE", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecConfigFlags enum directly instead of this field.", true)>]
val mutable ConfigureFlagDetachedSurface : Android.Media.MediaCodecConfigFlags

Field Value

Value = 8
Attributes

Remarks

Configure the codec with a detached output surface.

This flag is only defined for a video decoder. MediaCodec configured with this flag will be in Surface mode even though the surface parameter is null.

Java documentation for android.media.MediaCodec.CONFIGURE_FLAG_DETACHED_SURFACE.

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