Show / Hide Table of Contents

Delegate GameConnectionWidget.GameConnectionDeviceAction

A shorthand for a connect/disconnect action with a game connection for a specific device.

Namespace: Phoenix.Controls.GameConnection
Assembly: Phoenix.Controls.GameConnection.dll
Syntax
public delegate Task<bool> GameConnectionDeviceAction(GameConnectionConfiguration config, IDevice targetDevice, CancellationToken token);
Parameters
Type Name Description
GameConnectionConfiguration config

The configuration information.

IDevice targetDevice

The target device.

System.Threading.CancellationToken token

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

A task that returns a value indicating whether or not the action was successful.

  • View Source
In This Article
Back to top Generated by DocFX