diff options
Diffstat (limited to 'docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html')
-rw-r--r-- | docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html | 228 |
1 files changed, 216 insertions, 12 deletions
diff --git a/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html b/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html index 2326386..ad6cc2c 100644 --- a/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html +++ b/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; </script> -<script src="../../../../../assets/js/docs.js?v=5" type="text/javascript"></script> +<script src="../../../../../assets/js/docs.js?v=6" type="text/javascript"></script> @@ -466,6 +466,11 @@ type="text/css"> <ul> + <li><h2>Annotations</h2> + <ul> + <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/watchface/WatchFaceService.TapType.html">WatchFaceService.TapType</a></li> + </ul> + </li> <li><h2>Classes</h2> @@ -620,7 +625,7 @@ Summary: <div id="naMessage"></div> -<div id="jd-content" class="api apilevel-"><p style="border:2px solid #99ccff;padding:12px;margin-top:20px"><strong>Note:</strong> The Wearable Support Library classes under the <code>android.support.wearable</code> package are subject to change. For the full Android API reference, see <a href="/reference/">Reference</a>.</p> +<div id="jd-content" class="api apilevel-"> <table class="jd-inheritance-table"> @@ -831,6 +836,29 @@ Summary: final + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../../reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getNotificationCount()">getNotificationCount</a></span>()</nobr> + + <div class="jd-descrdiv"> + Returns the total number of notification cards in the stream. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + Rect</nobr> </td> <td class="jd-linkcol" width="100%"><nobr> @@ -847,7 +875,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -870,7 +898,7 @@ Summary: - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> @@ -893,7 +921,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -916,7 +944,7 @@ Summary: - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> @@ -932,7 +960,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -948,7 +976,7 @@ Summary: - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> @@ -964,7 +992,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -987,6 +1015,29 @@ Summary: + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../../reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onNotificationCountChanged(int)">onNotificationCountChanged</a></span>(int count)</nobr> + + <div class="jd-descrdiv"> + Called when the total number of notification cards in the stream has changed. + + + + </div> + + </td></tr> + + + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -1043,6 +1094,29 @@ Summary: void</nobr> </td> <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="../../../../../reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTapCommand(int, int, int, long)">onTapCommand</a></span>(int tapType, int x, int y, long eventTime)</nobr> + + <div class="jd-descrdiv"> + Called when a tap or touch related event occurs. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="../../../../../reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTimeTick()">onTimeTick</a></span>()</nobr> <div class="jd-descrdiv"> @@ -1056,7 +1130,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -1079,7 +1153,7 @@ Summary: - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> @@ -1102,7 +1176,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -1805,6 +1879,39 @@ From class </div> +<A NAME="getNotificationCount()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + final + + + int + </span> + <span class="sympad">getNotificationCount</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns the total number of notification cards in the stream. +</p></div> + + </div> +</div> + + <A NAME="getPeekCardPosition()"></A> <div class="jd-details api apilevel-"> @@ -2075,6 +2182,48 @@ From class </div> +<A NAME="onNotificationCountChanged(int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">onNotificationCountChanged</span> + <span class="normal">(int count)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Called when the total number of notification cards in the stream has changed.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>count</td> + <td>total number of the notification cards in the stream +</td> + </tr> + </table> + </div> + + </div> +</div> + + <A NAME="onPeekCardPositionUpdate(android.graphics.Rect)"></A> <div class="jd-details api apilevel-"> @@ -2154,6 +2303,60 @@ From class </div> +<A NAME="onTapCommand(int, int, int, long)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">onTapCommand</span> + <span class="normal">(int tapType, int x, int y, long eventTime)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Called when a tap or touch related event occurs.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>tapType</td> + <td>Value representing the event sent to the wallpaper.</td> + </tr> + <tr> + <th>x</td> + <td>X coordinate of the event.</td> + </tr> + <tr> + <th>y</td> + <td>Y coordinate of the event.</td> + </tr> + <tr> + <th>eventTime</td> + <td>The time, in millis, of the event. +</td> + </tr> + </table> + </div> + + </div> +</div> + + <A NAME="onTimeTick()"></A> <div class="jd-details api apilevel-"> @@ -2369,6 +2572,7 @@ From class <option value="es">Español</option> <option value="ja">日本語</option> <option value="ko">한국어</option> + <option value="pt-br">Português Brasileiro</option> <option value="ru">Русский</option> <option value="zh-cn">中文(简体)</option> <option value="zh-tw">中文(繁體)</option> |