Class StorageItemMostRecentlyUsedList

Index

Properties

Methods

Properties

public entries: AccessListEntryView

public maximumItemsAllowed: number

public onitemremoved: any

Methods

public add(file: IStorageItem): string

Parameters

Returns

string

public add(file: IStorageItem, metadata: string): string

Parameters

Returns

string

public addOrReplace(token: string, file: IStorageItem)

Parameters

public addOrReplace(token: string, file: IStorageItem, metadata: string)

Parameters

public checkAccess(file: IStorageItem): boolean

Parameters

Returns

boolean

public clear()

public containsItem(token: string): boolean

Parameters

  • token: string

Returns

boolean

public getFileAsync(token: string): IAsyncOperation

Parameters

  • token: string

Returns

IAsyncOperation

public getFileAsync(token: string, options: AccessCacheOptions): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getFolderAsync(token: string): IAsyncOperation

Parameters

  • token: string

Returns

IAsyncOperation

public getFolderAsync(token: string, options: AccessCacheOptions): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getItemAsync(token: string): IAsyncOperation

Parameters

  • token: string

Returns

IAsyncOperation

public getItemAsync(token: string, options: AccessCacheOptions): IAsyncOperation

Parameters

Returns

IAsyncOperation

public remove(token: string)

Parameters

  • token: string