Class SettingsChannel
- java.lang.Object
-
- io.flutter.embedding.engine.systemchannels.SettingsChannel
-
public class SettingsChannel extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSettingsChannel.ConfigurationQueueA FIFO queue that maintains generations of configurations that are potentially used by the Flutter application.static classSettingsChannel.MessageBuilderstatic classSettingsChannel.PlatformBrightnessThe brightness mode of the host platform.
-
Field Summary
Fields Modifier and Type Field Description BasicMessageChannel<Object>channelstatic StringCHANNEL_NAME
-
Constructor Summary
Constructors Constructor Description SettingsChannel(DartExecutor dartExecutor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisplayMetricsgetPastDisplayMetrics(int configId)static booleanhasNonlinearTextScalingSupport()SettingsChannel.MessageBuilderstartMessage()
-
-
-
Field Detail
-
CHANNEL_NAME
public static final String CHANNEL_NAME
- See Also:
- Constant Field Values
-
channel
@NonNull public final BasicMessageChannel<Object> channel
-
-
Constructor Detail
-
SettingsChannel
public SettingsChannel(@NonNull DartExecutor dartExecutor)
-
-
Method Detail
-
hasNonlinearTextScalingSupport
public static boolean hasNonlinearTextScalingSupport()
-
getPastDisplayMetrics
public static DisplayMetrics getPastDisplayMetrics(int configId)
-
startMessage
@NonNull public SettingsChannel.MessageBuilder startMessage()
-
-