Interface LocaleListener

com.yandex.runtime.i18n

public interface LocaleListener

Methods

void onLocaleError(@NonNull Error error)

Called when there is an error retrieving the current locale.

void onLocaleReceived(@NonNull String locale)

Called when the current locale is received.

Method Detail

onLocaleError

public void onLocaleError (@NonNull Error error)

Called when there is an error retrieving the current locale.

onLocaleReceived

public void onLocaleReceived (@NonNull String locale)

Called when the current locale is received.