Udostępnij za pośrednictwem


SurfaceView.SurfaceLifecycleDefault Field

Definition

Caution

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

Default lifecycle of the Surface owned by this SurfaceView.

[Android.Runtime.Register("SURFACE_LIFECYCLE_DEFAULT", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.SurfaceViewLifecycle enum directly instead of this field.", true)]
public const Android.Views.SurfaceViewLifecycle SurfaceLifecycleDefault = 0;
[<Android.Runtime.Register("SURFACE_LIFECYCLE_DEFAULT", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.SurfaceViewLifecycle enum directly instead of this field.", true)>]
val mutable SurfaceLifecycleDefault : Android.Views.SurfaceViewLifecycle

Field Value

Value = 0
Attributes

Remarks

Default lifecycle of the Surface owned by this SurfaceView.

The default lifecycle matches #SURFACE_LIFECYCLE_FOLLOWS_VISIBILITY.

Java documentation for android.view.SurfaceView.SURFACE_LIFECYCLE_DEFAULT.

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