Method | Description | |
---|---|---|
Learn ( CodeFormat codeFormat = null, LearnCodeModifier learnCodeFormat = null, uint forcedFrequency = null, System.TimeSpan timeout = null ) : string |
Learns an IR code synchronously.
|
|
LearnAsync ( CodeFormat codeFormat = null, LearnCodeModifier learnCodeModifier = null, uint forcedFrequency = null, object userState = null ) : Task |
Learns an IR code asynchronously.
|
|
LearnAsyncCancel ( object userState ) : bool |
Cancels a LearnAsync() operation that was passed the specified userState.
|
|
LearnAsyncCancel ( ) : void |
Cancels a LearnAsync() operation.
|
|
Learner ( CodeFormat defaultCodeFormat = CodeFormat.Pronto, LearnCodeModifier defaultLearnCodeModifier = LearnCodeModifier.Default ) : System | ||
Learner ( Driver driver, CodeFormat defaultCodeFormat = CodeFormat.Pronto, LearnCodeModifier defaultLearnCodeModifier = LearnCodeModifier.Default ) : System |
Method | Description | |
---|---|---|
LearnCallbackProc ( uint progress, uint sigQuality, uint carrierFreq, |
||
LearnInternal ( object state ) : string | ||
UUIRTLearnIR ( |
public Learn ( CodeFormat codeFormat = null, LearnCodeModifier learnCodeFormat = null, uint forcedFrequency = null, System.TimeSpan timeout = null ) : string | ||
codeFormat | CodeFormat | The format of the IR code to use in learning. |
learnCodeFormat | LearnCodeModifier | The modifier used for the code format. |
forcedFrequency | uint | The frequency to use in learning. |
timeout | System.TimeSpan | The timeout after which to abort learning if it has not completed. |
return | string |
public LearnAsync ( CodeFormat codeFormat = null, LearnCodeModifier learnCodeModifier = null, uint forcedFrequency = null, object userState = null ) : Task |
||
codeFormat | CodeFormat | The format of the IR code to use in learning. |
learnCodeModifier | LearnCodeModifier | The modifier used for the code format. |
forcedFrequency | uint | The frequency to use in learning. |
userState | object | An optional user state object that will be passed to the /// Learning and LearnCompleted events and which can be used when calling LearnAsyncCancel(). |
return | Task |
public LearnAsyncCancel ( object userState ) : bool | ||
userState | object | The optional userState object passed to LearnAsync(). |
return | bool |
public Learner ( CodeFormat defaultCodeFormat = CodeFormat.Pronto, LearnCodeModifier defaultLearnCodeModifier = LearnCodeModifier.Default ) : System | ||
defaultCodeFormat | CodeFormat | |
defaultLearnCodeModifier | LearnCodeModifier | |
return | System |
public Learner ( Driver driver, CodeFormat defaultCodeFormat = CodeFormat.Pronto, LearnCodeModifier defaultLearnCodeModifier = LearnCodeModifier.Default ) : System | ||
driver | Driver | |
defaultCodeFormat | CodeFormat | |
defaultLearnCodeModifier | LearnCodeModifier | |
return | System |