Pebble App Framework: Phone API
    Preparing search index...

    Variable default

    default: {
        ACTION_FAILED: string;
        answerAction: (
            actions: Readonly<Record<string, ActionFunction>>,
            request: ActionRequest,
            respond: ActionResponder,
        ) => Promise<void>;
        handleActions: (
            actions: Readonly<Record<string, ActionFunction>>,
            pebble?: PluginPebble,
        ) => void;
        INVALID_REQUEST: string;
    }

    Type Declaration

    • ACTION_FAILED: string

      The error code for an action that threw without naming a code of its own.

    • answerAction: (
          actions: Readonly<Record<string, ActionFunction>>,
          request: ActionRequest,
          respond: ActionResponder,
      ) => Promise<void>
    • handleActions: (
          actions: Readonly<Record<string, ActionFunction>>,
          pebble?: PluginPebble,
      ) => void
    • INVALID_REQUEST: string

      The error code for a request naming an action the plugin does not have.