unreal.OptionalMobileFeaturesBPLibrary
¶
- class unreal.OptionalMobileFeaturesBPLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Optional Mobile Features BPLibrary
C++ Source:
Plugin: OptionalMobileFeaturesBPLibrary
Module: OptionalMobileFeaturesBPLibrary
File: OptionalMobileFeaturesBPLibrary.h
- classmethod are_headphones_plugged_in() bool ¶
Returns if headphones are plugged into the device
- Return type:
- classmethod get_battery_level() int32 ¶
Returns the current battery level of the device in a range of [0, 100]
- Return type:
int32
- classmethod get_battery_temperature() float ¶
Returns the device’s temperature, in Celsius
- Return type:
- classmethod get_volume_state() int32 ¶
Returns the current volume state of the device in a range of 0-100 (%)
- Return type:
int32