다음을 통해 공유


ClipData Constructors

Definition

Overloads

ClipData(ClipData)

Create a new clip that is a copy of another clip.

ClipData(ClipDescription, ClipData+Item)

Create a new clip that is a copy of another clip.

ClipData(IntPtr, JniHandleOwnership)

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

ClipData(ICharSequence, String[], ClipData+Item)

Create a new clip that is a copy of another clip.

ClipData(String, String[], ClipData+Item)

Create a new clip.

ClipData(ClipData)

Create a new clip that is a copy of another clip.

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

Parameters

other
ClipData

The existing ClipData that is to be copied.

Attributes

Remarks

Create a new clip that is a copy of another clip. This does a deep-copy of all items in the clip.

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

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

ClipData(ClipDescription, ClipData+Item)

Create a new clip that is a copy of another clip.

[Android.Runtime.Register(".ctor", "(Landroid/content/ClipDescription;Landroid/content/ClipData$Item;)V", "")]
public ClipData (Android.Content.ClipDescription? description, Android.Content.ClipData.Item? item);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ClipDescription;Landroid/content/ClipData$Item;)V", "")>]
new Android.Content.ClipData : Android.Content.ClipDescription * Android.Content.ClipData.Item -> Android.Content.ClipData

Parameters

description
ClipDescription
Attributes

Remarks

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

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

ClipData(IntPtr, JniHandleOwnership)

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

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

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

ClipData(ICharSequence, String[], ClipData+Item)

Create a new clip that is a copy of another clip.

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

Parameters

mimeTypes
String[]
Attributes

Remarks

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

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

ClipData(String, String[], ClipData+Item)

Create a new clip.

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

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