SystemLiveUpdatesPlatform class abstract

Platform contract for native live updates.

Inheritance
  • Object
  • PlatformInterface
  • SystemLiveUpdatesPlatform
Implementers

Constructors

SystemLiveUpdatesPlatform()
Constructs a SystemLiveUpdatesPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activityPushTokenUpdates() Stream<LiveUpdatePushToken>
Streams iOS ActivityKit per-activity push tokens.
capabilities() Future<LiveUpdateCapabilities>
Returns runtime support for the current platform.
end(String id, {required LiveUpdateOutcome outcome, String? title, String? subtitle, IosLiveActivityOptions? ios}) Future<void>
Ends an existing live update.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openSettings() Future<bool>
Opens the app's system settings page.
pushToStartTokenUpdates() Stream<LiveUpdatePushToken>
Streams iOS ActivityKit push-to-start tokens.
requestPermissions() Future<LiveUpdatePermissionStatus>
Requests notification permissions needed by the current platform.
start(LiveUpdateContent content) Future<LiveUpdateHandle>
Starts a live update.
toString() String
A string representation of this object.
inherited
update(LiveUpdateContent content) Future<void>
Updates an existing live update.

Operators

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

Static Properties

instance SystemLiveUpdatesPlatform
The default instance of SystemLiveUpdatesPlatform.
getter/setter pair