Packages
raxol_watch
0.1.0
Watch notification bridge for Raxol. Pushes glanceable summaries and accessibility announcements to Apple Watch (APNS) and Wear OS (FCM). Tap actions route back as events to the TEA app.
Current section
Files
Jump to
Current section
Files
lib/raxol/watch/push/backend.ex
defmodule Raxol.Watch.Push.Backend do
@moduledoc """
Behaviour for push notification backends.
Implementations deliver notification payloads to specific device tokens
via platform-specific push services (APNS, FCM).
"""
@doc "Push a notification to a device."
@callback push(device_token :: String.t(), notification :: map()) :: :ok | {:error, term()}
end