Language

PackageManager.GetReceiverInfo Method

Definition

Overloads

Name Description
GetReceiverInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular receiver class.

GetReceiverInfo(ComponentName, PackageManager+ComponentInfoFlags)

See getReceiverInfo(ComponentName,int).

GetReceiverInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular receiver class.

[Android.Runtime.Register("getReceiverInfo", "(Landroid/content/ComponentName;I)Landroid/content/pm/ActivityInfo;", "GetGetReceiverInfo_Landroid_content_ComponentName_IHandler")]
public abstract Android.Content.PM.ActivityInfo GetReceiverInfo(Android.Content.ComponentName component, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getReceiverInfo", "(Landroid/content/ComponentName;I)Landroid/content/pm/ActivityInfo;", "GetGetReceiverInfo_Landroid_content_ComponentName_IHandler")>]
abstract member GetReceiverInfo : Android.Content.ComponentName * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.ActivityInfo

Parameters

component
ComponentName

The full component name (i.e. com.google.apps.calendar/com.google.apps.calendar. CalendarAlarm) of a Receiver class.

flags
PackageInfoFlags

Additional option flags to modify the data returned.

Returns

An ActivityInfo containing information about the receiver.

Attributes

Exceptions

Remarks

Retrieve all of the information we know about a particular receiver class.

Use #getReceiverInfo(ComponentName, ComponentInfoFlags) when long flags are needed.

Java documentation for android.content.pm.PackageManager.getReceiverInfo(android.content.ComponentName, 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

GetReceiverInfo(ComponentName, PackageManager+ComponentInfoFlags)

See getReceiverInfo(ComponentName,int).

[Android.Runtime.Register("getReceiverInfo", "(Landroid/content/ComponentName;Landroid/content/pm/PackageManager$ComponentInfoFlags;)Landroid/content/pm/ActivityInfo;", "GetGetReceiverInfo_Landroid_content_ComponentName_Landroid_content_pm_PackageManager_ComponentInfoFlags_Handler", ApiSince=33)]
public virtual Android.Content.PM.ActivityInfo GetReceiverInfo(Android.Content.ComponentName component, Android.Content.PM.PackageManager.ComponentInfoFlags flags);
[<Android.Runtime.Register("getReceiverInfo", "(Landroid/content/ComponentName;Landroid/content/pm/PackageManager$ComponentInfoFlags;)Landroid/content/pm/ActivityInfo;", "GetGetReceiverInfo_Landroid_content_ComponentName_Landroid_content_pm_PackageManager_ComponentInfoFlags_Handler", ApiSince=33)>]
abstract member GetReceiverInfo : Android.Content.ComponentName * Android.Content.PM.PackageManager.ComponentInfoFlags -> Android.Content.PM.ActivityInfo
override this.GetReceiverInfo : Android.Content.ComponentName * Android.Content.PM.PackageManager.ComponentInfoFlags -> Android.Content.PM.ActivityInfo

Parameters

component
ComponentName

Returns

Attributes

Remarks

See getReceiverInfo(ComponentName,int).

Android reference for android.content.pm.PackageManager.getReceiverInfo.

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