Méthode | Description | |
---|---|---|
Transmit ( string irCode, Emitter emitter = null, CodeFormat codeFormat = null, int repeatCount = null, int inactivityWaitTime = null ) : void |
Transmits an IR code synchronously.
|
|
TransmitAsync ( string irCode, object userState = null, Emitter emitter = null, CodeFormat codeFormat = null, int repeatCount = null, int inactivityWaitTime = null ) : Task |
Transmits an IR code asynchronously.
|
|
Transmitter ( Driver driver, Emitter defaultEmitter = Emitter.All, CodeFormat defaultCodeFormat = CodeFormat.Pronto, int defaultRepeatCount = 1, int defaultInactivityWaitTime ) : System |
Creates an instance of the Transmitter class that can be used to transmit IR codes.
|
|
Transmitter ( Emitter defaultEmitter = Emitter.All, CodeFormat defaultCodeFormat = CodeFormat.Pronto, int defaultRepeatCount = 1, int defaultInactivityWaitTime ) : System |
Creates an instance of the Transmitter class that can be used to transmit IR codes. This class should be disposed if using this constructor. |
Méthode | Description | |
---|---|---|
TransmitInternal ( string irCode, CodeFormat codeFormat, int repeatCount, int inactivityWaitTime, Emitter emitter ) : void | ||
UUIRTTransmitIR ( |
public Transmit ( string irCode, Emitter emitter = null, CodeFormat codeFormat = null, int repeatCount = null, int inactivityWaitTime = null ) : void | ||
irCode | string | The IR code to transmit. |
emitter | Emitter | The emitter to transmit the IR code with |
codeFormat | CodeFormat | The format of the IR code. |
repeatCount | int | Indicates how many iterations of the code should be /// sent (in the case of a 2-piece code, the first stream is sent once followed /// by the second stream sent repeatCount times). |
inactivityWaitTime | int | Time in milliseconds since the last received /// IR activity to wait before sending an IR code. Normally, pass 0 for this parameter. |
Résultat | void |
public TransmitAsync ( string irCode, object userState = null, Emitter emitter = null, CodeFormat codeFormat = null, int repeatCount = null, int inactivityWaitTime = null ) : Task | ||
irCode | string | The IR code to transmit. |
userState | object | An optional user state object that will be passed to the /// TransmitCompleted event. |
emitter | Emitter | The emitter to transmit the IR code with |
codeFormat | CodeFormat | The format of the IR code. |
repeatCount | int | Indicates how many iterations of the code should be /// sent (in the case of a 2-piece code, the first stream is sent once followed /// by the second stream sent repeatCount times). |
inactivityWaitTime | int | Time in milliseconds since the last received /// IR activity to wait before sending an IR code. Normally, pass 0 for this parameter. |
Résultat | Task |
public Transmitter ( Driver driver, Emitter defaultEmitter = Emitter.All, CodeFormat defaultCodeFormat = CodeFormat.Pronto, int defaultRepeatCount = 1, int defaultInactivityWaitTime ) : System | ||
driver | Driver | An instance of a driver that can be shared among components. |
defaultEmitter | Emitter | The emitter to transmit the IR code with |
defaultCodeFormat | CodeFormat | The format of the IR code. |
defaultRepeatCount | int | Indicates how many iterations of the code should be /// sent (in the case of a 2-piece code, the first stream is sent once followed /// by the second stream sent repeatCount times). |
defaultInactivityWaitTime | int | Time in milliseconds since the last received /// IR activity to wait before sending an IR code. Normally, pass 0 for this parameter. |
Résultat | System |
public Transmitter ( Emitter defaultEmitter = Emitter.All, CodeFormat defaultCodeFormat = CodeFormat.Pronto, int defaultRepeatCount = 1, int defaultInactivityWaitTime ) : System | ||
defaultEmitter | Emitter | The emitter to transmit the IR code with |
defaultCodeFormat | CodeFormat | The format of the IR code. |
defaultRepeatCount | int | Indicates how many iterations of the code should be /// sent (in the case of a 2-piece code, the first stream is sent once followed /// by the second stream sent repeatCount times). |
defaultInactivityWaitTime | int | Time in milliseconds since the last received /// IR activity to wait before sending an IR code. Normally, pass 0 for this parameter. |
Résultat | System |