HereSDKUserPreferences

@interface HereSDKUserPreferences : NSObject

Class representing user preferences of the SDK

  • The client’s locale.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSLocale *_Nonnull locale;

    Swift

    var locale: Locale { get }
  • Creates HereSDKUserPreferences object

    Declaration

    Objective-C

    + (nonnull instancetype)userPreferencesWithLocale:(nonnull NSLocale *)locale;

    Swift

    convenience init(locale: Locale)

    Parameters

    locale

    The client’s locale.