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

Returns:
Return type:bool
classmethod get_battery_level() → int32

Returns the current battery level of the device in a range of [0, 100]

Returns:
Return type:int32
classmethod get_battery_temperature() → float

Returns the device’s temperature, in Celsius

Returns:
Return type:float
classmethod get_volume_state() → int32

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

Returns:
Return type:int32