Interface StorageArea

Hierarchy

Index

Methods

Methods

public clear(callback?: Function)

Parameters

  • callback?: Function optional

public get(callback: (items: Object) => void)

Parameters

  • callback: (items: Object) => void

public get(keys: string, callback: (items: Object) => void)

Parameters

  • keys: string
  • callback: (items: Object) => void

public get(keys: Array<string>, callback: (items: Object) => void)

Parameters

  • keys: Array<string>
  • callback: (items: Object) => void

public get(keys: Object, callback: (items: Object) => void)

Parameters

  • keys: Object
  • callback: (items: Object) => void

public getBytesInUse(callback: (bytesInUse: number) => void)

Parameters

  • callback: (bytesInUse: number) => void

public getBytesInUse(keys: string, callback: (bytesInUse: number) => void)

Parameters

  • keys: string
  • callback: (bytesInUse: number) => void

public getBytesInUse(keys: Array<string>, callback: (bytesInUse: number) => void)

Parameters

  • keys: Array<string>
  • callback: (bytesInUse: number) => void

public remove(keys: string, callback?: Function)

Parameters

  • keys: string
  • callback?: Function optional

public remove(keys: Array<string>, callback?: Function)

Parameters

  • keys: Array<string>
  • callback?: Function optional

public set(items: Object, callback?: Function)

Parameters

  • items: Object
  • callback?: Function optional