Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/OptionalMobileFeaturesBPLibrary/Source/OptionalMobileFeaturesBPLibrary/Classes/OptionalMobileFeaturesBPLibrary.h |
Include |
#include "OptionalMobileFeaturesBPLibrary.h" |
UCLASS()
class UOptionalMobileFeaturesBPLibrary : public UBlueprintFunctionLibrary
Name | Description | |
---|---|---|
|
UOptionalMobileFeaturesBPLibrary ( |
Name | Description | ||
---|---|---|---|
|
AreHeadphonesPluggedIn() |
Returns if headphones are plugged into the device |
|
|
int |
GetBatteryLevel() |
Returns the current battery level of the device in a range of [0, 100] |
|
float |
GetBatteryTemperature() |
Returns the device's temperature, in Celsius |
|
int |
GetVolumeState() |
Returns the current volume state of the device in a range of 0-100 (%) |