Język

ConsumerIrManager.TransmitAsync(Int32, Int32[]) Method

Definition

Runs infrared pattern transmission as a task.

public System.Threading.Tasks.Task TransmitAsync(int carrierFrequency, int[]? pattern);
member this.TransmitAsync : int * int[] -> System.Threading.Tasks.Task

Parameters

carrierFrequency
Int32

The infrared carrier frequency in hertz.

pattern
Int32[]

The alternating on and off durations, in microseconds, to transmit.

Returns

A task that represents the call to the synchronous transmission method.

Remarks

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