Megosztás a következőn keresztül:


LabeledIntent Constructors

Definition

Overloads

LabeledIntent(IntPtr, JniHandleOwnership)

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

LabeledIntent(String, ICharSequence, Int32)

Create a labeled intent with no intent data but supplying a textual label and icon resource for it.

LabeledIntent(String, Int32, Int32)

Create a labeled intent with no intent data but supplying the label and icon resources for it.

LabeledIntent(String, String, Int32)

Create a labeled intent with no intent data but supplying a textual label and icon resource for it.

LabeledIntent(Intent, String, ICharSequence, Int32)

Create a labeled intent from the given intent, supplying a textual label and icon resource for it.

LabeledIntent(Intent, String, Int32, Int32)

Create a labeled intent from the given intent, supplying the label and icon resources for it.

LabeledIntent(Intent, String, String, Int32)

Create a labeled intent from the given intent, supplying a textual label and icon resource for it.

LabeledIntent(IntPtr, JniHandleOwnership)

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

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

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

LabeledIntent(String, ICharSequence, Int32)

Create a labeled intent with no intent data but supplying a textual label and icon resource for it.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")]
public LabeledIntent (string? sourcePackage, Java.Lang.ICharSequence? nonLocalizedLabel, int icon);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")>]
new Android.Content.PM.LabeledIntent : string * Java.Lang.ICharSequence * int -> Android.Content.PM.LabeledIntent

Parameters

sourcePackage
String

The package in which the label and icon live.

nonLocalizedLabel
ICharSequence

Concrete text to use for the label.

icon
Int32

Resource containing the icon, or 0 if none.

Attributes

Remarks

Create a labeled intent with no intent data but supplying a textual label and icon resource for it.

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

LabeledIntent(String, Int32, Int32)

Create a labeled intent with no intent data but supplying the label and icon resources for it.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "")]
public LabeledIntent (string? sourcePackage, int labelRes, int icon);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "")>]
new Android.Content.PM.LabeledIntent : string * int * int -> Android.Content.PM.LabeledIntent

Parameters

sourcePackage
String

The package in which the label and icon live.

labelRes
Int32

Resource containing the label, or 0 if none.

icon
Int32

Resource containing the icon, or 0 if none.

Attributes

Remarks

Create a labeled intent with no intent data but supplying the label and icon resources for it.

Java documentation for android.content.pm.LabeledIntent.LabeledIntent(java.lang.String, 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

LabeledIntent(String, String, Int32)

Create a labeled intent with no intent data but supplying a textual label and icon resource for it.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")]
public LabeledIntent (string? sourcePackage, string? nonLocalizedLabel, int icon);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")>]
new Android.Content.PM.LabeledIntent : string * string * int -> Android.Content.PM.LabeledIntent

Parameters

sourcePackage
String
nonLocalizedLabel
String
icon
Int32
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

LabeledIntent(Intent, String, ICharSequence, Int32)

Create a labeled intent from the given intent, supplying a textual label and icon resource for it.

[Android.Runtime.Register(".ctor", "(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")]
public LabeledIntent (Android.Content.Intent? origIntent, string? sourcePackage, Java.Lang.ICharSequence? nonLocalizedLabel, int icon);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")>]
new Android.Content.PM.LabeledIntent : Android.Content.Intent * string * Java.Lang.ICharSequence * int -> Android.Content.PM.LabeledIntent

Parameters

origIntent
Intent

The original Intent to copy.

sourcePackage
String

The package in which the label and icon live.

nonLocalizedLabel
ICharSequence

Concrete text to use for the label.

icon
Int32

Resource containing the icon, or 0 if none.

Attributes

Remarks

Create a labeled intent from the given intent, supplying a textual label and icon resource for it.

Java documentation for android.content.pm.LabeledIntent.LabeledIntent(android.content.Intent, java.lang.String, java.lang.CharSequence, 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

LabeledIntent(Intent, String, Int32, Int32)

Create a labeled intent from the given intent, supplying the label and icon resources for it.

[Android.Runtime.Register(".ctor", "(Landroid/content/Intent;Ljava/lang/String;II)V", "")]
public LabeledIntent (Android.Content.Intent? origIntent, string? sourcePackage, int labelRes, int icon);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Intent;Ljava/lang/String;II)V", "")>]
new Android.Content.PM.LabeledIntent : Android.Content.Intent * string * int * int -> Android.Content.PM.LabeledIntent

Parameters

origIntent
Intent

The original Intent to copy.

sourcePackage
String

The package in which the label and icon live.

labelRes
Int32

Resource containing the label, or 0 if none.

icon
Int32

Resource containing the icon, or 0 if none.

Attributes

Remarks

Create a labeled intent from the given intent, supplying the label and icon resources for it.

Java documentation for android.content.pm.LabeledIntent.LabeledIntent(android.content.Intent, java.lang.String, 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

LabeledIntent(Intent, String, String, Int32)

Create a labeled intent from the given intent, supplying a textual label and icon resource for it.

[Android.Runtime.Register(".ctor", "(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")]
public LabeledIntent (Android.Content.Intent? origIntent, string? sourcePackage, string? nonLocalizedLabel, int icon);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/CharSequence;I)V", "")>]
new Android.Content.PM.LabeledIntent : Android.Content.Intent * string * string * int -> Android.Content.PM.LabeledIntent

Parameters

origIntent
Intent
sourcePackage
String
nonLocalizedLabel
String
icon
Int32
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