Class IR
Definition
- Namespace:
- Tizen.System
- Assembly:
- Tizen.System.dll
- API Level:
- 3
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/use_ir
The IR API provides the functions to control the IR transmitter. The IR API provides the way to get the information if IR is available and then transmit the IR command.
C#Copypublic static class IR : object
- Inheritance
-
IR
Examples
CopyConsole.WriteLine("IR availability for this device is: {0}", IR.IsAvailable);
Properties
Declaration
C#Copypublic static bool IsAvailable { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
Methods
Declaration
C#Copypublic static void Transmit(int carrierFreequency, IList<int> pattern)
Parameters
Type | Name | Description |
---|---|---|
Int32 | carrierFreequency | The carrier frequency to transmit the IR command (Hertz). |
IList<Int32> | pattern | The IR command list of type integer. |
Examples
Copytry { List<int> pattern = new List<int>(); pattern.Add(10); pattern.Add(50); IR.Transmit(60657, pattern); } catch(Exception e) { }