Interface LocalizationChannel.LocalizationMessageHandler

Enclosing class:
LocalizationChannel

public static interface LocalizationChannel.LocalizationMessageHandler
Handler that receives platform messages sent from Flutter to Android through a given PlatformChannel.

To register a LocalizationMessageHandler with a PlatformChannel, see LocalizationChannel.setLocalizationMessageHandler(LocalizationMessageHandler).

  • Method Summary

    Modifier and Type
    Method
    Description
    The Flutter application would like to obtain the string resource of given key in locale.
  • Method Details

    • getStringResource

      @NonNull String getStringResource(@NonNull String key, @NonNull String locale)
      The Flutter application would like to obtain the string resource of given key in locale.