ITargetDevice::IsProtocolAvailable

Checks if connections using the given ProtocolIndex are available for this device at the moment.

Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > ITargetDevice

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetDevice.h
Include #include "Interfaces/ITargetDevice.h"
virtual bool IsProtocolAvailable
(
    uint32 ProtocolIndex
) const

Remarks

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. True if the protocol is available and we can connect to the device, false otherwise.

Parameters

Name Description
ProtocolIndex Unique index of the communication channel (from 0 to a platform-dependent maximum).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library