Share via


ISurfaceHolder.SetType(SurfaceType) Method

Definition

Caution

deprecated

Sets the surface's type.

[Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void SetType (Android.Views.SurfaceType type);
[<Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member SetType : Android.Views.SurfaceType -> unit

Parameters

Attributes

Remarks

Sets the surface's type.

This member is deprecated. this is ignored, this value is set automatically when needed.

Java documentation for android.view.SurfaceHolder.setType(int).

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