HERE iOS SDK Developer's Guide

NMAVoicePackage

Class Summary

class NMAVoicePackage

Derived from: NSObject

Return information about voice packages.

Include: NMAKit.framework/headers/NMAVoicePackage.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAVoicePackage

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] float  downloadSize

[readable, assign] NMAVoiceGender   gender

Gender of the voice package

[readable, assign] float  installationSize

[readable, assign] BOOL  installed

Check if the voice package is installed

[readable, weak] NSString *  language

Language of the installed voice package in English, nil if the voice package is not installed

[readable, weak] NSString *  languageCode

The BCP-47 language code representing the language of the package, nil if voice package is not available or BCP-47 language tag could not be found

[readable, assign] NSString *  localizedLanguage

Language of the voice package localized to the package locale, nil if it is not available

[readable, weak] NSString *  name

Name of the voice package localized to the package locale, nil if not available

[readable, assign] NSUInteger  packageId

Id of the voice package

[readable, assign] NSString *  quality

[readable, writable, assign] BOOL  removable

Indicates whether the voice package can be uninstalled

[readable, assign] BOOL  updateAvailable

Check if the voice package needs to be updated

Class Details

Return information about voice packages. Used in NMAVoiceCatalog.

Public Property Details

[readable, assign] float downloadSize

Size of the package after download to device, in number of megabytes

Returns -1 if the package is not available for download

[readable, assign] NMAVoiceGender  gender

Gender of the voice package.

[readable, assign] float installationSize

Size of the package after unzipping to device, in number of megabytes

[readable, assign] BOOL installed

Check if the voice package is installed. YES if installed; NO otherwise.

[readable, weak] NSString * language

Language of the installed voice package in English, nil if the voice package is not installed.

[readable, weak] NSString * languageCode

The BCP-47 language code representing the language of the package, nil if voice package is not available or BCP-47 language tag could not be found.

[readable, assign] NSString * localizedLanguage

Language of the voice package localized to the package locale, nil if it is not available.

[readable, weak] NSString * name

Name of the voice package localized to the package locale, nil if not available.

[readable, assign] NSUInteger packageId

Id of the voice package.

[readable, assign] NSString * quality

Indicate the quality of the voice if it is available; nil if voice quality is not available

[readable, writable, assign] BOOL removable

Indicates whether the voice package can be uninstalled. YES if can be uninstalled; NO otherwise

[readable, assign] BOOL updateAvailable

Check if the voice package needs to be updated. YES if the installed voice package and the voice package from the server in the voice catalog have different versions; NO otherwise

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.