/Engine/Source/Developer/TargetDeviceServices/Public/ITargetDeviceService.h
Gets the target device for the supplied flavor, if no flavor is specified then the default device flavor is returned.
A pointer to the target device.
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [ITargetDevice](API\Developer\TargetPlatform\Interfaces\ITargetDevice), ESPMode::ThreadSafe > GetDevice ( [FName](API\Runtime\Core\UObject\FName) InFlavor ) const