![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework UNIVERSE 5.0 |
SFXDevice クラスは携帯端末の情報や BREW 環境の情報を取得するためのクラスです。
例 21.27. デバイス情報クラス一覧
SFXDevice device; UInt16 n1 = device.GetScreenWidth(); // 画面の幅をピクセル数で取得する UInt16 n2 = device.GetScreenHeight(); // 画面の高さをピクセル数で取得する SFXSize size1 = device.GetScreenSize(); // 画面の幅と高さをピクセル数で取得する UInt16 n3 = device.GetAlternateScreenWidth(); // 第 2 画面の幅をピクセル数で取得する UInt16 n4 = device.GetAlternateScreenHeight(); // 第 2 画面の高さをピクセル数で取得する SFXSize size2 = device.GetAlternateScreenSize();// 第 2 画面の幅と高さをピクセル数で取得する UInt16 n5 = device.GetScrollBarWidth(); // 標準スクロール バーの幅をピクセル数で取得する UInt16 n6 = device.GetEncoding(); // 文字セットのエンコード方式を取得する UInt16 n7 = device.GetMenuTextScrollingTime(); // AEEDevice構造体の、wMenuTextScroll メンバの値を取得する UInt16 n8 = device.GetColorDepth(); // 画面の色深度を取得する UInt16 n9 = device.GetMenuImageDelay(); // AEEDevice 構造体の、wMenuImageDelayメンバの値を取得する UInt16 n10 = device.GetRAMSize(); // 搭載されている RAM の容量を取得する Bool b1 = device.HasAlternateDisplay(); // デバイスが代替ディスプレイ ( ページャ ) を持っているか判定する Bool b2 = device.HasFlip(); // デバイスが折り畳み式携帯電話であるか判定する Bool b3 = device.HasVibrator(); // バイブレータが搭載されているか判定する Bool b4 = device.HasExternalSpeaker(); // 外部スピーカーが搭載されているか判定する Bool b5 = device.SupportsVoiceRecognition(); // 音声認識をサポートしているか判定する Bool b6 = device.SupportsPositionLocation(); // ポジション ロケーションをサポートしているか判定する Bool b7 = device.SupportsMIDI(); // MIDI ファイル形式をサポートしているか判定する Bool b8 = device.SupportsCMX(); // CMX オーディオをサポートしているか判定する Bool b9 = device.SupportsPen(); // ペンデバイスをサポートしているか判定する UInt16 n11 = device.GetPromptProperties(); // デフォルト プロンプトのプロパティを取得する UInt16 n12 = device.GetCloseAppKey(); // 現在アクティブなアプリを閉じるキーを取得する UInt16 n13 = device.GetCloseAllAppsKey(); // 全てのアプリを閉じるキーを取得する UInt16 n14 = device.GetLanguage(); // ISO で定義された言語 ID を返する UInt16 n15 = device.GetNetLingerTime(); // PPP 待機時間をミリ秒単位で取得する UInt16 n16 = device.GetSleepDeferTime(); // デバイスがスリープ モードになるまでの時間をミリ秒単位で取得する UInt16 n17 = device.GetMaximumPathLength(); // デバイスでサポートされている、( パス名を含む )ファイル名の最大長を取得する UInt16 n18 = device.GetPlatformID(); // デバイス プラットフォームを一意に識別するための ID を取得する
|
Copyright (C) 2002 - 2008 Sophia Cradle Incorporated All Rights Reserved. |
![]() ![]() ![]()
|