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

    Interface SecureStorage

    The plugin's own encrypted storage, which only the plugin can read and which goes when the app is removed.

    interface SecureStorage {
        getItem(key: string): Promise<string | null>;
        removeItem(key: string): Promise<void>;
        setItem(key: string, value: string): Promise<void>;
    }
    Index
    • Parameters

      • key: string

      Returns Promise<string | null>

    • Parameters

      • key: string

      Returns Promise<void>

    • Parameters

      • key: string
      • value: string

      Returns Promise<void>