Intent class
An intent is an abstract description of an operation to be performed.
An Intent provides a facility for performing late runtime binding between the code in different applications. Its most significant use is in the launching of activities, where it can be thought of as the glue between activities. It is basically a passive data structure holding an abstract description of an action to be performed.
See: https://developer.android.com/reference/android/content/Intent See: https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/android/content/Intent.java
- Mixed in types
Constructors
Properties
- action → String
-
The general action to be performed.
final
-
categories
→ List<
String> -
Gives additional information about the action to execute.
final
- category → String
-
Gives additional information about the action to execute.
read-only
- component → ComponentName
-
Specifies an explicit name of a component class to use for the intent.
final
- data → Uri
-
The data to operate on, such as a person record in the contacts database.
final
- extras → Bundle
-
This is a Bundle of any additional information.
final
- flags → int
-
Flags used on this Intent.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- package → String
-
Specifies the application package name this intent is limited to.
final
- parcelableCreator → String
-
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type → String
-
Specifies an explicit type (a MIME type) of the intent data.
final
Methods
-
describeContents(
) → int -
Describe any special objects contained in this instance's marshaled representation.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
startActivity(
) → Future< bool> - Launches a new activity.
-
toString(
) → String -
A string representation of this object.
inherited
-
writeToParcel(
Parcel parcel, [int flags = 0]) → void -
Flatten this object in to a Parcel.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited