HERE iOS SDK Developer's Guide

<NMAStreetLevelLocalizationDelegate>

Protocol Summary

protocol <NMAStreetLevelLocalizationDelegate>

Derived from: <NSObject>

NMAStreetLevelView Localization Delegate.

Include: NMAKit.framework/headers/NMAStreetLevelView.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for <NMAStreetLevelLocalizationDelegate> – <NMAStreetLevelLocalizationDelegate>

[For complete information, see the section Protocol Details]

See also:

NMAStreetLevelLocalizedStringId

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

- @optional (NSString *) streetLevelView:( NMAStreetLevelView *) view localizedStringForStringId:( NMAStreetLevelLocalizedStringId ) localizedStringId

Protocol Details

NMAStreetLevelView Localization Delegate.

This delegate may be used to override the UI strings presented by the standard Here SDK Street Level View UIViews.

This is provided to allow the Street Level View "Report an Issue" UI flow to be localized to the languages your app supports. If you do not implement this protocol the Street View "Report an Issue" UI flow will be presented in English only.

See also:

NMAStreetLevelLocalizedStringId

Instance Method Details

- @optional (NSString *) streetLevelView:( NMAStreetLevelView *) view localizedStringForStringId:( NMAStreetLevelLocalizedStringId ) localizedStringId

A callback used to provide NMAStreetLevelView with a localized string

You should use this callback to provide localized strings for the languages your app supports.

Parameters:

  • view

    NMAStreetLevelView requesting the localized string

  • localizedStringId

    NMAStreetLevelLocalizedStringId representing the string to be localized.

Returns:

String localized to the current language. Return nil or an empty string if no localization is available (The UI will display English in this case).