The possible desired orientations of a Flutter application.
Definition at line 615 of file PlatformChannel.java.
◆ DeviceOrientation()
io.flutter.embedding.engine.systemchannels.PlatformChannel.DeviceOrientation.DeviceOrientation |
( |
@NonNull String |
encodedName | ) |
|
|
inline |
◆ fromValue()
static DeviceOrientation io.flutter.embedding.engine.systemchannels.PlatformChannel.DeviceOrientation.fromValue |
( |
@NonNull String |
encodedName | ) |
throws NoSuchFieldException |
|
inlinestatic |
Definition at line 622 of file PlatformChannel.java.
622 {
624 if (orientation.encodedName.equals(encodedName)) {
625 return orientation;
626 }
627 }
628 throw new NoSuchFieldException("No such DeviceOrientation: " + encodedName);
629 }
◆ LANDSCAPE_LEFT
io.flutter.embedding.engine.systemchannels.PlatformChannel.DeviceOrientation.LANDSCAPE_LEFT =("DeviceOrientation.landscapeLeft") |
◆ LANDSCAPE_RIGHT
io.flutter.embedding.engine.systemchannels.PlatformChannel.DeviceOrientation.LANDSCAPE_RIGHT =("DeviceOrientation.landscapeRight") |
◆ PORTRAIT_DOWN
io.flutter.embedding.engine.systemchannels.PlatformChannel.DeviceOrientation.PORTRAIT_DOWN =("DeviceOrientation.portraitDown") |
◆ PORTRAIT_UP
io.flutter.embedding.engine.systemchannels.PlatformChannel.DeviceOrientation.PORTRAIT_UP =("DeviceOrientation.portraitUp") |
The documentation for this enum was generated from the following file: