PersistentPreferredActivity class
A default activity for handling intents that match a particular intent filter.
Note: To set up a kiosk, use InstallType to KIOSK rather than use persistent preferred activities.
Constructors
-
PersistentPreferredActivity({List<
String> ? actions, List<String> ? categories, String? receiverActivity}) - PersistentPreferredActivity.fromJson(Map json_)
Properties
-
actions
↔ List<
String> ? -
The intent actions to match in the filter.
getter/setter pair
-
categories
↔ List<
String> ? -
The intent categories to match in the filter.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- receiverActivity ↔ String?
-
The activity that should be the default intent handler.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited