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

Implemented types

Constructors

Intent({String action, Uri data, List<String> categories, String type, ComponentName component, Bundle extras, int flags })

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
type → String
Specifies an explicit type (a MIME type) of the intent data.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited