menu
tencent_rtc_plugin package
documentation
enums/gsensor_mode_enum.dart
GsensorModeTool
toInt static method
toInt static method
dark_mode
light_mode
toInt
static method
int
toInt
(
GsensorModeEnum
value
)
转换为常量类型
value
枚举
Return
转换结果
Implementation
static int toInt(GsensorModeEnum value) => value.index;
tencent_rtc_plugin package
documentation
enums/gsensor_mode_enum
GsensorModeTool
toInt static method
GsensorModeTool class