Skip to main content

Module platform

Module platform 

Source
Expand description

Platform services shared by Fission shells.

Notifications are modelled as typed host capabilities. Deep links and notification responses are inbound lifecycle actions dispatched by shells.

Structs§

CancelAllNotificationsCapability
CancelNotificationCapability
CancelNotificationRequest
Request to cancel one notification.
DeepLink
Inbound URL delivered by the host shell.
DeepLinkConfig
Declarative runtime filter for inbound deep links.
DeepLinkReceived
Built-in action dispatched by shells when a deep link is received.
GetNotificationSettingsCapability
NotificationActionButton
Action button exposed by a notification.
NotificationError
Portable notification error payload returned by hosts.
NotificationId
Stable identifier for a local or scheduled notification.
NotificationPermissionRequest
Request sent when an app asks the host to request notification permission.
NotificationReceipt
Success payload for show/schedule notification operations.
NotificationRequest
Request to show or schedule a notification.
NotificationResponse
Response from the OS/browser after a user interacted with a notification.
NotificationResponseReceived
Built-in action dispatched by shells when a notification response arrives.
NotificationSettings
Current notification settings known to the host.
PushRegistration
Push registration returned by the host.
PushRegistrationRequest
Request to register for remote/push notifications.
RegisterPushNotificationsCapability
RequestNotificationPermissionCapability
ScheduleNotificationCapability
SetBadgeCountCapability
SetBadgeCountRequest
Request to set or clear the app badge.
ShowNotificationCapability
UnregisterPushNotificationsCapability

Enums§

DeepLinkSource
Source that delivered an inbound deep link.
NotificationPermission
Permission state reported by the host notification system.
NotificationSchedule
Portable scheduling request.
NotificationSound
Notification sound policy.
PushPlatform
Push provider used by a host registration.

Constants§

CANCEL_ALL_NOTIFICATIONS
CANCEL_NOTIFICATION
GET_NOTIFICATION_SETTINGS
REGISTER_PUSH_NOTIFICATIONS
REQUEST_NOTIFICATION_PERMISSION
SCHEDULE_NOTIFICATION
SET_BADGE_COUNT
SHOW_NOTIFICATION
UNREGISTER_PUSH_NOTIFICATIONS