コード例 #1
0
 protected final DataHolder fetchData(Context context, DataBroker databroker)
     throws GoogleAuthException {
   if (mGamesContext.mIsFirstParty) {
     return databroker.getFirstPartyInvitablePlayers(mGamesContext, mPageSize, mExpandCachedData);
   } else {
     return databroker.getInvitablePlayers(mGamesContext, mPageSize, mExpandCachedData);
   }
 }
コード例 #2
0
 protected final DataHolder fetchData(Context context, DataBroker databroker)
     throws GoogleAuthException {
   return databroker.loadGameCollection(
       mGamesContext, mPageSize, mCollectionType, mExpandCachedData);
 }
コード例 #3
0
 protected final int performOperation(Context context, DataBroker databroker)
     throws GoogleAuthException {
   return databroker.dismissMatch(mGamesContext, mExternalMatchId);
 }