Region Code Management Class
interface IAreaCodeManager
Description: Region Code Management Class
method onDeviceDestroy
abstract fun onDeviceDestroy()
Description: Device destruction.
Input Parameters: None.
Output Parameters: None.
Related Parameters: None.
method addAreaCodeChangeListener
fun addAreaCodeChangeListener(listener: AreaCodeChangeListener)
Description: Registers a listener.
Input Parameters: listener:Listener [AreaCodeChangeListener]
Output Parameters: None.
Related Parameters: AreaCodeChangeListener
method removeAreaCodeChangeListener
fun removeAreaCodeChangeListener(listener: AreaCodeChangeListener)
Description: Unregisters a listener.
Input Parameters: listener:Listener [AreaCodeChangeListener]
Output Parameters: None.
Related Parameters: AreaCodeChangeListener
method setAreaCodeStrategy
fun setAreaCodeStrategy(strategy: IAreaCodeStrategy)
Description: Sets the region code strategy.
Input Parameters: strategy:Strategy [IAreaCodeStrategy]
Output Parameters: None.
Related Parameters: IAreaCodeStrategy
method clearAllListeners
fun clearAllListeners()
Description: Removes all listeners.
Input Parameters: None.
Output Parameters: None.
Related Parameters: None.
method getAreaCode
fun getAreaCode(): AreaCodeData?
Description: Gets the region code.
Input Parameters: None.
Output Parameters: AreaCodeData
Related Parameters: AreaCodeData
method refreshAreaCode
fun refreshAreaCode()
Description: Refreshes the region code.
Input Parameters: None.
Output Parameters: None.
Related Parameters: None.
method destroy
fun destroy()
Description: Destroys the manager.
Input Parameters: None.
Output Parameters: None.
Related Parameters: None.