Navigation
API > API/Plugins > API/Plugins/OptionalMobileFeaturesBPLibrary
| Name | UOptionalMobileFeaturesBPLibrary |
| Type | class |
| Header File | /Engine/Plugins/Runtime/OptionalMobileFeaturesBPLibrary/Source/OptionalMobileFeaturesBPLibrary/Classes/OptionalMobileFeaturesBPLibrary.h |
| Include Path | #include "OptionalMobileFeaturesBPLibrary.h" |
Syntax
UCLASS ()
class UOptionalMobileFeaturesBPLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UOptionalMobileFeaturesBPLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UOptionalMobileFeaturesBPLibrary
(
const FObjectInitializer& ObjectInitializer |
OptionalMobileFeaturesBPLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreHeadphonesPluggedIn() |
Returns if headphones are plugged into the device | OptionalMobileFeaturesBPLibrary.h |
|
static int GetBatteryLevel() |
Returns the current battery level of the device in a range of [0, 100] | OptionalMobileFeaturesBPLibrary.h |
|
static float GetBatteryTemperature() |
Returns the device's temperature, in Celsius | OptionalMobileFeaturesBPLibrary.h |
|
static int GetVolumeState() |
Returns the current volume state of the device in a range of 0-100 (%) | OptionalMobileFeaturesBPLibrary.h |
|