Navigation
API > API/Developer > API/Developer/TargetDeviceServices
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.
| Name | ITargetDeviceService |
| Type | class |
| Header File | /Engine/Source/Developer/TargetDeviceServices/Public/ITargetDeviceService.h |
| Include Path | #include "ITargetDeviceService.h" |
Syntax
class ITargetDeviceService
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ITargetDeviceService() |
Virtual destructor. | ITargetDeviceService.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddTargetDevice
(
TSharedPtr< ITargetDevice, ESPMode::ThreadSafe > InDevice |
Adds a flavor to this device. | ITargetDeviceService.h | |
| Checks whether this service can start. | ITargetDeviceService.h | ||
const FString & GetClaimHost() |
Gets the name of the host that has a claim on the device. | ITargetDeviceService.h | |
const FString & GetClaimUser() |
Gets the name of the user that has a claim on the device. | ITargetDeviceService.h | |
TSharedPtr< ITargetDevice, ESPMode::ThreadSafe > GetDevice
(
FName InFlavor |
Gets the target device for the supplied flavor, if no flavor is specified then the default device flavor is returned. | ITargetDeviceService.h | |
FString GetDeviceName() |
Gets the name of the device that this service exposes. | ITargetDeviceService.h | |
FString GetDevicePlatformDisplayName() |
Gets the display name of the platform of device that this service exposes. | ITargetDeviceService.h | |
FName GetDevicePlatformName() |
Gets the name of the platform of device that this service exposes. | ITargetDeviceService.h | |
bool IsRunning() |
Checks whether the service is currently running. | ITargetDeviceService.h | |
bool IsShared () |
Checks whether the device is being shared with other users. | ITargetDeviceService.h | |
int32 NumTargetDevices() |
Gets number of target devices. | ITargetDeviceService.h | |
void RemoveTargetDevice
(
TSharedPtr< ITargetDevice, ESPMode::ThreadSafe > InDevice |
Removes a flavor from this device. | ITargetDeviceService.h | |
void SetShared
(
bool InShared |
Sets whether the device should be shared with other users. | ITargetDeviceService.h | |
bool Start () |
Starts the service. | ITargetDeviceService.h | |
void Stop () |
Stops the service. | ITargetDeviceService.h |