PageRenderTime 56ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/frameworks/projects/playerglobal/bundles/ja_JP/docs/flash.sensors.xml

https://github.com/adufilie/flex-sdk
XML | 279 lines | 218 code | 43 blank | 18 comment | 0 complexity | e3b37fb8f436001ac27196b90687a678 MD5 | raw file
Possible License(s): Apache-2.0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <apiPackage xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" id="flash.sensors" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiPackage/apiPackage "><apiName class="- topic/title reference/title apiRef/apiName ">flash.sensors</apiName><apiDetail class="- topic/body reference/refbody apiRef/apiDetail "/><apiClassifier languages="" id="flash.sensors:Accelerometer" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">Accelerometer</apiName><shortdesc class="- topic/shortdesc ">
  17. Accelerometer クラスはデバイスのモーションセンサーによって検出されたアクティビティに基づいてイベントを送出します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiTipTexts><apiTipText class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiTipText ">Accelerometer クラス
  18. </apiTipText></apiTipTexts><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">flash.events:EventDispatcher</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  19. Accelerometer クラスはデバイスのモーションセンサーによって検出されたアクティビティに基づいてイベントを送出しますこのデータはデバイスの位置または 3D 軸に沿った移動を表しますデバイスが移動したときセンサーはこの移動を検出しアクセラレーションデータを返しますAccelerometer クラスは加速度センサーがサポートされているかどうかを照会するメソッドを提供しますまた加速度センサーイベントが送出される頻度を設定するメソッドも提供します
  20. <p class="- topic/p "><b class="+ topic/ph hi-d/b ">注意</b><codeph class="+ topic/ph pr-d/codeph ">Accelerometer.isSupported</codeph> プロパティを使用してこの機能を使用できるかどうかランタイム環境をテストしますAccelerometer クラスとそのメンバーは各 API エントリにリストされたランタイムバージョンにアクセスできますがランタイム用の現在の環境によってこの機能が使用できるかどうかが決まります例えばFlash Player 10.1 Accelerometer クラスのプロパティを使用してコードをコンパイルすることはできますが<codeph class="+ topic/ph pr-d/codeph ">Accelerometer.isSupported</codeph> プロパティを使用してAccelerometer 機能が現在の Flash Player ランタイムのデプロイ環境で使用できるかどうかをテストする必要があります<codeph class="+ topic/ph pr-d/codeph ">Accelerometer.isSupported</codeph> がランタイムで <codeph class="+ topic/ph pr-d/codeph ">true</codeph> の場合Accelerometer は現在サポートされています</p>
  21. <p class="- topic/p ">AIR プロファイルのサポート<i class="+ topic/ph hi-d/i "/>この機能はモバイルデバイスでのみサポートされますデスクトップまたはテレビ用 AIR デバイスではサポートされません複数のプロファイル間での API サポートについて詳しくは<xref href="http://help.adobe.com/en_US/air/build/WS144092a96ffef7cc16ddeea2126bb46b82f-8000.html" class="- topic/xref ">AIR プロファイルのサポート</xref>を参照してください
  22. </p>
  23. </apiDesc><example conref="examples\AccelerometerExample.as" class="- topic/example "> 次の例では加速度センサーの <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントに基づいてスプライトを移動します加速度センサーの <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントはデバイスが移動したことを示します
  24. <codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">
  25. package
  26. {
  27. import flash.display.Sprite;
  28. import flash.display.StageAlign;
  29. import flash.display.StageScaleMode;
  30. import flash.events.Event;
  31. import flash.events.AccelerometerEvent;
  32. import flash.sensors.Accelerometer;
  33. public class AccelerometerTest extends Sprite
  34. {
  35. private var ball:Sprite;
  36. private var accelerometer:Accelerometer;
  37. private var xSpeed:Number = 0;
  38. private var ySpeed:Number = 0;
  39. private const RADIUS = 20;
  40. public final function AccelerometerTest()
  41. {
  42. stage.scaleMode = StageScaleMode.NO_SCALE;
  43. stage.align = StageAlign.TOP_LEFT;
  44. createBall();
  45. if (Accelerometer.isSupported)
  46. {
  47. accelerometer = new Accelerometer();
  48. accelerometer.addEventListener(AccelerometerEvent.UPDATE, accUpdateHandler);
  49. stage.addEventListener(Event.ENTER_FRAME, enterFrameHandler);
  50. }
  51. }
  52. private final function createBall():void
  53. {
  54. ball = new Sprite();
  55. ball.graphics.beginFill(0xFF0000);
  56. ball.graphics.drawCircle(0, 0, RADIUS);
  57. ball.cacheAsBitmap = true;
  58. ball.x = stage.stageWidth / 2;
  59. ball.y = stage.stageHeight / 2;
  60. addChild(ball);
  61. }
  62. private final function enterFrameHandler(event:Event):void
  63. {
  64. event.stopPropagation();
  65. moveBall();
  66. }
  67. private final function moveBall():void
  68. {
  69. var newX:Number = ball.x + xSpeed;
  70. var newY:Number = ball.y + ySpeed;
  71. if (newX &lt; 20)
  72. {
  73. ball.x = RADIUS;
  74. xSpeed = 0;
  75. }
  76. else if (newX > stage.stageWidth - RADIUS)
  77. {
  78. ball.x = stage.stageWidth - RADIUS;
  79. xSpeed = 0;
  80. }
  81. else
  82. {
  83. ball.x += xSpeed;
  84. }
  85. if (newY &lt; RADIUS)
  86. {
  87. ball.y = RADIUS;
  88. ySpeed = 0;
  89. }
  90. else if (newY > stage.stageHeight - RADIUS)
  91. {
  92. ball.y = stage.stageHeight - RADIUS;
  93. ySpeed = 0;
  94. }
  95. else
  96. {
  97. ball.y += ySpeed;
  98. }
  99. }
  100. private final function accUpdateHandler(event:AccelerometerEvent):void
  101. {
  102. xSpeed -= event.accelerationX * 2;
  103. ySpeed += event.accelerationY * 2;
  104. }
  105. }
  106. }
  107. </codeblock></example></apiClassifierDetail><related-links class="- topic/related-links "><link href="flash.sensors.xml#Accelerometer/isSupported" class="- topic/link "><linktext class="- topic/linktext ">isSupported</linktext></link><link href="flash.events.xml#AccelerometerEvent" class="- topic/link "><linktext class="- topic/linktext ">flash.events.AccelerometerEvent</linktext></link><link href="http://www.riagora.com/2010/04/air-and-the-accelerometer/" class="- topic/link "><linktext class="- topic/linktext ">Michael ChaizeAIR and the Accelerometer</linktext></link><link href="http://www.riagora.com/2010/05/become-an-air-pilot/" class="- topic/link "><linktext class="- topic/linktext ">Michael ChaizeBecome an AIR Pilot</linktext></link></related-links><adobeApiEvent id="flash.sensors:Accelerometer_flash.events.StatusEvent.STATUS_status" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">status</apiName><shortdesc class="- topic/shortdesc ">
  108. 加速度センサーがステータスを変更した際に送出されます</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.StatusEvent.STATUS</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.StatusEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  109. 加速度センサーがステータスを変更した際に送出されます
  110. <p class="- topic/p "><b class="+ topic/ph hi-d/b ">注意</b>一部のデバイスでは加速度センサーは常に利用できますこのようなデバイスではAccelerometer オブジェクトが <codeph class="+ topic/ph pr-d/codeph ">status</codeph> イベントを送出することはありません</p>
  111. </apiDesc></adobeApiEventDetail></adobeApiEvent><adobeApiEvent id="flash.sensors:Accelerometer_flash.events.AccelerometerEvent.UPDATE_update" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">update</apiName><shortdesc class="- topic/shortdesc ">
  112. update イベントは加速度センサーからの更新に応答して送出されます</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.AccelerometerEvent.UPDATE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.AccelerometerEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  113. <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントは加速度センサーからの更新に応答して送出されますこのイベントは次のような場合に送出されます
  114. <p class="- topic/p "><ul class="- topic/ul "><li class="- topic/li ">新しいリスナー関数が <codeph class="+ topic/ph pr-d/codeph ">addEventListener()</codeph> を使用して割り当てられたとき加速度センサーの現在の値を提供するために登録済みのすべてのリスナーにこのイベントが一度配信されます</li><li class="- topic/li ">デバイスで指定された間隔で加速度センサーの更新がプラットフォームから取得されたとき</li><li class="- topic/li ">アプリケーションが加速度センサーの変更を捕捉できなかったとき例えばアイドル状態の後ランタイムが再開したとき</li></ul></p>
  115. </apiDesc></adobeApiEventDetail></adobeApiEvent><apiConstructor id="flash.sensors:Accelerometer:Accelerometer" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation apiOperation/apiConstructor"><apiName class="- topic/title reference/title apiRef/apiName ">Accelerometer</apiName><shortdesc class="- topic/shortdesc ">
  116. 新しい Accelerometer インスタンスを作成します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiConstructorDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail apiOperation/apiConstructorDetail"><apiConstructorDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiConstructorDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/></apiConstructorDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  117. 新しい Accelerometer インスタンスを作成します
  118. </apiDesc></apiConstructorDetail></apiConstructor><apiOperation id="flash.sensors:Accelerometer:setRequestedUpdateInterval" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">setRequestedUpdateInterval</apiName><shortdesc class="- topic/shortdesc ">
  119. setRequestedUpdateInterval メソッドは更新の時間間隔を設定する場合に使用されます</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiException class="+ topic/ph reference/ph apiRef/apiDefItem apiOperation/apiEvent adobe-api-d/apiException "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">指定された <codeph class="+ topic/ph pr-d/codeph ">interval</codeph> 0 未満の場合
  120. </apiDesc><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">ArgumentError</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">ArgumentError</apiOperationClassifier></apiException><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">interval</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">Number</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要求された更新間隔です<codeph class="+ topic/ph pr-d/codeph ">interval</codeph> 0 に設定されている場合サポートされる更新間隔の最小値が使用されます
  121. </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  122. <codeph class="+ topic/ph pr-d/codeph ">setRequestedUpdateInterval</codeph> メソッドは更新の時間間隔を設定する場合に使用されます時間間隔の測定単位はミリ秒です更新間隔は電源を節約するための目安としてのみ使用されます加速度を更新する実際の間隔はこの値より大きかったり小さかったりする可能性があります更新間隔が変更された場合登録されたリスナーすべてに影響しますAccelerometer クラスは<codeph class="+ topic/ph pr-d/codeph ">setRequestedUpdateInterval()</codeph> メソッドを呼び出さずに使用することもできますこの場合アプリケーションはデバイスのデフォルトの間隔に基づいて更新を受け取ります
  123. </apiDesc></apiOperationDetail></apiOperation><apiValue id="flash.sensors:Accelerometer:isSupported:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">isSupported</apiName><shortdesc class="- topic/shortdesc ">
  124. デバイスで加速度センサーを利用できる場合isSupported プロパティは true に設定されます利用できない場合はfalse に設定されます</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  125. デバイスで加速度センサーを利用できる場合<codeph class="+ topic/ph pr-d/codeph ">isSupported</codeph> プロパティは <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されます利用できない場合は<codeph class="+ topic/ph pr-d/codeph ">false</codeph> に設定されます
  126. </apiDesc><example conref="examples\Accelerometer_isSupported.as" class="- topic/example "> 次の例は<codeph class="+ topic/ph pr-d/codeph ">Accelerometer.isSupported</codeph> プロパティを使用してランタイムでの加速度センサーのサポートをテストします現在の環境で加速度センサー機能がサポートされている場合はAccelerometer オブジェクトにイベントリスナーが追加されますまた関連するハンドラーによってテキストフィールドにタイムスタンプと加速度の値が設定されますこの機能がサポートされていない場合はテキストフィールドに現在の環境ではこの機能がサポートされていないことが表示されます
  127. <codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">
  128. var myTextField:TextField = new TextField();
  129. myTextField.width = 200;
  130. addChild(myTextField);
  131. var acc1:Accelerometer = new Accelerometer();
  132. var isSupported:Boolean = Accelerometer.isSupported;
  133. checksupport();
  134. function checksupport():void {
  135. if (isSupported) {
  136. myTextField.text = "Accelerometer feature supported";
  137. acc1.addEventListener(AccelerometerEvent.UPDATE, updateHandler);
  138. } else {
  139. myTextField.text = "Accelerometer feature not supported";
  140. }
  141. }
  142. function updateHandler(evt:AccelerometerEvent):void {
  143. myTextField.text = String("at: " + evt.timestamp + "\n" + "acceleration X: " + evt.accelerationX + "\n" + "acceleration Y: " + evt.accelerationY + "\n" + "acceleration Z: " + evt.accelerationZ);
  144. }
  145. </codeblock></example></apiValueDetail></apiValue><apiValue id="flash.sensors:Accelerometer:muted:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">muted</apiName><shortdesc class="- topic/shortdesc ">
  146. 加速度センサーへのアクセスがユーザーによって拒否されているかtrueまたは許可されているかfalseを指定します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Flash" version="10.1" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">Accelerometer, Accelerometer.muted, muted
  147. </keyword></asCustoms></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  148. 加速度センサーへのアクセスがユーザーによって拒否されているか<codeph class="+ topic/ph pr-d/codeph ">true</codeph>または許可されているか<codeph class="+ topic/ph pr-d/codeph ">false</codeph>を指定しますこの値が変わると<codeph class="+ topic/ph pr-d/codeph ">status</codeph> イベントが送出されます
  149. </apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.sensors.xml#Accelerometer/event:status" class="- topic/link "><linktext class="- topic/linktext ">status</linktext></link></related-links></apiValue></apiClassifier><apiClassifier languages="" id="flash.sensors:Geolocation" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">Geolocation</apiName><shortdesc class="- topic/shortdesc ">
  150. Geolocation クラスはデバイスのロケーションセンサーに応答してイベントを送出します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">flash.events:EventDispatcher</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  151. Geolocation クラスはデバイスのロケーションセンサーに応答してイベントを送出します
  152. <p class="- topic/p ">デバイスでジオロケーションがサポートされている場合このクラスを使用してデバイスの最新の位置情報を取得できます位置情報は緯度と経度の座標形式WGS-84座標系でデバイスに表示されますデバイスの位置が移動したときにその移動変更に関する更新を受信できますデバイスでこの機能がサポートされている場合位置に関する最新の変更について高度精度ヘッダー速度およびタイムスタンプの情報を取得できます</p>
  153. <p class="- topic/p ">AIR プロファイルのサポート<i class="+ topic/ph hi-d/i "/>この機能はモバイルデバイスでのみサポートされますデスクトップまたはテレビ用 AIR デバイスではサポートされません<codeph class="+ topic/ph pr-d/codeph ">Geolocation.isSupported</codeph> プロパティを使用してサポートされているかどうかを実行時にテストすることができます複数のプロファイル間での API サポートについて詳しくは<xref href="http://help.adobe.com/en_US/air/build/WS144092a96ffef7cc16ddeea2126bb46b82f-8000.html" class="- topic/xref ">AIR プロファイルのサポート</xref>を参照してください
  154. </p>
  155. </apiDesc><example conref="examples\GeolocationExample.as" class="- topic/example "> 次の例では緯度経度水平精度に関するジオロケーションの <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントを受信したときに受信したそれらのイベントをアプリケーションに表示します
  156. <codeblock xml:space="preserve" class="+ topic/pre pr-d/codeblock ">
  157. package
  158. {
  159. import flash.display.Sprite;
  160. import flash.display.StageAlign;
  161. import flash.display.StageScaleMode;
  162. import flash.events.GeolocationEvent;
  163. import flash.sensors.Geolocation;
  164. import flash.text.TextField;
  165. import flash.text.TextFormat;
  166. public class GeolocationTest extends Sprite
  167. {
  168. private var geo:Geolocation;
  169. private var log:TextField;
  170. public function GeolocationTest()
  171. {
  172. stage.scaleMode = StageScaleMode.NO_SCALE;
  173. stage.align = StageAlign.TOP_LEFT;
  174. setUpTextField();
  175. if (Geolocation.isSupported)
  176. {
  177. geo = new Geolocation();
  178. geo.setRequestedUpdateInterval(100);
  179. geo.addEventListener(GeolocationEvent.UPDATE, geolocationUpdateHandler);
  180. }
  181. else
  182. {
  183. log.text = "No geolocation support.";
  184. }
  185. }
  186. private function geolocationUpdateHandler(event:GeolocationEvent):void
  187. {
  188. log.text = "latitude:" + event.latitude.toString() + "°\n";
  189. log.appendText("longitude:" + event.longitude.toString() + "°\n");
  190. log.appendText("horizontal accuracy:" + event.horizontalAccuracy.toString() + " m");
  191. }
  192. private function setUpTextField():void
  193. {
  194. log = new TextField();
  195. var format:TextFormat = new TextFormat("_sans", 24);
  196. log.defaultTextFormat = format;
  197. log.border = true;
  198. log.wordWrap = true;
  199. log.multiline = true;
  200. log.x = 10;
  201. log.y = 10;
  202. log.height = stage.stageHeight - 20;
  203. log.width = stage.stageWidth - 20;
  204. addChild(log);
  205. }
  206. }
  207. }
  208. </codeblock></example></apiClassifierDetail><related-links class="- topic/related-links "><link href="http://coenraets.org/blog/2010/08/multi-user-google-map-collaboration-on-android/" class="- topic/link "><linktext class="- topic/linktext ">Cristophe CoenraetsMulit-user Google Maps Collaboration</linktext></link></related-links><adobeApiEvent id="flash.sensors:Geolocation_flash.events.StatusEvent.STATUS_status" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">status</apiName><shortdesc class="- topic/shortdesc ">
  209. Geolocation オブジェクトはロケーションセンサーへのアクセスがユーザーによって変更されたときに status イベントを送出します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.StatusEvent.STATUS</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.StatusEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  210. Geolocation オブジェクトはロケーションセンサーへのアクセスがユーザーによって変更されたときに <codeph class="+ topic/ph pr-d/codeph ">status</codeph> イベントを送出します例えばデバイスのプロンプトに応答してアプリケーションによるロケーションデータへのアクセスをユーザーが禁止した場合Geolcation オブジェクトによって <codeph class="+ topic/ph pr-d/codeph ">status</codeph> イベントが送出されますロケーションセンサーを使用できない状態にステータスが変更されるとGeolocation <codeph class="+ topic/ph pr-d/codeph ">muted</codeph> プロパティは <codeph class="+ topic/ph pr-d/codeph ">true</codeph> に設定されます
  211. </apiDesc></adobeApiEventDetail><related-links class="- topic/related-links "><link href="flash.sensors.xml#Geolocation/muted" class="- topic/link "><linktext class="- topic/linktext ">muted</linktext></link></related-links></adobeApiEvent><adobeApiEvent id="flash.sensors:Geolocation_flash.events.GeolocationEvent.UPDATE_update" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef adobeApiEvent/adobeApiEvent "><apiName class="- topic/title reference/title apiRef/apiName ">update</apiName><shortdesc class="- topic/shortdesc ">
  212. update イベントはロケーションセンサーからの更新に応答して送出されます</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><adobeApiEventDetail class="- topic/body reference/refbody apiRef/apiDetail adobeApiEvent/adobeApiEventDetail "><adobeApiEventDef class="- topic/section reference/section apiRef/apiDef adobeApiEvent/adobeApiEventDef "><apiEventType class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiEventType ">flash.events.GeolocationEvent.UPDATE</apiEventType><adobeApiEventClassifier class="- topic/xref reference/xref apiRef/apiRelation adobeApiEvent/adobeApiEventClassifier ">flash.events.GeolocationEvent</adobeApiEventClassifier><apiGeneratedEvent class="- topic/state reference/state apiRef/apiQualifier adobeApiEvent/apiGeneratedEvent "/></adobeApiEventDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  213. <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントはロケーションセンサーからの更新に応答して送出されますこのイベントは次のような場合に送出されます
  214. <p class="- topic/p "><ul class="- topic/ul "><li class="- topic/li ">新しいリスナー関数が <codeph class="+ topic/ph pr-d/codeph ">addEventListener()</codeph> を使用して割り当てられたときロケーションセンサーの現在の値を提供するために登録済みのすべてのリスナーにこのイベントが一度配信されます</li><li class="- topic/li ">デバイスで指定された間隔で位置の更新がプラットフォームから取得されたとき</li><li class="- topic/li ">アプリケーションが位置の変更を捕捉できなかったとき例えばスリープ状態の後アプリケーションのスリープが解除されたとき</li></ul></p>
  215. <p class="- topic/p "><i class="+ topic/ph hi-d/i ">注意</i>GPS ユニットが含まれていない第 1 世代の iPhone では<codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントはごくまれにしか送出されませんこのデバイスではGeolocation オブジェクトが最初に 1 つまたは 2 つの <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントを送出しますその後情報が大幅に変更されたときに <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントを送出します</p>
  216. </apiDesc></adobeApiEventDetail></adobeApiEvent><apiConstructor id="flash.sensors:Geolocation:Geolocation" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation apiOperation/apiConstructor"><apiName class="- topic/title reference/title apiRef/apiName ">Geolocation</apiName><shortdesc class="- topic/shortdesc ">
  217. 新しい Geolocation インスタンスを作成します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiConstructorDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail apiOperation/apiConstructorDetail"><apiConstructorDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiConstructorDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/></apiConstructorDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  218. 新しい Geolocation インスタンスを作成します
  219. </apiDesc></apiConstructorDetail></apiConstructor><apiOperation id="flash.sensors:Geolocation:setRequestedUpdateInterval" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">setRequestedUpdateInterval</apiName><shortdesc class="- topic/shortdesc ">
  220. 更新の時間間隔をミリ秒単位で設定します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiException class="+ topic/ph reference/ph apiRef/apiDefItem apiOperation/apiEvent adobe-api-d/apiException "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">指定された <codeph class="+ topic/ph pr-d/codeph ">interval</codeph> 0 未満の場合
  221. </apiDesc><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">ArgumentError</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">ArgumentError</apiOperationClassifier></apiException><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">interval</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">Number</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要求された更新間隔<codeph class="+ topic/ph pr-d/codeph ">interval</codeph> &lt;= 0 の場合このメソッドを呼び出しても効果はありません
  222. </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  223. 更新の時間間隔をミリ秒単位で設定します更新間隔は電源を節約するための目安としてのみ使用されますロケーションを更新する実際の間隔はこの値より大きかったり小さかったりすることがありますこのメソッドを使用して更新間隔を変更するとその変更は登録済みのすべての <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントリスナーに影響しますGeolocation クラスは<codeph class="+ topic/ph pr-d/codeph ">setRequestedUpdateInterval</codeph> メソッドを呼び出さずに使用することもできますこの場合プラットフォームはデフォルトの間隔に基づいて更新を返します
  224. <p class="- topic/p "><i class="+ topic/ph hi-d/i ">注意</i>GPS ユニットが含まれていない第 1 世代の iPhone では<codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントはごくまれにしか送出されませんこのデバイスではGeolocation オブジェクトが最初に 1 つまたは 2 つの <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントを送出しますその後情報が大幅に変更されたときに <codeph class="+ topic/ph pr-d/codeph ">update</codeph> イベントを送出します</p>
  225. </apiDesc></apiOperationDetail></apiOperation><apiValue id="flash.sensors:Geolocation:isSupported:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">isSupported</apiName><shortdesc class="- topic/shortdesc ">
  226. デバイスでロケーションセンサーを利用できる場合は true利用できない場合は false</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="Lite" version="4" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  227. デバイスでロケーションセンサーを利用できる場合は <codeph class="+ topic/ph pr-d/codeph ">true</codeph>利用できない場合は <codeph class="+ topic/ph pr-d/codeph ">false</codeph>
  228. </apiDesc></apiValueDetail></apiValue><apiValue id="flash.sensors:Geolocation:muted:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">muted</apiName><shortdesc class="- topic/shortdesc ">
  229. ジオロケーションへのアクセスがユーザーによって拒否されているかtrueまたは許可されているかfalseを指定します</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="AIR" version="2" class="+ topic/ph adobe-api-d/apiPlatform "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">Geolocation, Geolocation.muted, muted
  230. </keyword></asCustoms></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiDynamic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiDynamic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Boolean</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
  231. ジオロケーションへのアクセスがユーザーによって拒否されているか<codeph class="+ topic/ph pr-d/codeph ">true</codeph>または許可されているか<codeph class="+ topic/ph pr-d/codeph ">false</codeph>を指定しますこの値が変わると<codeph class="+ topic/ph pr-d/codeph ">status</codeph> イベントが送出されます
  232. </apiDesc></apiValueDetail><related-links class="- topic/related-links "><link href="flash.sensors.xml#Geolocation/event:status" class="- topic/link "><linktext class="- topic/linktext ">status</linktext></link></related-links></apiValue></apiClassifier></apiPackage>