Class: ImageCache

ImageCache()

new ImageCache()

Properties:
Name Type Description
limit Number [static]

Methods

add(key, value)

Parameters:
Name Type Description
key String
value Bitmap

get(key) → {null|Bitmap}

Parameters:
Name Type Description
key String
Returns:
Type
null | Bitmap

getErrorBitmap() → {null|Bitmap}

Returns:
Type
null | Bitmap

initialize()

isReady() → {Boolean}

Returns:
Type
Boolean

releaseReservation(reservationId)

Parameters:
Name Type Description
reservationId Number

reserve(key, value, reservationId)

Parameters:
Name Type Description
key String
value Bitmap
reservationId Number