@gphone/sdk
    Preparing search index...

    Class AppPermissionError

    Moved verbatim from the old sdk/capability.ts, deleted in GPHONE-16 step 3: the host protocol is where this now gets thrown for real, rather than only constructed and never raised.

    Hierarchy

    • Error
      • AppPermissionError
    Index
    • Parameters

      • appId: string
      • permission:
            | "account"
            | "admin"
            | "call"
            | "camera"
            | "contacts"
            | "highscores"
            | "location"
            | "mail"
            | "marketplace"
            | "media"
            | "messages"
            | "notifications"
            | "reports"
            | "social"
            | "storage"
            | "app-events"
            | "app-registry"
            | "clock"
            | "devtools"
            | "display"
            | "keybinds"
            | "navigation"
            | "notification-settings"
            | "system-hardware"
            | "theme"
            | "wallpaper"
      • hookName: string

      Returns AppPermissionError

    appId: string
    hookName: string
    permission:
        | "account"
        | "admin"
        | "call"
        | "camera"
        | "contacts"
        | "highscores"
        | "location"
        | "mail"
        | "marketplace"
        | "media"
        | "messages"
        | "notifications"
        | "reports"
        | "social"
        | "storage"
        | "app-events"
        | "app-registry"
        | "clock"
        | "devtools"
        | "display"
        | "keybinds"
        | "navigation"
        | "notification-settings"
        | "system-hardware"
        | "theme"
        | "wallpaper"