Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/ITargetDevice
Description
Checks if connections using the given ProtocolIndex are available for this device at the moment. If this function returns true, it means that OpenConnection should succeed and communication with a game running on the target should be possible.
| Name | IsProtocolAvailable |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetDevice.h |
| Include Path | #include "Interfaces/ITargetDevice.h" |
virtual bool IsProtocolAvailable
(
uint32 ProtocolIndex
) const
True if the protocol is available and we can connect to the device, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| ProtocolIndex | Unique index of the communication channel (from 0 to a platform-dependent maximum). |