Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.embedding.engine.systemchannels.LocalizationChannel.LocalizationMessageHandler Interface Reference

Public Member Functions

String getStringResource (@NonNull String key, @NonNull String locale)
 

Detailed Description

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).

Definition at line 106 of file LocalizationChannel.java.

Member Function Documentation

◆ getStringResource()

String io.flutter.embedding.engine.systemchannels.LocalizationChannel.LocalizationMessageHandler.getStringResource ( @NonNull String  key,
@NonNull String  locale 
)

The Flutter application would like to obtain the string resource of given key in locale.


The documentation for this interface was generated from the following file: