Share via


AsyncPlayer Constructors

Definition

Overloads

AsyncPlayer(String)

Construct an AsyncPlayer object.

AsyncPlayer(IntPtr, JniHandleOwnership)

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

AsyncPlayer(String)

Construct an AsyncPlayer object.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public AsyncPlayer (string? tag);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Media.AsyncPlayer : string -> Android.Media.AsyncPlayer

Parameters

tag
String

a string to use for debugging

Attributes

Remarks

Construct an AsyncPlayer object.

Java documentation for android.media.AsyncPlayer.AsyncPlayer(java.lang.String).

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

AsyncPlayer(IntPtr, JniHandleOwnership)

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

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

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