foo-webview-sdk
    Preparing search index...

    Interface ConfigSetParams

    Parameters for config.set. Store a value under a key in this component's own key-value store, replacing any value the key held. The store is kept in foobar2000's configuration store, so it survives a restart. Fails with OPERATION_FAILED when the store cannot be read or the value cannot be saved.

    interface ConfigSetParams {
        key: string;
        value: JsonValue;
    }
    Index
    key: string

    Key to store under. Every page of this component shares one store, so give your keys a prefix of your own.

    value: JsonValue

    Value to store, any JSON value. A top-level null counts as missing and is refused, so clear a key with config.remove; a null inside an object or an array is kept.