Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 2.71 KB

local-preference-cloud.service.md

File metadata and controls

51 lines (42 loc) · 2.71 KB
Title Added Status Last reviewed
Local Preference Cloud Service
v3.4.0
Experimental
2019-08-06

Manages Local Storage preferences.

Class members

Methods

  • createPreference(_: string, key: string, newPreference: any): Observable<any>
    Creates local preference.

    • _: string - Name of the target app
    • key: string - Key of the target preference
    • newPreference: any - Details of new local preference
    • Returns Observable<any> - Observable of created local preferences
  • deletePreference(key: string, preferences: any): Observable<any>
    Deletes local preference by given preference key.

    • key: string - Key of the target preference
    • preferences: any - Details of updated preferences
    • Returns Observable<any> - Observable of preferences without deleted preference
  • getPreferenceByKey(_: string, key: string): Observable<any>
    Gets local preference.

    • _: string - Name of the target app
    • key: string - Key of the target preference
    • Returns Observable<any> - Observable of local preference
  • getPreferences(_: string, key: string): Observable<any>
    Gets local preferences

    • _: string - Name of the target app
    • key: string - Key of the target preference
    • Returns Observable<any> - List of local preferences
  • prepareLocalPreferenceResponse(key: string): any

    • key: string -
    • Returns any -
  • updatePreference(_: string, key: string, updatedPreference: any): Observable<any>
    Updates local preference.

    • _: string - Name of the target app
    • key: string - Key of the target preference
    • updatedPreference: any - Details of updated preference
    • Returns Observable<any> - Observable of updated local preferences

See also