C# Class HidSharp.Platform.HidManager

Show file Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Methods

Method Description
GetDevices ( ) : IEnumerable
Init ( ) : void
Run ( ) : void

Protected Methods

Method Description
CompleteDevice ( object key, HidDevice device, object creationState ) : void
HidManager ( ) : System.Collections.Generic
Refresh ( ) : object[]
TryCreateDevice ( object key, HidDevice &device, object &creationState ) : bool

Private Methods

Method Description
RunImpl ( object readyEvent ) : void

Method Details

CompleteDevice() protected abstract method

protected abstract CompleteDevice ( object key, HidDevice device, object creationState ) : void
key object
device HidDevice
creationState object
return void

GetDevices() public method

public GetDevices ( ) : IEnumerable
return IEnumerable

HidManager() protected method

protected HidManager ( ) : System.Collections.Generic
return System.Collections.Generic

Init() public method

public Init ( ) : void
return void

Refresh() protected abstract method

protected abstract Refresh ( ) : object[]
return object[]

Run() public method

public Run ( ) : void
return void

TryCreateDevice() protected abstract method

protected abstract TryCreateDevice ( object key, HidDevice &device, object &creationState ) : bool
key object
device HidDevice
creationState object
return bool