Class ImageCachePolicy

A class that specifies how a remote image should be cached and for how long.

Hierarchy

  • FrameworkObject
    • ImageCachePolicy

Constructors

Accessors

Methods

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns ImageCachePolicy

Accessors

  • get isForever(): boolean
  • Returns boolean

  • get isNever(): boolean
  • Returns boolean

  • get isTimed(): boolean
  • Returns boolean

Methods

  • Makes a new "Timed" policy with a number of seconds before the cached value times out..

    Parameters

    • seconds: number

    Returns ImageCachePolicy