qnx.locale.ILocaleResourceLoader

ILocaleResourceLoader

Methods


Packageqnx.locale
Interfacepublic interface ILocaleResourceLoader

The ILocaleResouceLoader interface can be use to add custom resource loaders to the standard Locale resource loading which happens when the locale changes. This allows applications or libraries to load resources before the locale change event is fired.

Class information:
PlayBook Tablet OS Version:   1.0.6

See also

LocaleManager.addResourceLoader



Public Methods

 MethodDefined By
  
load(locale:Locale):IEventDispatcher
Begin loading a resource bundle.
ILocaleResourceLoader

Method Detail

load()


public function load(locale:Locale):IEventDispatcher

Begin loading a resource bundle. Each call to this method returns a new event-dispatching object the LocaleManager uses to determine whether it completes successfully or results in an error. This object should dispatch flash.events.Event.Complete and flash.events.IOErrorEvent.IO_ERROR events.

Parameters

locale:Locale

Returns

IEventDispatcher — The IEventDispatcher used to dispatch load completion or error, or null if the loader can handle the request synchronously.