UIConfiguration

@objc(THEOplayerUIConfiguration)
public class UIConfiguration : NSObject, Encodable

An object to configure UI.

Remark

Only configuring the localization for Google IMA is supported.
  • The language code string to be used for localizing Google IMA.

    Declaration

    Swift

    public private(set) var language: String { get }
  • Construct a UIConfiguration object.

    Remark

    The values passed should be in a ISO-3166 Alpha-2 or ccTLD format.

    Declaration

    Swift

    @objc
    public init(language: String)

    Parameters

    language

    Use a valid language code string (e.g. ‘es’ for Spanish) to be used for localizing Google IMA.