IpcEventId

interface IpcEventId

Identifies an IPC event type that can be observed via NavManagerService.

Pass a set of IpcEventId values as listObservedFunctions when calling NavManagerService.connect to declare which events the client wants to receive. The server will only deliver events whose id is included in that set.

The built-in event types are available as com.mapbox.dash.sdk.ipc.client.core.impl.EventType. Implement this interface to declare custom event IDs when the target app exposes additional events.

Inheritors

Properties

Link copied to clipboard
abstract val id: String

Stable string identifier for this event type. Must match the ID used by the server-side event emitter. Never change this value for a published event type — doing so will silently break existing clients that subscribe by the old ID.