다음을 통해 공유


TextureView Constructors

Definition

Overloads

TextureView(Context)

Creates a new TextureView.

TextureView(Context, IAttributeSet)

Creates a new TextureView.

TextureView(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

TextureView(Context, IAttributeSet, Int32)

Creates a new TextureView.

TextureView(Context, IAttributeSet, Int32, Int32)

Creates a new TextureView.

TextureView(Context)

Creates a new TextureView.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public TextureView (Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Views.TextureView : Android.Content.Context -> Android.Views.TextureView

Parameters

context
Context

The context to associate this view with.

Attributes

Remarks

Creates a new TextureView.

Java documentation for android.view.TextureView.TextureView(android.content.Context).

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

TextureView(Context, IAttributeSet)

Creates a new TextureView.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public TextureView (Android.Content.Context context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.TextureView : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.TextureView

Parameters

context
Context

The context to associate this view with.

attrs
IAttributeSet

The attributes of the XML tag that is inflating the view.

Attributes

Remarks

Creates a new TextureView.

Java documentation for android.view.TextureView.TextureView(android.content.Context, android.util.AttributeSet).

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

TextureView(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected TextureView (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.TextureView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.TextureView

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

TextureView(Context, IAttributeSet, Int32)

Creates a new TextureView.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public TextureView (Android.Content.Context context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Views.TextureView : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Views.TextureView

Parameters

context
Context

The context to associate this view with.

attrs
IAttributeSet

The attributes of the XML tag that is inflating the view.

defStyleAttr
Int32

An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.

Attributes

Remarks

Creates a new TextureView.

Java documentation for android.view.TextureView.TextureView(android.content.Context, android.util.AttributeSet, 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

TextureView(Context, IAttributeSet, Int32, Int32)

Creates a new TextureView.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public TextureView (Android.Content.Context context, Android.Util.IAttributeSet? attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")>]
new Android.Views.TextureView : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Views.TextureView

Parameters

context
Context

The context to associate this view with.

attrs
IAttributeSet

The attributes of the XML tag that is inflating the view.

defStyleAttr
Int32

An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.

defStyleRes
Int32

A resource identifier of a style resource that supplies default values for the view, used only if defStyleAttr is 0 or can not be found in the theme. Can be 0 to not look for defaults.

Attributes

Remarks

Creates a new TextureView.

Java documentation for android.view.TextureView.TextureView(android.content.Context, android.util.AttributeSet, int, 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