diff options
Diffstat (limited to 'docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html')
-rw-r--r-- | docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html | 95 |
1 files changed, 86 insertions, 9 deletions
diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html index 5daba7f..5dbb533 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" /> </div> <div class="child-card training no-display"> </div> + <div class="child-card samples no-display"> + </div> </div> <div class="suggest-card design no-display"> <ul class="search_filtered"> @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training</a></li> - <li><a href="/guide/components/index.html" + <li><a href="/guide/index.html" zh-tw-lang="API 指南" zh-cn-lang="API 指南" ru-lang="Руководства по API" @@ -351,7 +353,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training</a></li> - <li class="guide"><a href="/guide/components/index.html" + <li class="guide"><a href="/guide/index.html" zh-tw-lang="API 指南" zh-cn-lang="API 指南" ru-lang="Руководства по API" @@ -1070,6 +1072,24 @@ android.os.Parcelable + <a href="/reference/com/google/android/gms/games/multiplayer/Participant.html">Participant</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/games/multiplayer/realtime/Room.html#getParticipant(java.lang.String)">getParticipant</a></span>(String participantId)</nobr> + + <div class="jd-descrdiv">Get a participant in a room by its ID.</div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + abstract + + + + String</nobr> </td> <td class="jd-linkcol" width="100%"><nobr> @@ -1081,7 +1101,7 @@ android.os.Parcelable - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> abstract @@ -1093,11 +1113,13 @@ android.os.Parcelable <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/games/multiplayer/realtime/Room.html#getParticipantIds()">getParticipantIds</a></span>()</nobr> + <div class="jd-descrdiv">Get the IDs of the participants of the given room.</div> + </td></tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> abstract @@ -1115,7 +1137,7 @@ android.os.Parcelable - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> abstract @@ -1131,7 +1153,7 @@ android.os.Parcelable - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> abstract @@ -1147,7 +1169,7 @@ android.os.Parcelable - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> abstract @@ -1720,7 +1742,9 @@ From interface <div class="jd-tagdata jd-tagdescr"><p></p></div> <div class="jd-tagdata"> <h5 class="jd-tagtitle">Returns</h5> - <ul class="nolist"><li>The ID of the participant who created this Room. + <ul class="nolist"><li>The ID of the participant who created this Room. Note that not all participants will + see the same value for the creator. In the case of an automatch, this value may + differ for each participant. </li></ul> </div> @@ -1801,6 +1825,59 @@ From interface </div> +<A NAME="getParticipant(java.lang.String)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + abstract + + <a href="/reference/com/google/android/gms/games/multiplayer/Participant.html">Participant</a> + </span> + <span class="sympad">getParticipant</span> + <span class="normal">(String participantId)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + <div class="jd-tagdata jd-tagdescr"><p>Get a participant in a room by its ID. Note that the participant ID must correspond to a + participant in this match, or this method will throw an exception.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>participantId</td> + <td>Match-local ID of the participant to retrieve status for.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Returns</h5> + <ul class="nolist"><li>The participant corresponding to the given ID.</li></ul> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Throws</h5> + <table class="jd-tagtable"> + <tr> + <th></td> + <td>IllegalStateException} if the participant is not a participant in this match. +</td> + </tr> + </table> + </div> + + </div> +</div> + + <A NAME="getParticipantId(java.lang.String)"></A> <div class="jd-details api apilevel-"> @@ -1869,7 +1946,7 @@ From interface </div> <div class="jd-details-descr"> - <div class="jd-tagdata jd-tagdescr"><p></p></div> + <div class="jd-tagdata jd-tagdescr"><p>Get the IDs of the participants of the given room.</p></div> <div class="jd-tagdata"> <h5 class="jd-tagtitle">Returns</h5> <ul class="nolist"><li>The IDs of the participants in this room. These are returned in the participant |