LiveActivitiesPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • LiveActivitiesPlatform
Implementers

Constructors

LiveActivitiesPlatform()
Constructs a LiveActivitiesPlatform.

Properties

activityUpdateStream Stream<ActivityUpdate>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

areActivitiesEnabled() Future<bool>
createActivity(Map<String, dynamic> data, {bool removeWhenAppIsKilled = false, Duration? staleIn}) Future<String?>
endActivity(String activityId) Future
endAllActivities() Future
getActivityState(String activityId) Future<LiveActivityState?>
getAllActivities() Future<Map<String, LiveActivityState>>
getAllActivitiesIds() Future<List<String>>
getPushToken(String activityId) Future<String?>
init(String appGroupId, {String? urlScheme}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateActivity(String activityId, Map<String, dynamic> data, [AlertConfig? alertConfig]) Future
urlSchemeStream() Stream<UrlSchemeData>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance LiveActivitiesPlatform
The default instance of LiveActivitiesPlatform to use.
getter/setter pair