Navigation
API > API/Developer > API/Developer/TargetDeviceServices > API/Developer/TargetDeviceServices/ITargetDeviceService
Description
Sets whether the device should be shared with other users.
If a device is shared, the device proxies of all users on the network can discover and use the device.
| Name | SetShared |
| Type | function |
| Header File | /Engine/Source/Developer/TargetDeviceServices/Public/ITargetDeviceService.h |
| Include Path | #include "ITargetDeviceService.h" |
void SetShared
(
bool InShared
)
Parameters
| Name | Remarks |
|---|---|
| InShared | Indicates whether device sharing is enabled. |