ISurfaceHolder.SetType(SurfaceType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- type
- SurfaceType
- 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.