UOptionalMobileFeaturesBPLibrary

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OptionalMobileFeaturesBPLibrary

Header

/Engine/Plugins/Runtime/OptionalMobileFeaturesBPLibrary/Source/OptionalMobileFeaturesBPLibrary/Classes/OptionalMobileFeaturesBPLibrary.h

Include

#include "OptionalMobileFeaturesBPLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UOptionalMobileFeaturesBPLibrary : public UBlueprintFunctionLibrary

Constructors

Name Description

Public function

UOptionalMobileFeaturesBPLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

bool

 

AreHeadphonesPluggedIn()

Returns if headphones are plugged into the device

Public function Static UFunction BlueprintCallable, Category

int

 

GetBatteryLevel()

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

Public function Static UFunction BlueprintCallable, Category

float

 

GetBatteryTemperature()

Returns the device's temperature, in Celsius

Public function Static UFunction BlueprintCallable, Category

int

 

GetVolumeState()

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss