Navigation
Unreal Engine C++ API Reference > Developer > TargetDeviceServices
References
Module | TargetDeviceServices |
Header | /Engine/Source/Developer/TargetDeviceServices/Public/ITargetDeviceService.h |
Include | #include "ITargetDeviceService.h" |
Syntax
class ITargetDeviceService
Remarks
Interface for target device services.
Device services make locally connected or discovered network target devices available over the network. Remote clients communicate with device services through a target device proxy.
Destructors
Type | Name | Description |
---|---|---|
~ITargetDeviceService () | Virtual destructor. |
Functions
Type | Name | Description |
---|---|---|
void | AddTargetDevice ( TSharedPtr< ITargetDevice, ESPMode:... ) | Adds a flavor to this device. |
bool | CanStart ( FName InFlavor ) | Checks whether this service can start. |
const FStrin... | GetClaimHost () | Gets the name of the host that has a claim on the device. |
const FStrin... | GetClaimUser () | Gets the name of the user that has a claim on the device. |
TSharedPtr< ... | GetDevice ( FName InFlavor ) | Gets the target device for the supplied flavor, if no flavor is specified then the default device flavor is returned. |
FString | GetDeviceName () | Gets the name of the device that this service exposes. |
FString | GetDevicePlatformDisplayName () | Gets the display name of the platform of device that this service exposes. |
FName | GetDevicePlatformName () | Gets the name of the platform of device that this service exposes. |
bool | IsRunning () | Checks whether the service is currently running. |
bool | IsShared () | Checks whether the device is being shared with other users. |
int32 | NumTargetDevices () | Gets number of target devices. |
void | RemoveTargetDevice ( TSharedPtr< ITargetDevice, ESPMode:... ) | Removes a flavor from this device. |
void | SetShared ( bool InShared ) | Sets whether the device should be shared with other users. |
bool | Start () | Starts the service. |
void | Stop () | Stops the service. |