unreal.OptionalMobileFeaturesBPLibrary

class unreal.OptionalMobileFeaturesBPLibrary(outer=None, name='None')

Bases: unreal.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

bool

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

float

classmethod get_volume_state() int32

Returns the current volume state of the device in a range of 0-100 (%)

Return type

int32