MethodChannelSystemLiveUpdates class
Method-channel implementation of SystemLiveUpdatesPlatform.
- Inheritance
-
- Object
- PlatformInterface
- SystemLiveUpdatesPlatform
- MethodChannelSystemLiveUpdates
Constructors
Properties
- activityPushTokenEventChannel → EventChannel
-
Emits ActivityKit per-activity push tokens on iOS.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with native platforms.
final
- pushToStartTokenEventChannel → EventChannel
-
Emits ActivityKit push-to-start tokens on iOS.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activityPushTokenUpdates(
) → Stream< LiveUpdatePushToken> -
Streams iOS ActivityKit per-activity push tokens.
override
-
capabilities(
) → Future< LiveUpdateCapabilities> -
Returns runtime support for the current platform.
override
-
end(
String id, {required LiveUpdateOutcome outcome, String? title, String? subtitle, IosLiveActivityOptions? ios}) → Future< void> -
Ends an existing live update.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSettings(
) → Future< bool> -
Opens the app's system settings page.
override
-
pushToStartTokenUpdates(
) → Stream< LiveUpdatePushToken> -
Streams iOS ActivityKit push-to-start tokens.
override
-
requestPermissions(
) → Future< LiveUpdatePermissionStatus> -
Requests notification permissions needed by the current platform.
override
-
start(
LiveUpdateContent content) → Future< LiveUpdateHandle> -
Starts a live update.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
LiveUpdateContent content) → Future< void> -
Updates an existing live update.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited