Intent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An intent is an abstract description of an operation to be performed.
[Android.Runtime.Register("android/content/Intent", DoNotGenerateAcw=true)]
public class Intent : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable, Java.Lang.ICloneable
[<Android.Runtime.Register("android/content/Intent", DoNotGenerateAcw=true)>]
type Intent = class
inherit Object
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
interface ICloneable
- Inheritance
- Derived
- Attributes
- Implements
Remarks
Android platform documentation
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.
Constructors
| Intent() |
Create an empty intent. |
| Intent(Context, Class) |
Create an intent for a specific component. |
| Intent(Context, Type) | |
| Intent(Intent) |
Copy constructor. |
| Intent(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| Intent(String) |
Create an intent with a given action. |
| Intent(String, Uri) |
Create an intent with a given action and for a given data url. |
| Intent(String, Uri, Context, Class) |
Create an intent for a specific component with a specified action and data. |
| Intent(String, Uri, Context, Type) | |
Fields
| ActionAirplaneModeChanged |
Broadcast Action: The user has switched the phone into or out of Airplane Mode. |
| ActionAllApps |
Activity Action: List all available applications. |
| ActionAnswer |
Activity Action: Handle an incoming phone call. |
| ActionAppError |
Activity Action: The user pressed the "Report" button in the crash/ANR dialog. |
| ActionApplicationPreferences |
An activity that provides a user interface for adjusting application preferences. |
| ActionApplicationRestrictionsChanged |
Broadcast Action: Sent after application restrictions are changed. |
| ActionAssist |
Activity Action: Perform assist action. |
| ActionAttachData |
Used to indicate that some piece of data should be attached to some other place. |
| ActionAutoRevokePermissions |
Activity action: Launch UI to manage auto-revoke state. |
| ActionBatteryChanged |
Broadcast Action: This is a <em>sticky broadcast</em> containing the charging state, level, and other information about the battery. |
| ActionBatteryLow |
Broadcast Action: Indicates low battery condition on the device. |
| ActionBatteryOkay |
Broadcast Action: Indicates the battery is now okay after being low. |
| ActionBootCompleted |
Broadcast Action: This is broadcast once, after the user has finished booting. |
| ActionBugReport |
Activity Action: Show activity for reporting a bug. |
| ActionCall |
Activity Action: Perform a call to someone specified by the data. |
| ActionCallButton |
Activity Action: The user pressed the "call" button to go to the dialer or other appropriate UI for placing a call. |
| ActionCameraButton |
Broadcast Action: The "Camera Button" was pressed. |
| ActionCarrierSetup |
Activity Action: Main entry point for carrier setup apps. |
| ActionChooser |
Activity Action: Display an activity chooser, allowing the user to pick what they want to before proceeding. |
| ActionCloseSystemDialogs |
Obsolete.
Broadcast Action: This is broadcast when a user action should request a temporary system dialog to dismiss. |
| ActionConfigurationChanged |
Broadcast Action: The current device |
| ActionCreateDocument |
Activity Action: Allow the user to create a new document. |
| ActionCreateReminder |
Activity Action: Creates a reminder. |
| ActionCreateShortcut |
Activity Action: Creates a shortcut. |
| ActionDateChanged |
Broadcast Action: The date has changed. |
| ActionDefault |
A synonym for |
| ActionDefine |
Activity Action: Define the meaning of the selected word(s). |
| ActionDelete |
Activity Action: Delete the given data from its container. |
| ActionDeviceStorageLow |
Obsolete.
Broadcast Action: A sticky broadcast that indicates low storage space condition on the device <p class="note"> This is a protected intent that can only be sent by the system. |
| ActionDeviceStorageOk |
Obsolete.
Broadcast Action: Indicates low storage space condition on the device no longer exists <p class="note"> This is a protected intent that can only be sent by the system. |
| ActionDial |
Activity Action: Dial a number as specified by the data. |
| ActionDockEvent |
Broadcast Action: A sticky broadcast for changes in the physical docking state of the device. |
| ActionDreamingStarted |
Broadcast Action: Sent after the system starts dreaming. |
| ActionDreamingStopped |
Broadcast Action: Sent after the system stops dreaming. |
| ActionEdit |
Activity Action: Provide explicit editable access to the given data. |
| ActionExternalApplicationsAvailable |
Broadcast Action: Resources for a set of packages (which were previously unavailable) are currently available since the media on which they exist is available. |
| ActionExternalApplicationsUnavailable |
Broadcast Action: Resources for a set of packages are currently unavailable since the media on which they exist is unavailable. |
| ActionFactoryTest |
Activity Action: Main entry point for factory tests. |
| ActionGetContent |
Activity Action: Allow the user to select a particular kind of data and return it. |
| ActionGetRestrictionEntries |
Broadcast to a specific application to query any supported restrictions to impose on restricted users. |
| ActionGtalkServiceConnected |
Broadcast Action: A GTalk connection has been established. |
| ActionGtalkServiceDisconnected |
Broadcast Action: A GTalk connection has been disconnected. |
| ActionHeadsetPlug |
Broadcast Action: Wired Headset plugged in or unplugged. |
| ActionInputMethodChanged |
Broadcast Action: An input method has been changed. |
| ActionInsert |
Activity Action: Insert an empty item into the given container. |
| ActionInsertOrEdit |
Activity Action: Pick an existing item, or insert a new item, and then edit it. |
| ActionInstallFailure |
Activity Action: Activity to handle split installation failures. |
| ActionInstallPackage |
Obsolete.
Activity Action: Launch application installer. |
| ActionLocaleChanged |
Broadcast Action: The current device's locale has changed. |
| ActionLockedBootCompleted |
Broadcast Action: This is broadcast once, after the user has finished booting, but while still in the "locked" state. |
| ActionMain |
Activity Action: Start as a main entry point, does not expect to receive data. |
| ActionManagedProfileAdded |
Broadcast sent to the primary user when an associated managed profile is added (the profile was created and is ready to be used). |
| ActionManagedProfileAvailable |
Broadcast sent to the primary user when an associated managed profile has become available. |
| ActionManagedProfileRemoved |
Broadcast sent to the primary user when an associated managed profile is removed. |
| ActionManagedProfileUnavailable |
Broadcast sent to the primary user when an associated managed profile has become unavailable. |
| ActionManagedProfileUnlocked |
Broadcast sent to the primary user when the credential-encrypted private storage for an associated managed profile is unlocked. |
| ActionManageNetworkUsage |
Activity Action: Show settings for managing network data usage of a specific application. |
| ActionManagePackageStorage |
Broadcast Action: Indicates low memory condition notification acknowledged by user and package management should be started. |
| ActionManageUnusedApps |
Activity action: Launch UI to manage unused apps (hibernated apps). |
| ActionMediaBadRemoval |
Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted. |
| ActionMediaButton |
Broadcast Action: The "Media Button" was pressed. |
| ActionMediaChecking |
Broadcast Action: External media is present, and being disk-checked The path to the mount point for the checking media is contained in the Intent. |
| ActionMediaEject |
Broadcast Action: User has expressed the desire to remove the external storage media. |
| ActionMediaMounted |
Broadcast Action: External media is present and mounted at its mount point. |
| ActionMediaNofs |
Broadcast Action: External media is present, but is using an incompatible fs (or is blank) The path to the mount point for the checking media is contained in the Intent. |
| ActionMediaRemoved |
Broadcast Action: External media has been removed. |
| ActionMediaScannerFinished |
Broadcast Action: The media scanner has finished scanning a directory. |
| ActionMediaScannerScanFile |
Obsolete.
Broadcast Action: Request the media scanner to scan a file and add it to the media database. |
| ActionMediaScannerStarted |
Broadcast Action: The media scanner has started scanning a directory. |
| ActionMediaShared |
Broadcast Action: External media is unmounted because it is being shared via USB mass storage. |
| ActionMediaUnmountable |
Broadcast Action: External media is present but cannot be mounted. |
| ActionMediaUnmounted |
Broadcast Action: External media is present, but not mounted at its mount point. |
| ActionMyPackageReplaced |
Broadcast Action: A new version of your application has been installed over an existing one. |
| ActionMyPackageSuspended |
Broadcast Action: Sent to a package that has been suspended by the system. |
| ActionMyPackageUnsuspended |
Broadcast Action: Sent to a package that has been unsuspended. |
| ActionNewOutgoingCall |
Obsolete.
Broadcast Action: An outgoing call is about to be placed. |
| ActionOpenDocument |
Activity Action: Allow the user to select and return one or more existing documents. |
| ActionOpenDocumentTree |
Activity Action: Allow the user to pick a directory subtree. |
| ActionPackageAdded |
Broadcast Action: A new application package has been installed on the device. |
| ActionPackageChanged |
Broadcast Action: An existing application package has been changed (for example, a component has been enabled or disabled). |
| ActionPackageDataCleared |
Broadcast Action: The user has cleared the data of a package. |
| ActionPackageFirstLaunch |
Broadcast Action: Sent to the installer package of an application when that application is first launched (that is the first time it is moved out of the stopped state). |
| ActionPackageFullyRemoved |
Broadcast Action: An existing application package has been completely removed from the device. |
| ActionPackageInstall |
Obsolete.
Broadcast Action: Trigger the download and eventual installation of a package. |
| ActionPackageNeedsVerification |
Broadcast Action: Sent to the system package verifier when a package needs to be verified. |
| ActionPackageRemoved |
Broadcast Action: An existing application package has been removed from the device. |
| ActionPackageReplaced |
Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed. |
| ActionPackageRestarted |
Broadcast Action: The user has restarted a package, and all of its processes have been killed. |
| ActionPackagesSuspended |
Broadcast Action: Packages have been suspended. |
| ActionPackagesUnsuspended |
Broadcast Action: Packages have been unsuspended. |
| ActionPackageVerified |
Broadcast Action: Sent to the system package verifier when a package is verified. |
| ActionPaste |
Activity Action: Create a new item in the given container, initializing it from the current contents of the clipboard. |
| ActionPick |
Activity Action: Pick an item from the data, returning what was selected. |
| ActionPickActivity |
Activity Action: Pick an activity given an intent, returning the class selected. |
| ActionPowerConnected |
Broadcast Action: External power has been connected to the device. |
| ActionPowerDisconnected |
Broadcast Action: External power has been removed from the device. |
| ActionPowerUsageSummary |
Activity Action: Show power usage information to the user. |
| ActionProcessText |
Activity Action: Process a piece of text. |
| ActionProfileAccessible |
Broadcast sent to the parent user when an associated profile has been started and unlocked. |
| ActionProfileInaccessible |
Broadcast sent to the parent user when an associated profile has stopped. |
| ActionProviderChanged |
Broadcast Action: Some content providers have parts of their namespace where they publish new events or items that the user may be especially interested in. |
| ActionQuickClock |
Sent when the user taps on the clock widget in the system's "quick settings" area. |
| ActionQuickView |
Activity Action: Quick view the data. |
| ActionReboot |
Broadcast Action: Have the device reboot. |
| ActionRun |
Activity Action: Run the data, whatever that means. |
| ActionScreenOff |
Broadcast Action: Sent when the device goes to sleep and becomes non-interactive. |
| ActionScreenOn |
Broadcast Action: Sent when the device wakes up and becomes interactive. |
| ActionSearch |
Activity Action: Perform a search. |
| ActionSearchLongPress |
Activity Action: Start action associated with long pressing on the search key. |
| ActionSend |
Activity Action: Deliver some data to someone else. |
| ActionSendMultiple |
Activity Action: Deliver multiple data to someone else. |
| ActionSendto |
Activity Action: Send a message to someone specified by the data. |
| ActionSetWallpaper |
Activity Action: Show settings for choosing wallpaper. |
| ActionShowAppInfo |
Activity Action: Launch an activity showing the app information. |
| ActionShutdown |
Broadcast Action: Device is shutting down. |
| ActionSync |
Activity Action: Perform a data synchronization. |
| ActionSystemTutorial |
Activity Action: Start the platform-defined tutorial |
| ActionTimeChanged |
Broadcast Action: The time was set. |
| ActionTimeTick |
Broadcast Action: The current time has changed. |
| ActionTimezoneChanged |
Broadcast Action: The timezone has changed. |
| ActionTranslate |
Activity Action: Perform text translation. |
| ActionUidRemoved |
Broadcast Action: A user ID has been removed from the system. |
| ActionUmsConnected |
Obsolete.
Broadcast Action: The device has entered USB Mass Storage mode. |
| ActionUmsDisconnected |
Obsolete.
Broadcast Action: The device has exited USB Mass Storage mode. |
| ActionUninstallPackage |
Obsolete.
Activity Action: Launch application uninstaller. |
| ActionUserBackground |
Sent when a user switch is happening, causing the process's user to be sent to the background. |
| ActionUserForeground |
Sent when a user switch is happening, causing the process's user to be brought to the foreground. |
| ActionUserInitialize |
Sent the first time a user is starting, to allow system apps to perform one time initialization. |
| ActionUserPresent |
Broadcast Action: Sent when the user is present after device wakes up (e. |
| ActionUserUnlocked |
Broadcast Action: Sent when the credential-encrypted private storage has become unlocked for the target user. |
| ActionView |
Activity Action: Display the data to the user. |
| ActionViewLocus |
Activity Action: Display an activity state associated with an unique |
| ActionViewPermissionUsage |
Activity action: Launch UI to show information about the usage of a given permission group. |
| ActionViewPermissionUsageForPeriod |
Activity action: Launch UI to show information about the usage of a given permission group in a given period. |
| ActionVoiceCommand |
Activity Action: Start Voice Command. |
| ActionWallpaperChanged |
Obsolete.
Broadcast Action: The current system wallpaper has changed. |
| ActionWebSearch |
Activity Action: Perform a web search. |
| CategoryAccessibilityShortcutTarget |
The accessibility shortcut is a global gesture for users with disabilities to trigger an important for them accessibility feature to help developers determine whether they want to make their activity a shortcut target. |
| CategoryAlternative |
Set if the activity should be considered as an alternative action to the data the user is currently viewing. |
| CategoryAppBrowser |
Used with |
| CategoryAppCalculator |
Used with |
| CategoryAppCalendar |
Used with |
| CategoryAppContacts |
Used with |
| CategoryAppEmail |
Used with |
| CategoryAppFiles |
Used with |
| CategoryAppGallery |
Used with |
| CategoryAppMaps |
Used with |
| CategoryAppMarket |
This activity allows the user to browse and download new applications. |
| CategoryAppMessaging |
Used with |
| CategoryAppMusic |
Used with |
| CategoryBrowsable |
Activities that can be safely invoked from a browser must support this category. |
| CategoryCarDock |
An activity to run when device is inserted into a car dock. |
| CategoryCarMode |
Used to indicate that the activity can be used in a car environment. |
| CategoryDefault |
Set if the activity should be an option for the default action (center press) to perform on a piece of data. |
| CategoryDeskDock |
An activity to run when device is inserted into a car dock. |
| CategoryDevelopmentPreference |
This activity is a development preference panel. |
| CategoryEmbed |
Capable of running inside a parent activity container. |
| CategoryFrameworkInstrumentationTest |
To be used as code under test for framework instrumentation tests. |
| CategoryHeDeskDock |
An activity to run when device is inserted into a digital (high end) dock. |
| CategoryHome |
This is the home activity, that is the first activity that is displayed when the device boots. |
| CategoryInfo |
Provides information about the package it is in; typically used if
a package does not contain a |
| CategoryLauncher |
Should be displayed in the top-level launcher. |
| CategoryLeanbackLauncher |
Indicates an activity optimized for Leanback mode, and that should be displayed in the Leanback launcher. |
| CategoryLeDeskDock |
An activity to run when device is inserted into a analog (low end) dock. |
| CategoryMonkey |
This activity may be exercised by the monkey or other automated test tools. |
| CategoryOpenable |
Used to indicate that an intent only wants URIs that can be opened with
|
| CategoryPreference |
This activity is a preference panel. |
| CategorySampleCode |
To be used as a sample code example (not part of the normal user experience). |
| CategorySecondaryHome |
The home activity shown on secondary displays that support showing home activities. |
| CategorySelectedAlternative |
Set if the activity should be considered as an alternative selection action to the data the user has currently selected. |
| CategoryTab |
Intended to be used as a tab inside of a containing TabActivity. |
| CategoryTest |
To be used as a test (not part of the normal user experience). |
| CategoryTypedOpenable |
Used to indicate that an intent filter can accept files which are not necessarily
openable by |
| CategoryUnitTest |
To be used as a unit test (run through the Test Harness). |
| CategoryVoice |
Categories for activities that can participate in voice interaction. |
| CategoryVrHome |
An activity to use for the launcher when the device is placed in a VR Headset viewer. |
| ExtraAlarmCount |
Used as an int extra field in |
| ExtraAllowMultiple |
Extra used to indicate that an intent can allow the user to select and return multiple items. |
| ExtraAllowReplace |
Obsolete.
Used as a boolean extra field with |
| ExtraAlternateIntents |
An Intent[] describing additional, alternate choices you would like shown with
|
| ExtraAssistContext |
An optional field on |
| ExtraAssistInputDeviceId |
An optional field on |
| ExtraAssistInputHintKeyboard |
An optional field on |
| ExtraAssistPackage |
An optional field on |
| ExtraAssistUid |
An optional field on |
| ExtraAttributionTags |
A String[] holding attribution tags when used with
|
| ExtraAutoLaunchSingleChoice |
Used as a boolean extra field in |
| ExtraBcc |
A String[] holding e-mail addresses that should be blind carbon copied. |
| ExtraBugReport |
Used as a parcelable extra field in |
| ExtraCc |
A String[] holding e-mail addresses that should be carbon copied. |
| ExtraChangedComponentName | |
| ExtraChangedComponentNameList |
This field is part of |
| ExtraChangedPackageList |
This field is part of
|
| ExtraChangedUidList |
This field is part of
|
| ExtraChooserRefinementIntentSender |
An |
| ExtraChooserTargets |
A |
| ExtraChosenComponent |
The |
| ExtraChosenComponentIntentSender |
An |
| ExtraComponentName |
Intent extra: A |
| ExtraContentAnnotations |
An |
| ExtraContentQuery |
Optional CharSequence extra to provide a search query. |
| ExtraDataRemoved |
Used as a boolean extra field in |
| ExtraDockState |
Used as an int extra field in |
| ExtraDontKillApp |
Used as a boolean extra field in |
| ExtraDurationMillis |
Intent extra: The number of milliseconds. |
| ExtraEmail |
A String[] holding e-mail addresses that should be delivered to. |
| ExtraEndTime |
A long representing the end timestamp (epoch time in millis) of the permission usage when
used with |
| ExtraExcludeComponents |
A |
| ExtraFromStorage |
Extra that can be included on activity intents coming from the storage UI when it launches sub-activities to manage various types of storage. |
| ExtraHtmlText |
A constant String that is associated with the Intent, used with
|
| ExtraIndex |
Optional index with semantics depending on the intent action. |
| ExtraInitialIntents |
A Parcelable[] of |
| ExtraInstallerPackageName |
Used as a string extra field with |
| ExtraIntent |
An Intent describing the choices you would like shown with
|
| ExtraKeyEvent |
A |
| ExtraLocalOnly |
Extra used to indicate that an intent should only return data that is on the local device. |
| ExtraLocusId |
Intent extra: ID of the context used on |
| ExtraMimeTypes |
Extra used to communicate a set of acceptable MIME types. |
| ExtraNotUnknownSource |
Used as a boolean extra field with |
| ExtraOriginatingUri |
Used as a URI extra field with |
| ExtraPackageName |
Intent extra: An app package name. |
| ExtraPermissionGroupName |
Intent extra: The name of a permission group. |
| ExtraPhoneNumber |
A String holding the phone number originally entered in
|
| ExtraProcessText |
The name of the extra used to define the text to be processed, as a CharSequence. |
| ExtraProcessTextReadonly |
The name of the boolean extra used to define if the processed text will be used as read-only. |
| ExtraQuickViewFeatures |
An optional extra of |
| ExtraQuietMode |
Optional boolean extra indicating whether quiet mode has been switched on or off. |
| ExtraReferrer |
This extra can be used with any Intent used to launch an activity, supplying information about who is launching that activity. |
| ExtraReferrerName |
Alternate version of |
| ExtraRemoteIntentToken |
Used in the extra field in the remote intent. |
| ExtraReplacementExtras |
A Bundle forming a mapping of potential target package names to different extras Bundles
to add to the default intent extras in |
| ExtraReplacing |
Used as a boolean extra field in |
| ExtraRestrictionsBundle |
Extra sent in the intent to the BroadcastReceiver that handles
|
| ExtraRestrictionsIntent |
Extra used in the response from a BroadcastReceiver that handles
|
| ExtraRestrictionsList |
Extra used in the response from a BroadcastReceiver that handles
|
| ExtraResultReceiver |
A |
| ExtraReturnResult |
Used as a boolean extra field with |
| ExtraShortcutIcon |
Obsolete.
The name of the extra used to define the icon, as a Bitmap, of a shortcut. |
| ExtraShortcutIconResource |
Obsolete.
The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut. |
| ExtraShortcutId |
Intent extra: ID of the shortcut used to send the share intent. |
| ExtraShortcutIntent |
Obsolete.
The name of the extra used to define the Intent of a shortcut. |
| ExtraShortcutName |
Obsolete.
The name of the extra used to define the name of a shortcut. |
| ExtraShutdownUserspaceOnly |
Optional extra for |
| ExtraSplitName |
Intent extra: An app split name. |
| ExtraStartTime |
A long representing the start timestamp (epoch time in millis) of the permission usage
when used with |
| ExtraStream |
A content: URI holding a stream of data associated with the Intent,
used with |
| ExtraSubject |
A constant string holding the desired subject line of a message. |
| ExtraSuspendedPackageExtras |
Intent extra: A |
| ExtraTemplate |
The initial data to place in a newly created record. |
| ExtraText |
A constant CharSequence that is associated with the Intent, used with
|
| ExtraTime |
Optional extra specifying a time in milliseconds since the Epoch. |
| ExtraTimezone |
Extra sent with |
| ExtraTitle |
A CharSequence dialog title to provide to the user when used with a
|
| ExtraUid |
Used as an int extra field in |
| ExtraUser |
The UserHandle carried with intents. |
| ExtraUserInitiated |
Used as a boolean extra field in |
| FlagActivityRequireDefault |
Obsolete.
If set in an intent passed to |
| FlagActivityRequireNonBrowser |
Obsolete.
If set in an intent passed to |
| MetadataDockHome |
Boolean that can be supplied as meta-data with a dock activity, to indicate that the dock should take over the home key when it is active. |
| UriAllowUnsafe |
Obsolete.
Flag for use with |
| UriAndroidAppScheme | |
| UriIntentScheme |
Obsolete.
Flag for use with |
Properties
| Action |
Retrieve the general action to be performed, such as
|
| Categories |
Return the set of all categories in the intent. |
| Class |
Returns the runtime class of this |
| ClipData |
Return the |
| Component |
Retrieve the concrete component associated with the intent. |
| Creator | |
| Data |
Retrieve data this intent is operating on. |
| DataString |
The same as |
| Extras |
Retrieves a map of extended data from the intent. |
| Flags |
Retrieve any special flags associated with this intent. |
| Handle |
The handle to the underlying Android instance. (Inherited from Object) |
| HasFileDescriptors |
Returns true if the Intent's extras contain a parcelled file descriptor. |
| Identifier |
Retrieve the identifier for this Intent. |
| JniIdentityHashCode | (Inherited from Object) |
| JniPeerMembers | |
| Package |
Retrieve the application package name this Intent is limited to. |
| PeerReference | (Inherited from Object) |
| Scheme |
Return the scheme portion of the intent's data. |
| Selector |
Return the specific selector associated with this Intent. -or- Set a selector for this Intent. |
| SourceBounds |
Get the bounds of the sender of this intent, in screen coordinates. -or- Set the bounds of the sender of this intent, in screen coordinates. |
| ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| Type |
Retrieve any explicit MIME type included in the intent. |
Methods
| AddCategory(String) |
Add a new category to the intent. |
| AddFlags(ActivityFlags) |
Add additional flags to the intent (or with existing flags value). |
| Clone() |
Creates and returns a copy of this |
| CloneFilter() |
Make a clone of only the parts of the Intent that are relevant for filter matching: the action, data, type, component, and categories. |
| CreateChooser(Intent, ICharSequence) |
Convenience function for creating a |
| CreateChooser(Intent, ICharSequence, IntentSender) |
Convenience function for creating a |
| CreateChooser(Intent, String) |
Convenience function for creating a |
| CreateChooser(Intent, String, IntentSender) |
Convenience function for creating a |
| DescribeContents() |
Describe the kinds of special objects contained in this Parcelable's marshalled representation. |
| Dispose() | (Inherited from Object) |
| Dispose(Boolean) | (Inherited from Object) |
| Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
| FillIn(Intent, FillInFlags) |
Copy the contents of other in to this object, but only where fields are not defined by this object. |
| FilterEquals(Intent) |
Determine if two intents are the same for the purposes of intent resolution (filtering). |
| FilterHashCode() |
Generate hash code that matches semantics of filterEquals(). |
| GetBooleanArrayExtra(String) |
Retrieve extended data from the intent. |
| GetBooleanExtra(String, Boolean) |
Retrieve extended data from the intent. |
| GetBundleExtra(String) |
Retrieve extended data from the intent. |
| GetByteArrayExtra(String) |
Retrieve extended data from the intent. |
| GetByteExtra(String, SByte) |
Retrieve extended data from the intent. |
| GetCharArrayExtra(String) |
Retrieve extended data from the intent. |
| GetCharExtra(String, Char) |
Retrieve extended data from the intent. |
| GetCharSequenceArrayExtra(String) |
Retrieve extended data from the intent. |
| GetCharSequenceArrayExtraFormatted(String) |
Retrieve extended data from the intent. |
| GetCharSequenceArrayListExtra(String) |
Retrieve extended data from the intent. |
| GetCharSequenceExtra(String) |
Retrieve extended data from the intent. |
| GetCharSequenceExtraFormatted(String) |
Retrieve extended data from the intent. |
| GetDoubleArrayExtra(String) |
Retrieve extended data from the intent. |
| GetDoubleExtra(String, Double) |
Retrieve extended data from the intent. |
| GetFloatArrayExtra(String) |
Retrieve extended data from the intent. |
| GetFloatExtra(String, Single) |
Retrieve extended data from the intent. |
| GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
| GetIntArrayExtra(String) |
Retrieve extended data from the intent. |
| GetIntegerArrayListExtra(String) |
Retrieve extended data from the intent. |
| GetIntent(String) |
Obsolete.
Call |
| GetIntentOld(String) | |
| GetIntExtra(String, Int32) |
Retrieve extended data from the intent. |
| GetLongArrayExtra(String) |
Retrieve extended data from the intent. |
| GetLongExtra(String, Int64) |
Retrieve extended data from the intent. |
| GetParcelableArrayExtra(String) |
Retrieve extended data from the intent. |
| GetParcelableArrayListExtra(String) |
Retrieve extended data from the intent. |
| GetParcelableExtra(String) |
Retrieve extended data from the intent. |
| GetSerializableExtra(String) |
Retrieve extended data from the intent. |
| GetShortArrayExtra(String) |
Retrieve extended data from the intent. |
| GetShortExtra(String, Int16) |
Retrieve extended data from the intent. |
| GetStringArrayExtra(String) |
Retrieve extended data from the intent. |
| GetStringArrayListExtra(String) |
Retrieve extended data from the intent. |
| GetStringExtra(String) |
Retrieve extended data from the intent. |
| HasCategory(String) |
Check if a category exists in the intent. |
| HasExtra(String) |
Returns true if an extra value is associated with the given name. |
| JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
| MakeMainActivity(ComponentName) |
Create an intent to launch the main (root) activity of a task. |
| MakeMainSelectorActivity(String, String) |
Make an Intent for the main activity of an application, without specifying a specific activity to run but giving a selector to find the activity. |
| MakeRestartActivityTask(ComponentName) |
Make an Intent that can be used to re-launch an application's task in its base state. |
| NormalizeMimeType(String) |
Normalize a MIME data type. |
| Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
| NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
| ParseIntent(Resources, XmlReader, IAttributeSet) |
Parses the "intent" element (and its children) from XML and instantiates an Intent object. |
| ParseUri(String, IntentUriType) |
Create an intent from a URI. |
| PutCharSequenceArrayListExtra(String, IList<ICharSequence>) |
Add extended data to the intent. |
| PutExtra(String, Boolean) |
Add extended data to the intent. |
| PutExtra(String, Boolean[]) |
Add extended data to the intent. |
| PutExtra(String, Bundle) |
Add extended data to the intent. |
| PutExtra(String, Byte[]) |
Add extended data to the intent. |
| PutExtra(String, Char) |
Add extended data to the intent. |
| PutExtra(String, Char[]) |
Add extended data to the intent. |
| PutExtra(String, Double) |
Add extended data to the intent. |
| PutExtra(String, Double[]) |
Add extended data to the intent. |
| PutExtra(String, ICharSequence) |
Add extended data to the intent. |
| PutExtra(String, ICharSequence[]) |
Add extended data to the intent. |
| PutExtra(String, Int16) |
Add extended data to the intent. |
| PutExtra(String, Int16[]) |
Add extended data to the intent. |
| PutExtra(String, Int32) |
Add extended data to the intent. |
| PutExtra(String, Int32[]) |
Add extended data to the intent. |
| PutExtra(String, Int64) |
Add extended data to the intent. |
| PutExtra(String, Int64[]) |
Add extended data to the intent. |
| PutExtra(String, IParcelable) |
Add extended data to the intent. |
| PutExtra(String, IParcelable[]) |
Add extended data to the intent. |
| PutExtra(String, ISerializable) |
Add extended data to the intent. |
| PutExtra(String, SByte) |
Add extended data to the intent. |
| PutExtra(String, Single) |
Add extended data to the intent. |
| PutExtra(String, Single[]) |
Add extended data to the intent. |
| PutExtra(String, String) |
Add extended data to the intent. |
| PutExtra(String, String[]) |
Add extended data to the intent. |
| PutExtras(Bundle) |
Add a set of extended data to the intent. |
| PutExtras(Intent) |
Copy all extras in 'src' in to this intent. |
| PutIntegerArrayListExtra(String, IList<Integer>) |
Add extended data to the intent. |
| PutParcelableArrayListExtra(String, IList<IParcelable>) |
Add extended data to the intent. |
| PutStringArrayListExtra(String, IList<String>) |
Add extended data to the intent. |
| ReadFromParcel(Parcel) | |
| RemoveCategory(String) |
Remove a category from an intent. |
| RemoveExtra(String) |
Remove extended data from the intent. |
| RemoveFlags(ActivityFlags) |
Remove these flags from the intent. |
| ReplaceExtras(Bundle) |
Completely replace the extras in the Intent with the given Bundle of extras. |
| ReplaceExtras(Intent) |
Completely replace the extras in the Intent with the extras in the given Intent. |
| ResolveActivity(PackageManager) |
Return the Activity component that should be used to handle this intent. |
| ResolveActivityInfo(PackageManager, PackageInfoFlags) |
Resolve the Intent into an |
| ResolveType(ContentResolver) |
Return the MIME data type of this intent. |
| ResolveType(Context) |
Return the MIME data type of this intent. |
| ResolveTypeIfNeeded(ContentResolver) |
Return the MIME data type of this intent, only if it will be needed for intent resolution. |
| SetAction(String) |
Set the general action to be performed. |
| SetClass(Context, Class) |
Convenience for calling |
| SetClass(Context, Type) | |
| SetClassName(Context, String) |
Convenience for calling |
| SetClassName(String, String) |
Convenience for calling |
| SetComponent(ComponentName) |
(Usually optional) Explicitly set the component to handle the intent. |
| SetData(Uri) |
Set the data this intent is operating on. |
| SetDataAndNormalize(Uri) |
Normalize and set the data this intent is operating on. |
| SetDataAndType(Uri, String) |
(Usually optional) Set the data for the intent along with an explicit MIME data type. |
| SetDataAndTypeAndNormalize(Uri, String) |
(Usually optional) Normalize and set both the data Uri and an explicit MIME data type. |
| SetExtrasClassLoader(ClassLoader) |
Sets the ClassLoader that will be used when unmarshalling any Parcelable values from the extras of this Intent. |
| SetFlags(ActivityFlags) |
Set special flags controlling how this intent is handled. |
| SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
| SetIdentifier(String) |
Set an identifier for this Intent. |
| SetPackage(String) |
(Usually optional) Set an explicit application package name that limits the components this Intent will resolve to. |
| SetType(String) |
Set an explicit MIME data type. |
| SetTypeAndNormalize(String) |
Normalize and set an explicit MIME data type. |
| ToArray<T>() | (Inherited from Object) |
| ToString() |
Returns a string representation of the object. (Inherited from Object) |
| ToURI() |
Obsolete.
Call |
| ToUri(IntentUriType) |
Convert this Intent into a String holding a URI representation of it. |
| UnregisterFromRuntime() | (Inherited from Object) |
| Wait() |
Causes the current thread to wait until another thread invokes the
|
| Wait(Int64) |
Causes the current thread to wait until either another thread invokes the
|
| Wait(Int64, Int32) |
Causes the current thread to wait until another thread invokes the
|
| WriteToParcel(Parcel, ParcelableWriteFlags) |
Flatten this object in to a Parcel. |
Explicit Interface Implementations
| IJavaPeerable.Disposed() | (Inherited from Object) |
| IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
| IJavaPeerable.Finalized() | (Inherited from Object) |
| IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
| IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) | |
| GetJniTypeName(IJavaPeerable) | |