OSSSpeechUtility

public class OSSSpeechUtility : NSObject

Undocumented

Variables

  • Change this property to your strings table name if you wish to override the SDK strings values in your app.

    Declaration

    Swift

    public var stringsTableName: String { get set }

Public Methods

  • A helper method that enables all Localized strings to be overridden by the main application.

    This method checks the main bundle for a Localized strings file. If one exists, the localized string name will be checked in that file. If one does not exist, the SDK string will be returned.

    If no name is passed in, a default obvious string will be returned. That value is: !&!&!&!&!&!&!&!&!&!&!&!&!&!&!

    Declaration

    Swift

    public func getString(forLocalizedName name: String, defaultValue: String) -> String

    Parameters

    name

    The key name of the localized string.

    comment

    The value for the key. If no key - value is found, the comment value will be used.

    Return Value

    A string with either the value from the main bundle or the SDK bundle, else the comment.