다음을 통해 공유


ClipData.NewIntent Method

Definition

Overloads

NewIntent(ICharSequence, Intent)

Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT.

NewIntent(String, Intent)

Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT.

NewIntent(ICharSequence, Intent)

Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT.

[Android.Runtime.Register("newIntent", "(Ljava/lang/CharSequence;Landroid/content/Intent;)Landroid/content/ClipData;", "")]
public static Android.Content.ClipData? NewIntent (Java.Lang.ICharSequence? label, Android.Content.Intent? intent);
[<Android.Runtime.Register("newIntent", "(Ljava/lang/CharSequence;Landroid/content/Intent;)Landroid/content/ClipData;", "")>]
static member NewIntent : Java.Lang.ICharSequence * Android.Content.Intent -> Android.Content.ClipData

Parameters

label
ICharSequence

User-visible label for the clip data.

intent
Intent

The actual Intent in the clip.

Returns

Returns a new ClipData containing the specified data.

Attributes

Remarks

Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT.

Java documentation for android.content.ClipData.newIntent(java.lang.CharSequence, android.content.Intent).

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

NewIntent(String, Intent)

Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT.

public static Android.Content.ClipData? NewIntent (string? label, Android.Content.Intent? intent);
static member NewIntent : string * Android.Content.Intent -> Android.Content.ClipData

Parameters

label
String

User-visible label for the clip data.

intent
Intent

The actual Intent in the clip.

Returns

Returns a new ClipData containing the specified data.

Remarks

Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT.

Java documentation for android.content.ClipData.newIntent(java.lang.CharSequence, android.content.Intent).

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