Navigation
API > API/Developer > API/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 | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTargetDevice
(
TSharedPtr< ITargetDevice, ESPMode::ThreadSafe > InDevice |
Adds a flavor to this device. | |
| bool | Checks whether this service can start. | ||
| const FString & | GetClaimHost () |
Gets the name of the host that has a claim on the device. | |
| const FString & | GetClaimUser () |
Gets the name of the user that has a claim on the device. | |
| TSharedPtr< ITargetDevice, ESPMode::ThreadSafe > | Gets the target device for the supplied flavor, if no flavor is specified then the default device flavor is returned. | ||
| FString | Gets the name of the device that this service exposes. | ||
| FString | Gets the display name of the platform of device that this service exposes. | ||
| FName | 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 | Gets number of target devices. | ||
| void | RemoveTargetDevice
(
TSharedPtr< ITargetDevice, ESPMode::ThreadSafe > InDevice |
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. |