共用方式為


ClipDescription Constructors

Definition

Overloads

ClipDescription(ClipDescription)

Create a copy of a ClipDescription.

ClipDescription(ICharSequence, String[])

Create a new clip.

ClipDescription(IntPtr, JniHandleOwnership)

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

ClipDescription(String, String[])

Create a new clip.

ClipDescription(ClipDescription)

Create a copy of a ClipDescription.

[Android.Runtime.Register(".ctor", "(Landroid/content/ClipDescription;)V", "")]
public ClipDescription (Android.Content.ClipDescription? o);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ClipDescription;)V", "")>]
new Android.Content.ClipDescription : Android.Content.ClipDescription -> Android.Content.ClipDescription

Parameters

Attributes

Remarks

Create a copy of a ClipDescription.

Java documentation for android.content.ClipDescription.ClipDescription(android.content.ClipDescription).

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

ClipDescription(ICharSequence, String[])

Create a new clip.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;[Ljava/lang/String;)V", "")]
public ClipDescription (Java.Lang.ICharSequence? label, string[]? mimeTypes);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;[Ljava/lang/String;)V", "")>]
new Android.Content.ClipDescription : Java.Lang.ICharSequence * string[] -> Android.Content.ClipDescription

Parameters

label
ICharSequence

Label to show to the user describing this clip.

mimeTypes
String[]

An array of MIME types this data is available as.

Attributes

Remarks

Create a new clip.

Java documentation for android.content.ClipDescription.ClipDescription(java.lang.CharSequence, 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

ClipDescription(IntPtr, JniHandleOwnership)

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

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

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

ClipDescription(String, String[])

Create a new clip.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;[Ljava/lang/String;)V", "")]
public ClipDescription (string? label, string[]? mimeTypes);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;[Ljava/lang/String;)V", "")>]
new Android.Content.ClipDescription : string * string[] -> Android.Content.ClipDescription

Parameters

label
String
mimeTypes
String[]
Attributes

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