IrSensorPlugin class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
getCarrierFrequencies
→ Future<
String> -
Query the infrared transmitter's supported carrier frequencies in
Hertz
.no setter -
hasIrEmitter
→ Future<
bool> -
Check whether the device has an infrared emitter.
no setter
-
platformVersion
→ Future<
String> -
no setter
Static Methods
-
setFrequencies(
int newFrequencie) → Future< String> - Change the frequency with which it is transmitted. Default is 38020 Hz
-
transmitListInt(
{required List< int> list}) → Future<String> - This method receives a Int List
-
transmitString(
{required String pattern}) → Future< String> - It transmits an infrared pattern, return a String "Emitting" if there was no problem in the process.