Condividi tramite


ConsumerIrManager.Transmit(Int32, Int32[]) Method

Definition

Transmit an infrared pattern

[Android.Runtime.Register("transmit", "(I[I)V", "")]
public void Transmit (int carrierFrequency, int[]? pattern);
[<Android.Runtime.Register("transmit", "(I[I)V", "")>]
member this.Transmit : int * int[] -> unit

Parameters

carrierFrequency
Int32

The IR carrier frequency in Hertz.

pattern
Int32[]

The alternating on/off pattern in microseconds to transmit.

Attributes

Remarks

Transmit an infrared pattern

This method is synchronous; when it returns the pattern has been transmitted. Only patterns shorter than 2 seconds will be transmitted.

Java documentation for android.hardware.ConsumerIrManager.transmit(int, int[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to