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(@Nullable 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 (@Nullable String locale)

Called when the current locale is received.

Remark:
Parameters:
locale

has optional type, it may be uninitialized.