Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
io.flutter.embedding.engine.systemchannels.SystemChannel Class Reference

Public Member Functions

 SystemChannel (@NonNull DartExecutor dartExecutor)
 
void sendMemoryPressureWarning ()
 

Public Attributes

final BasicMessageChannel< Object > channel
 

Detailed Description

TODO(mattcarroll): fill in javadoc for SystemChannel.

Definition at line 16 of file SystemChannel.java.

Constructor & Destructor Documentation

◆ SystemChannel()

io.flutter.embedding.engine.systemchannels.SystemChannel.SystemChannel ( @NonNull DartExecutor  dartExecutor)
inline

Definition at line 21 of file SystemChannel.java.

21 {
22 this.channel =
23 new BasicMessageChannel<>(dartExecutor, "flutter/system", JSONMessageCodec.INSTANCE);
24 }

Member Function Documentation

◆ sendMemoryPressureWarning()

void io.flutter.embedding.engine.systemchannels.SystemChannel.sendMemoryPressureWarning ( )
inline

Definition at line 26 of file SystemChannel.java.

26 {
27 Log.v(TAG, "Sending memory pressure warning to Flutter.");
28 Map<String, Object> message = new HashMap<>(1);
29 message.put("type", "memoryPressure");
31 }
Win32Message message
void Log(const char *format,...) SK_PRINTF_LIKE(1
Definition: TestRunner.cpp:137

Member Data Documentation

◆ channel

final BasicMessageChannel<Object> io.flutter.embedding.engine.systemchannels.SystemChannel.channel

Definition at line 19 of file SystemChannel.java.


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