public class KeyLibrary
extends java.lang.Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
KeyLibrary.ApplicationInfo
アプリケーション情報クラス
|
static class |
KeyLibrary.CONSTANT
定数クラス
|
| コンストラクタと説明 |
|---|
KeyLibrary()
KeyLibraryクラスのインスタンスを作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
clearFnLaunchApplication(int nID)
Fnモード時に指定したキーが押下された際に起動するアプリケーションの情報をクリアします。
|
int |
clearLaunchApplication(int nID)
1/A/aモード時に指定したキーが押下された際に起動するアプリケーションの情報をクリアします。
|
int |
getFnLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
Fnモード時に指定したキーが押下された際に起動するアプリケーションの情報を取得します。
|
int |
getFnUserKeyCode(int nID)
指定したキーがFnモード時に発行するキーコードを取得します。
|
int |
getLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
1/A/aモード時に指定したキーが押下された際に起動するアプリケーションの情報を取得します。
|
int |
getUserKeyCode(int nID)
指定したキーが1/A/aモード時に発行するキーコードを取得します。
|
int |
setDefaultKeyCode(int nID)
指定したキーが1/A/aモード時に発行するキーコードをデフォルトキーコードに戻します。
|
int |
setFnDefaultKeyCode(int nID)
指定したキーがFnモード時に発行するキーコードをデフォルトキーコードに戻します。
|
int |
setFnLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
Fnモード時に指定したキーが押下された際に起動するアプリケーションを設定します。
|
int |
setFnUserKeyCode(int nID,
int KeyCode)
指定したキーがFnモード時に発行するキーコードを設定します。
|
int |
setLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
1/A/aモード時に指定したキーが押下された際に起動するアプリケーションを設定します。
|
int |
setUserKeyCode(int nID,
int KeyCode)
指定したキーが1/A/aモード時に発行するキーコードを設定します。
|
public int setUserKeyCode(int nID,
int KeyCode)
throws android.os.RemoteException
nID - KEYIDKeyCode - キーコードKeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int getUserKeyCode(int nID)
throws android.os.RemoteException
nID - KEYIDKeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int setDefaultKeyCode(int nID)
throws android.os.RemoteException
nID - KEYIDKeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int setFnUserKeyCode(int nID,
int KeyCode)
throws android.os.RemoteException
nID - KEYIDKeyCode - キーコードKeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int getFnUserKeyCode(int nID)
throws android.os.RemoteException
nID - KEYIDKeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int setFnDefaultKeyCode(int nID)
throws android.os.RemoteException
nID - KEYIDKeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int setLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
throws android.os.RemoteException
nID - KEYIDappInfo - アプリケーション情報KeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int getLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
throws android.os.RemoteException
nID - KEYIDappInfo - アプリケーション情報KeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int clearLaunchApplication(int nID)
throws android.os.RemoteException
nID - KEYIDKeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int setFnLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
throws android.os.RemoteException
nID - KEYIDappInfo - アプリケーション情報KeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int getFnLaunchApplication(int nID,
KeyLibrary.ApplicationInfo appInfo)
throws android.os.RemoteException
nID - KEYIDappInfo - アプリケーション情報KeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。
public int clearFnLaunchApplication(int nID)
throws android.os.RemoteException
nID - KEYIDKeyLibrary.CONSTANT.RETURN.SUCCESS : 正常終了
KeyLibrary.CONSTANT.RETURN.ERROR_NOTSUPPORTED : 未サポートエラー
KeyLibrary.CONSTANT.RETURN.ERROR_FUNCTION : 内部エラー
android.os.RemoteException - キーサービスへのアクセスに失敗した場合に発行します。