|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
Objectcom.docomostar.device.IrRemoteControl
public class IrRemoteControl
IRリモートコントローラ機能を提供します。 アプリケーションは getIrRemoteControl メソッドを利用して IrRemoteControl クラスのただ1つのインスタンスを持つことができます。 設定されたキャリア、論理パルス情報は赤外線の通信中か否かによらず、 その後の send メソッド呼び出し時に利用されます。
IrRemoteControlFrame| フィールドの概要 | |
|---|---|
static int |
PATTERN_HL
コードの出力パターンがHigh 先行を表します(=0)。 |
static int |
PATTERN_LH
コードの出力パターンがLow 先行を表します(=1)。 |
| コンストラクタの概要 | |
|---|---|
protected |
IrRemoteControl()
アプリケーションが直接このクラスのインスタンスを生成することはできません。 |
| メソッドの概要 | |
|---|---|
static IrRemoteControl |
getIrRemoteControl()
IR リモートコントローラオブジェクトを取得します。 |
void |
send(int numFrames,
IrRemoteControlFrame[] frames)
デフォルトのタイムアウト値(10sec)で信号を送信します。 |
void |
send(int numFrames,
IrRemoteControlFrame[] frames,
int timeout)
タイムアウト値を指定して信号を送信します。 |
void |
send(int numFrames,
IrRemoteControlFrame[] frames,
int timeout,
int count)
タイムアウト値、送信する回数を指定して信号を送信します。 |
void |
setCarrier(int highDuration,
int lowDuration)
キャリア情報を設定します。 |
void |
setCode0(int pattern,
int highDuration,
int lowDuration)
論理0パルス情報を設定します。 |
void |
setCode1(int pattern,
int highDuration,
int lowDuration)
論理1パルス情報を設定します。 |
void |
stop()
Ir 信号の送信を停止します。 |
| クラス Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final int PATTERN_HL
public static final int PATTERN_LH
| コンストラクタの詳細 |
|---|
protected IrRemoteControl()
| メソッドの詳細 |
|---|
public static IrRemoteControl getIrRemoteControl()
UnsupportedOperationException -
public void send(int numFrames,
IrRemoteControlFrame[] frames,
int timeout)
numFrames - 送信データのフレーム数(1以上)を指定します。frames - 送信データフレームの配列を指定します。timeout - タイムアウト値(sec)を指定します。
IllegalStateException -
NullPointerException -
IllegalArgumentException -
ArrayIndexOutOfBoundsException -
NullPointerException -
ArrayIndexOutOfBoundsException -
IllegalArgumentException -
IllegalArgumentException -
IllegalArgumentException -
SecurityException -
DeviceException - DeviceException - DeviceException - DeviceException - DeviceException - LocationProvider.setTrackingListener(TrackingListener listener,
int interval, int timeout)
の引数 listener に、null 以外が設定されている場合も含みます。
DeviceException -
public void send(int numFrames,
IrRemoteControlFrame[] frames)
numFrames - 送信データのフレーム数(1以上)を指定します。frames - 送信データフレームの配列を指定します。
IllegalStateException -
NullPointerException -
ArrayIndexOutOfBoundsException -
NullPointerException -
ArrayIndexOutOfBoundsException -
IllegalArgumentException -
IllegalArgumentException -
IllegalArgumentException -
SecurityException -
DeviceException - DeviceException - DeviceException - DeviceException - DeviceException - LocationProvider.setTrackingListener(TrackingListener listener,
int interval, int timeout)
の引数 listener に、null 以外が設定されている場合も含みます。
DeviceException -
public void send(int numFrames,
IrRemoteControlFrame[] frames,
int timeout,
int count)
numFrames - 送信データのフレーム数(1以上)を指定します。frames - 送信データフレームの配列を指定します。timeout - タイムアウト値(sec)を指定します。count - 信号を送信する回数を指定します。
IllegalStateException -
NullPointerException -
IllegalArgumentException -
IllegalArgumentException -
ArrayIndexOutOfBoundsException -
NullPointerException -
ArrayIndexOutOfBoundsException -
IllegalArgumentException -
IllegalArgumentException -
IllegalArgumentException -
SecurityException -
DeviceException - DeviceException - DeviceException - DeviceException - DeviceException - LocationProvider.setTrackingListener(TrackingListener listener,
int interval, int timeout)
の引数 listener に、null 以外が設定されている場合も含みます。
DeviceException - public void stop()
public void setCarrier(int highDuration,
int lowDuration)
highDuration - キャリアHigh時間(0.1 usec)。lowDuration - キャリアLow時間(0.1 usec)。
IllegalArgumentException -
public void setCode0(int pattern,
int highDuration,
int lowDuration)
PATTERN_HL,
PATTERN_LH のいずれかです。
pattern - 出力パターン。highDuration - 論理0High時間(usec)。lowDuration - 論理0Low時間(usec)。
IllegalArgumentException -
IllegalArgumentException -
public void setCode1(int pattern,
int highDuration,
int lowDuration)
PATTERN_HL,
PATTERN_LH のいずれかです。
pattern - 出力パターン。highDuration - 論理1High時間(usec)。lowDuration - 論理1Low時間(usec)。
IllegalArgumentException -
IllegalArgumentException -
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
NTT DOCOMO,INC.
本製品または文書は著作権法により保護されており、その使用、複製、再頒布および逆コンパイルを制限するライセンスのもとにおいて頒布されます。NTTドコモ(その他に許諾者がある場合は当該許諾者も含めて)の書面による事前の許可なく、本製品および関連する文書のいかなる部分も、いかなる方法によっても複製することが禁じられます。フォントを含む第三者のソフトウェアは、著作権法により保護されており、その提供者からライセンスを受けているものです。
Sun、Sun Microsystems、Java、J2MEおよびJ2SEは、米国およびその他の国における米国 Sun Microsystems,Inc.の商標または登録商標です。サンのロゴマークは、米国 Sun Microsystems, Inc.の登録商標です。
FeliCaは、ソニー株式会社が開発した非接触ICカードの技術方式です。FeliCaは、ソニー株式会社の登録商標です。
「iモード」、「iアプリ/アイアプリ」、「i-αppli」ロゴ、「DoJa」はNTTドコモの商標または登録商標です。
その他記載された会社名、製品名などは該当する各社の商標または登録商標です。