aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/userproximityevent/index.html
blob: bc975784376bebbfcc71218e64eb28540001452e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: UserProximityEvent
slug: Web/API/UserProximityEvent
tags:
  - API
  - Experimental
  - Interface
  - Proximity Events
translation_of: Web/API/UserProximityEvent
---
<p>{{APIRef("Proximity Events")}}{{SeeCompatTable}}</p>

<p><code>UserProximityEvent</code> は、端末の近接センサーによって、端末の近くに物体が存在するかどうかを示します。</p>

<h2 id="Properties" name="Properties">プロパティ</h2>

<dl>
 <dt>{{domxref("UserProximityEvent.near")}}</dt>
 <dd>端末が近くの物体を検知したかどうかを示す真偽値を返す</dd>
</dl>

<h2 id="Specifications" name="Specifications">仕様書</h2>

<table class="standard-table" style="height: 49px; width: 1000px;">
 <thead>
  <tr>
   <th scope="col">仕様書</th>
   <th scope="col">状態</th>
   <th scope="col">備考</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('Proximity Events', '', 'Proximity Events')}}</td>
   <td>{{Spec2('Proximity Events')}}</td>
   <td>初回定義</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>

<p>{{Compat("api.UserProximityEvent")}}</p>

<h2 id="See_also" name="See_also">関連情報</h2>

<ul>
 <li>{{event("userproximity")}}</li>
 <li>{{domxref("DeviceProximityEvent")}}</li>
 <li><a href="/ja/docs/WebAPI/Proximity">Proximity Events</a></li>
</ul>