From 4af1bf8d2073de0dc41ca84113b4baa60a979577 Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Thu, 9 May 2013 15:04:08 -0700 Subject: [PATCH] Doc change: refresh gms/gcm reference docs. Change-Id: Ife17b6b3dfb387bc7de6c827c0e6db19a756534f --- docs/html/gcm_navtree_data.js | 2 +- docs/html/gms_navtree_data.js | 29 +- .../android/gcm/GCMBaseIntentService.html | 1399 +++- .../android/gcm/GCMBroadcastReceiver.html | 177 +- .../com/google/android/gcm/GCMConstants.html | 193 +- .../com/google/android/gcm/GCMRegistrar.html | 119 +- .../google/android/gcm/package-summary.html | 119 +- .../google/android/gcm/server/Constants.html | 213 +- .../gcm/server/InvalidRequestException.html | 119 +- .../android/gcm/server/Message.Builder.html | 215 +- .../google/android/gcm/server/Message.html | 221 +- .../android/gcm/server/MulticastResult.html | 144 +- .../com/google/android/gcm/server/Result.html | 144 +- .../com/google/android/gcm/server/Sender.html | 119 +- .../android/gcm/server/package-summary.html | 127 +- .../com/google/android/gms/R.attr.html | 119 +- .../com/google/android/gms/R.color.html | 1598 ++++ .../com/google/android/gms/R.drawable.html | 2064 +++++ .../reference/com/google/android/gms/R.html | 143 +- .../com/google/android/gms/R.id.html | 119 +- .../com/google/android/gms/R.string.html | 295 +- .../com/google/android/gms/R.styleable.html | 119 +- .../google/android/gms/appstate/AppState.html | 1199 +++ .../android/gms/appstate/AppStateBuffer.html | 1321 ++++ .../gms/appstate/AppStateClient.Builder.html | 1344 ++++ .../android/gms/appstate/AppStateClient.html | 3197 ++++++++ .../appstate/OnSignOutCompleteListener.html | 862 ++ .../gms/appstate/OnStateDeletedListener.html | 884 +++ .../appstate/OnStateListLoadedListener.html | 887 +++ .../gms/appstate/OnStateLoadedListener.html | 966 +++ .../android/gms/appstate/package-summary.html | 725 ++ .../android/gms/auth/GoogleAuthException.html | 119 +- .../android/gms/auth/GoogleAuthUtil.html | 119 +- ...oglePlayServicesAvailabilityException.html | 119 +- .../auth/UserRecoverableAuthException.html | 119 +- .../UserRecoverableNotifiedException.html | 119 +- .../android/gms/auth/package-summary.html | 124 +- .../android/gms/common/AccountPicker.html | 119 +- .../android/gms/common/ConnectionResult.html | 119 +- ...layServicesClient.ConnectionCallbacks.html | 151 +- ...icesClient.OnConnectionFailedListener.html | 119 +- .../gms/common/GooglePlayServicesClient.html | 218 +- ...oglePlayServicesNotAvailableException.html | 119 +- .../gms/common/GooglePlayServicesUtil.html | 123 +- .../com/google/android/gms/common/Scopes.html | 219 +- .../android/gms/common/SignInButton.html | 119 +- .../android/gms/common/data/DataBuffer.html | 337 +- .../gms/common/data/DataBufferUtils.html | 127 +- .../android/gms/common/data/Freezable.html | 219 +- .../gms/common/data/package-summary.html | 135 +- .../images/ImageManager.ImageReceiver.html | 119 +- .../ImageManager.OnImageLoadedListener.html | 119 +- .../gms/common/images/ImageManager.html | 123 +- .../gms/common/images/package-summary.html | 119 +- .../android/gms/common/package-summary.html | 123 +- .../common/server/FavaDiagnosticsEntity.html | 1674 ++++ .../gms/common/server/package-summary.html | 685 ++ .../com/google/android/gms/games/Game.html | 1857 +++++ .../google/android/gms/games/GameBuffer.html | 1321 ++++ .../google/android/gms/games/GameEntity.html | 2841 +++++++ .../gms/games/GamesActivityResultCodes.html | 1319 ++++ .../gms/games/GamesClient.Builder.html | 1474 ++++ .../google/android/gms/games/GamesClient.html | 6944 +++++++++++++++++ .../gms/games/GamesClientSettings.html | 1162 +++ .../gms/games/OnGamesLoadedListener.html | 889 +++ .../gms/games/OnPlayersLoadedListener.html | 889 +++ .../gms/games/OnSignOutCompleteListener.html | 862 ++ .../android/gms/games/PageDirection.html | 1203 +++ .../com/google/android/gms/games/Player.html | 1478 ++++ .../android/gms/games/PlayerBuffer.html | 1321 ++++ .../android/gms/games/PlayerEntity.html | 2200 ++++++ .../android/gms/games/RealTimeSocket.html | 1128 +++ .../gms/games/achievement/Achievement.html | 1997 +++++ .../games/achievement/AchievementBuffer.html | 1321 ++++ .../OnAchievementUpdatedListener.html | 904 +++ .../OnAchievementsLoadedListener.html | 891 +++ .../games/achievement/package-summary.html | 710 ++ .../gms/games/leaderboard/Leaderboard.html | 1248 +++ .../games/leaderboard/LeaderboardBuffer.html | 1505 ++++ .../games/leaderboard/LeaderboardScore.html | 1557 ++++ .../leaderboard/LeaderboardScoreBuffer.html | 1321 ++++ .../games/leaderboard/LeaderboardVariant.html | 1683 ++++ .../OnLeaderboardMetadataLoadedListener.html | 889 +++ .../OnLeaderboardScoresLoadedListener.html | 895 +++ .../leaderboard/OnScoreSubmittedListener.html | 893 +++ .../leaderboard/SubmitScoreResult.Result.html | 1316 ++++ .../games/leaderboard/SubmitScoreResult.html | 1496 ++++ .../games/leaderboard/package-summary.html | 734 ++ .../gms/games/multiplayer/Invitation.html | 1313 ++++ .../games/multiplayer/InvitationBuffer.html | 1505 ++++ .../games/multiplayer/InvitationEntity.html | 2059 +++++ .../OnInvitationReceivedListener.html | 873 +++ .../OnInvitationsLoadedListener.html | 885 +++ .../gms/games/multiplayer/Participant.html | 1687 ++++ .../games/multiplayer/ParticipantBuffer.html | 1321 ++++ .../games/multiplayer/ParticipantEntity.html | 2305 ++++++ .../games/multiplayer/ParticipantUtils.html | 1132 +++ .../gms/games/multiplayer/Participatable.html | 935 +++ .../games/multiplayer/package-summary.html | 733 ++ .../multiplayer/realtime/RealTimeMessage.html | 1596 ++++ .../RealTimeMessageReceivedListener.html | 874 +++ .../RealTimeReliableMessageSentListener.html | 888 +++ .../gms/games/multiplayer/realtime/Room.html | 1964 +++++ .../realtime/RoomConfig.Builder.html | 1614 ++++ .../multiplayer/realtime/RoomConfig.html | 1643 ++++ .../multiplayer/realtime/RoomEntity.html | 2532 ++++++ .../realtime/RoomStatusUpdateListener.html | 1370 ++++ .../realtime/RoomUpdateListener.html | 1083 +++ .../multiplayer/realtime/package-summary.html | 731 ++ .../android/gms/games/package-summary.html | 755 ++ .../android/gms/gcm/GoogleCloudMessaging.html | 1901 +++++ .../android/gms/gcm/package-summary.html | 685 ++ .../location/ActivityRecognitionClient.html | 2190 ++++++ .../location/ActivityRecognitionResult.html | 2014 +++++ .../gms/location/DetectedActivity.html | 1912 +++++ .../gms/location/Geofence.Builder.html | 1437 ++++ .../google/android/gms/location/Geofence.html | 1041 +++ ...onClient.OnAddGeofencesResultListener.html | 885 +++ ...lient.OnRemoveGeofencesResultListener.html | 951 +++ .../android/gms/location/LocationClient.html | 3039 ++++++++ .../gms/location/LocationListener.html | 875 +++ .../android/gms/location/LocationRequest.html | 2565 ++++++ .../gms/location/LocationStatusCodes.html | 1304 ++++ .../android/gms/location/package-summary.html | 737 ++ .../google/android/gms/maps/CameraUpdate.html | 119 +- .../android/gms/maps/CameraUpdateFactory.html | 119 +- .../maps/GoogleMap.CancelableCallback.html | 119 +- .../gms/maps/GoogleMap.InfoWindowAdapter.html | 161 +- .../GoogleMap.OnCameraChangeListener.html | 119 +- .../GoogleMap.OnInfoWindowClickListener.html | 119 +- .../maps/GoogleMap.OnMapClickListener.html | 119 +- .../GoogleMap.OnMapLongClickListener.html | 119 +- .../maps/GoogleMap.OnMarkerClickListener.html | 119 +- .../maps/GoogleMap.OnMarkerDragListener.html | 119 +- .../GoogleMap.OnMyLocationChangeListener.html | 132 +- .../google/android/gms/maps/GoogleMap.html | 187 +- .../android/gms/maps/GoogleMapOptions.html | 131 +- ...ationSource.OnLocationChangedListener.html | 119 +- .../android/gms/maps/LocationSource.html | 119 +- .../google/android/gms/maps/MapFragment.html | 119 +- .../com/google/android/gms/maps/MapView.html | 119 +- .../android/gms/maps/MapsInitializer.html | 119 +- .../google/android/gms/maps/Projection.html | 119 +- .../android/gms/maps/SupportMapFragment.html | 163 +- .../google/android/gms/maps/UiSettings.html | 119 +- .../gms/maps/model/BitmapDescriptor.html | 119 +- .../maps/model/BitmapDescriptorFactory.html | 119 +- .../maps/model/CameraPosition.Builder.html | 119 +- .../gms/maps/model/CameraPosition.html | 123 +- .../google/android/gms/maps/model/Circle.html | 341 +- .../android/gms/maps/model/CircleOptions.html | 321 +- .../android/gms/maps/model/GroundOverlay.html | 119 +- .../gms/maps/model/GroundOverlayOptions.html | 123 +- .../google/android/gms/maps/model/LatLng.html | 123 +- .../gms/maps/model/LatLngBounds.Builder.html | 119 +- .../android/gms/maps/model/LatLngBounds.html | 123 +- .../google/android/gms/maps/model/Marker.html | 266 +- .../android/gms/maps/model/MarkerOptions.html | 123 +- .../android/gms/maps/model/Polygon.html | 128 +- .../gms/maps/model/PolygonOptions.html | 125 +- .../android/gms/maps/model/Polyline.html | 130 +- .../gms/maps/model/PolylineOptions.html | 125 +- .../maps/model/RuntimeRemoteException.html | 119 +- .../google/android/gms/maps/model/Tile.html | 123 +- .../android/gms/maps/model/TileOverlay.html | 126 +- .../gms/maps/model/TileOverlayOptions.html | 123 +- .../android/gms/maps/model/TileProvider.html | 119 +- .../gms/maps/model/UrlTileProvider.html | 119 +- .../android/gms/maps/model/VisibleRegion.html | 127 +- .../gms/maps/model/package-summary.html | 121 +- .../android/gms/maps/package-summary.html | 132 +- .../google/android/gms/package-summary.html | 127 +- ...maClient.OnPanoramaInfoLoadedListener.html | 119 +- .../android/gms/panorama/PanoramaClient.html | 223 +- .../android/gms/panorama/package-summary.html | 119 +- .../android/gms/plus/GooglePlusUtil.html | 121 +- .../android/gms/plus/PlusClient.Builder.html | 131 +- .../PlusClient.OnAccessRevokedListener.html | 119 +- .../PlusClient.OnMomentsLoadedListener.html | 119 +- .../PlusClient.OnPeopleLoadedListener.html | 119 +- .../PlusClient.OnPersonLoadedListener.html | 119 +- .../google/android/gms/plus/PlusClient.html | 286 +- .../PlusOneButton.OnPlusOneClickListener.html | 119 +- .../android/gms/plus/PlusOneButton.html | 119 +- .../android/gms/plus/PlusShare.Builder.html | 130 +- .../google/android/gms/plus/PlusShare.html | 119 +- .../plus/model/moments/ItemScope.Builder.html | 119 +- .../gms/plus/model/moments/ItemScope.html | 119 +- .../plus/model/moments/Moment.Builder.html | 119 +- .../gms/plus/model/moments/Moment.html | 119 +- .../gms/plus/model/moments/MomentBuffer.html | 189 +- .../plus/model/moments/package-summary.html | 119 +- .../plus/model/people/Person.AgeRange.html | 119 +- .../plus/model/people/Person.Collection.html | 119 +- .../model/people/Person.Cover.CoverInfo.html | 119 +- .../model/people/Person.Cover.CoverPhoto.html | 119 +- .../model/people/Person.Cover.Layout.html | 119 +- .../gms/plus/model/people/Person.Cover.html | 119 +- .../plus/model/people/Person.Emails.Type.html | 119 +- .../gms/plus/model/people/Person.Emails.html | 119 +- .../gms/plus/model/people/Person.Gender.html | 119 +- .../gms/plus/model/people/Person.Image.html | 119 +- .../gms/plus/model/people/Person.Name.html | 119 +- .../plus/model/people/Person.ObjectType.html | 119 +- .../gms/plus/model/people/Person.OrderBy.html | 119 +- .../people/Person.Organizations.Type.html | 119 +- .../model/people/Person.Organizations.html | 119 +- .../plus/model/people/Person.PlacesLived.html | 119 +- .../people/Person.RelationshipStatus.html | 119 +- .../plus/model/people/Person.Urls.Type.html | 119 +- .../gms/plus/model/people/Person.Urls.html | 119 +- .../android/gms/plus/model/people/Person.html | 119 +- .../gms/plus/model/people/PersonBuffer.html | 189 +- .../plus/model/people/package-summary.html | 119 +- .../android/gms/plus/package-summary.html | 119 +- docs/html/reference/gcm-packages.html | 119 +- docs/html/reference/gcm_lists.js | 28 +- docs/html/reference/gms-packages.html | 204 +- docs/html/reference/gms_lists.js | 318 +- 219 files changed, 127835 insertions(+), 7516 deletions(-) create mode 100644 docs/html/reference/com/google/android/gms/R.color.html create mode 100644 docs/html/reference/com/google/android/gms/R.drawable.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/AppState.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/AppStateBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/AppStateClient.Builder.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/AppStateClient.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/OnStateDeletedListener.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/appstate/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/common/server/FavaDiagnosticsEntity.html create mode 100644 docs/html/reference/com/google/android/gms/common/server/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/games/Game.html create mode 100644 docs/html/reference/com/google/android/gms/games/GameBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/GameEntity.html create mode 100644 docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html create mode 100644 docs/html/reference/com/google/android/gms/games/GamesClient.Builder.html create mode 100644 docs/html/reference/com/google/android/gms/games/GamesClient.html create mode 100644 docs/html/reference/com/google/android/gms/games/GamesClientSettings.html create mode 100644 docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/OnPlayersLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/PageDirection.html create mode 100644 docs/html/reference/com/google/android/gms/games/Player.html create mode 100644 docs/html/reference/com/google/android/gms/games/PlayerBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/PlayerEntity.html create mode 100644 docs/html/reference/com/google/android/gms/games/RealTimeSocket.html create mode 100644 docs/html/reference/com/google/android/gms/games/achievement/Achievement.html create mode 100644 docs/html/reference/com/google/android/gms/games/achievement/AchievementBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/achievement/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/Leaderboard.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html create mode 100644 docs/html/reference/com/google/android/gms/games/leaderboard/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/Invitation.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/InvitationEntity.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/Participant.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/Participatable.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html create mode 100644 docs/html/reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/games/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html create mode 100644 docs/html/reference/com/google/android/gms/gcm/package-summary.html create mode 100644 docs/html/reference/com/google/android/gms/location/ActivityRecognitionClient.html create mode 100644 docs/html/reference/com/google/android/gms/location/ActivityRecognitionResult.html create mode 100644 docs/html/reference/com/google/android/gms/location/DetectedActivity.html create mode 100644 docs/html/reference/com/google/android/gms/location/Geofence.Builder.html create mode 100644 docs/html/reference/com/google/android/gms/location/Geofence.html create mode 100644 docs/html/reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html create mode 100644 docs/html/reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html create mode 100644 docs/html/reference/com/google/android/gms/location/LocationClient.html create mode 100644 docs/html/reference/com/google/android/gms/location/LocationListener.html create mode 100644 docs/html/reference/com/google/android/gms/location/LocationRequest.html create mode 100644 docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html create mode 100644 docs/html/reference/com/google/android/gms/location/package-summary.html diff --git a/docs/html/gcm_navtree_data.js b/docs/html/gcm_navtree_data.js index c6a9b60b11d8..3b52c139bef8 100644 --- a/docs/html/gcm_navtree_data.js +++ b/docs/html/gcm_navtree_data.js @@ -1,7 +1,7 @@ var GCM_NAVTREE_DATA = [ [ "com.google.android.gcm", "reference/com/google/android/gcm/package-summary.html", [ [ "Classes", null, [ [ "GCMBaseIntentService", "reference/com/google/android/gcm/GCMBaseIntentService.html", null, null ], [ "GCMBroadcastReceiver", "reference/com/google/android/gcm/GCMBroadcastReceiver.html", null, null ], [ "GCMConstants", "reference/com/google/android/gcm/GCMConstants.html", null, null ], [ "GCMRegistrar", "reference/com/google/android/gcm/GCMRegistrar.html", null, null ] ] , null ] ] -, null ], [ "com.google.android.gcm.server", "reference/com/google/android/gcm/server/package-summary.html", [ [ "Classes", null, [ [ "Constants", "reference/com/google/android/gcm/server/Constants.html", null, null ], [ "Message", "reference/com/google/android/gcm/server/Message.html", null, null ], [ "Message.Builder", "reference/com/google/android/gcm/server/Message.Builder.html", null, null ], [ "MulticastResult", "reference/com/google/android/gcm/server/MulticastResult.html", null, null ], [ "MulticastResult.Builder", "reference/com/google/android/gcm/server/MulticastResult.Builder.html", null, null ], [ "Result", "reference/com/google/android/gcm/server/Result.html", null, null ], [ "Result.Builder", "reference/com/google/android/gcm/server/Result.Builder.html", null, null ], [ "Sender", "reference/com/google/android/gcm/server/Sender.html", null, null ] ] +, null ], [ "com.google.android.gcm.server", "reference/com/google/android/gcm/server/package-summary.html", [ [ "Classes", null, [ [ "Constants", "reference/com/google/android/gcm/server/Constants.html", null, null ], [ "Message", "reference/com/google/android/gcm/server/Message.html", null, null ], [ "Message.Builder", "reference/com/google/android/gcm/server/Message.Builder.html", null, null ], [ "MulticastResult", "reference/com/google/android/gcm/server/MulticastResult.html", null, null ], [ "Result", "reference/com/google/android/gcm/server/Result.html", null, null ], [ "Sender", "reference/com/google/android/gcm/server/Sender.html", null, null ] ] , null ], [ "Exceptions", null, [ [ "InvalidRequestException", "reference/com/google/android/gcm/server/InvalidRequestException.html", null, null ] ] , null ] ] , null ] ] diff --git a/docs/html/gms_navtree_data.js b/docs/html/gms_navtree_data.js index 7e9cbc685a27..9d6e577f90ba 100644 --- a/docs/html/gms_navtree_data.js +++ b/docs/html/gms_navtree_data.js @@ -1,5 +1,8 @@ var GMS_NAVTREE_DATA = -[ [ "com.google.android.gms", "reference/com/google/android/gms/package-summary.html", [ [ "Classes", null, [ [ "R", "reference/com/google/android/gms/R.html", null, null ], [ "R.attr", "reference/com/google/android/gms/R.attr.html", null, null ], [ "R.id", "reference/com/google/android/gms/R.id.html", null, null ], [ "R.string", "reference/com/google/android/gms/R.string.html", null, null ], [ "R.styleable", "reference/com/google/android/gms/R.styleable.html", null, null ] ] +[ [ "com.google.android.gms", "reference/com/google/android/gms/package-summary.html", [ [ "Classes", null, [ [ "R", "reference/com/google/android/gms/R.html", null, null ], [ "R.attr", "reference/com/google/android/gms/R.attr.html", null, null ], [ "R.color", "reference/com/google/android/gms/R.color.html", null, null ], [ "R.drawable", "reference/com/google/android/gms/R.drawable.html", null, null ], [ "R.id", "reference/com/google/android/gms/R.id.html", null, null ], [ "R.string", "reference/com/google/android/gms/R.string.html", null, null ], [ "R.styleable", "reference/com/google/android/gms/R.styleable.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.appstate", "reference/com/google/android/gms/appstate/package-summary.html", [ [ "Interfaces", null, [ [ "AppState", "reference/com/google/android/gms/appstate/AppState.html", null, null ], [ "OnSignOutCompleteListener", "reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html", null, null ], [ "OnStateDeletedListener", "reference/com/google/android/gms/appstate/OnStateDeletedListener.html", null, null ], [ "OnStateListLoadedListener", "reference/com/google/android/gms/appstate/OnStateListLoadedListener.html", null, null ], [ "OnStateLoadedListener", "reference/com/google/android/gms/appstate/OnStateLoadedListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "AppStateBuffer", "reference/com/google/android/gms/appstate/AppStateBuffer.html", null, null ], [ "AppStateClient", "reference/com/google/android/gms/appstate/AppStateClient.html", null, null ], [ "AppStateClient.Builder", "reference/com/google/android/gms/appstate/AppStateClient.Builder.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.auth", "reference/com/google/android/gms/auth/package-summary.html", [ [ "Classes", null, [ [ "GoogleAuthUtil", "reference/com/google/android/gms/auth/GoogleAuthUtil.html", null, null ] ] , null ], [ "Exceptions", null, [ [ "GoogleAuthException", "reference/com/google/android/gms/auth/GoogleAuthException.html", null, null ], [ "GooglePlayServicesAvailabilityException", "reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html", null, null ], [ "UserRecoverableAuthException", "reference/com/google/android/gms/auth/UserRecoverableAuthException.html", null, null ], [ "UserRecoverableNotifiedException", "reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html", null, null ] ] @@ -9,11 +12,33 @@ var GMS_NAVTREE_DATA = , null ], [ "Exceptions", null, [ [ "GooglePlayServicesNotAvailableException", "reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.common.data", "reference/com/google/android/gms/common/data/package-summary.html", [ [ "Interfaces", null, [ [ "Freezable", "reference/com/google/android/gms/common/data/Freezable.html", null, null ] ] -, null ], [ "Classes", null, [ [ "DataBuffer", "reference/com/google/android/gms/common/data/DataBuffer.html", null, null ], [ "DataBufferIterator", "reference/com/google/android/gms/common/data/DataBufferIterator.html", null, null ], [ "DataBufferRef", "reference/com/google/android/gms/common/data/DataBufferRef.html", null, null ], [ "DataBufferUtils", "reference/com/google/android/gms/common/data/DataBufferUtils.html", null, null ], [ "DataHolder", "reference/com/google/android/gms/common/data/DataHolder.html", null, null ], [ "DataHolder.Builder", "reference/com/google/android/gms/common/data/DataHolder.Builder.html", null, null ] ] +, null ], [ "Classes", null, [ [ "DataBuffer", "reference/com/google/android/gms/common/data/DataBuffer.html", null, null ], [ "DataBufferUtils", "reference/com/google/android/gms/common/data/DataBufferUtils.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.common.images", "reference/com/google/android/gms/common/images/package-summary.html", [ [ "Interfaces", null, [ [ "ImageManager.OnImageLoadedListener", "reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "ImageManager", "reference/com/google/android/gms/common/images/ImageManager.html", null, null ], [ "ImageManager.ImageReceiver", "reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.common.server", "reference/com/google/android/gms/common/server/package-summary.html", [ [ "Classes", null, [ [ "FavaDiagnosticsEntity", "reference/com/google/android/gms/common/server/FavaDiagnosticsEntity.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.games", "reference/com/google/android/gms/games/package-summary.html", [ [ "Interfaces", null, [ [ "Game", "reference/com/google/android/gms/games/Game.html", null, null ], [ "OnGamesLoadedListener", "reference/com/google/android/gms/games/OnGamesLoadedListener.html", null, null ], [ "OnPlayersLoadedListener", "reference/com/google/android/gms/games/OnPlayersLoadedListener.html", null, null ], [ "OnSignOutCompleteListener", "reference/com/google/android/gms/games/OnSignOutCompleteListener.html", null, null ], [ "Player", "reference/com/google/android/gms/games/Player.html", null, null ], [ "RealTimeSocket", "reference/com/google/android/gms/games/RealTimeSocket.html", null, null ] ] +, null ], [ "Classes", null, [ [ "GameBuffer", "reference/com/google/android/gms/games/GameBuffer.html", null, null ], [ "GameEntity", "reference/com/google/android/gms/games/GameEntity.html", null, null ], [ "GamesActivityResultCodes", "reference/com/google/android/gms/games/GamesActivityResultCodes.html", null, null ], [ "GamesClient", "reference/com/google/android/gms/games/GamesClient.html", null, null ], [ "GamesClient.Builder", "reference/com/google/android/gms/games/GamesClient.Builder.html", null, null ], [ "GamesClientSettings", "reference/com/google/android/gms/games/GamesClientSettings.html", null, null ], [ "PageDirection", "reference/com/google/android/gms/games/PageDirection.html", null, null ], [ "PlayerBuffer", "reference/com/google/android/gms/games/PlayerBuffer.html", null, null ], [ "PlayerEntity", "reference/com/google/android/gms/games/PlayerEntity.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.games.achievement", "reference/com/google/android/gms/games/achievement/package-summary.html", [ [ "Interfaces", null, [ [ "Achievement", "reference/com/google/android/gms/games/achievement/Achievement.html", null, null ], [ "OnAchievementsLoadedListener", "reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html", null, null ], [ "OnAchievementUpdatedListener", "reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "AchievementBuffer", "reference/com/google/android/gms/games/achievement/AchievementBuffer.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.games.leaderboard", "reference/com/google/android/gms/games/leaderboard/package-summary.html", [ [ "Interfaces", null, [ [ "Leaderboard", "reference/com/google/android/gms/games/leaderboard/Leaderboard.html", null, null ], [ "LeaderboardScore", "reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html", null, null ], [ "LeaderboardVariant", "reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html", null, null ], [ "OnLeaderboardMetadataLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html", null, null ], [ "OnLeaderboardScoresLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html", null, null ], [ "OnScoreSubmittedListener", "reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "LeaderboardBuffer", "reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html", null, null ], [ "LeaderboardScoreBuffer", "reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html", null, null ], [ "SubmitScoreResult", "reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html", null, null ], [ "SubmitScoreResult.Result", "reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.games.multiplayer", "reference/com/google/android/gms/games/multiplayer/package-summary.html", [ [ "Interfaces", null, [ [ "Invitation", "reference/com/google/android/gms/games/multiplayer/Invitation.html", null, null ], [ "OnInvitationReceivedListener", "reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html", null, null ], [ "OnInvitationsLoadedListener", "reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html", null, null ], [ "Participant", "reference/com/google/android/gms/games/multiplayer/Participant.html", null, null ], [ "Participatable", "reference/com/google/android/gms/games/multiplayer/Participatable.html", null, null ] ] +, null ], [ "Classes", null, [ [ "InvitationBuffer", "reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html", null, null ], [ "InvitationEntity", "reference/com/google/android/gms/games/multiplayer/InvitationEntity.html", null, null ], [ "ParticipantBuffer", "reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html", null, null ], [ "ParticipantEntity", "reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html", null, null ], [ "ParticipantUtils", "reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.games.multiplayer.realtime", "reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html", [ [ "Interfaces", null, [ [ "RealTimeMessageReceivedListener", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html", null, null ], [ "RealTimeReliableMessageSentListener", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html", null, null ], [ "Room", "reference/com/google/android/gms/games/multiplayer/realtime/Room.html", null, null ], [ "RoomStatusUpdateListener", "reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html", null, null ], [ "RoomUpdateListener", "reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "RealTimeMessage", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html", null, null ], [ "RoomConfig", "reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html", null, null ], [ "RoomConfig.Builder", "reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html", null, null ], [ "RoomEntity", "reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.gcm", "reference/com/google/android/gms/gcm/package-summary.html", [ [ "Classes", null, [ [ "GoogleCloudMessaging", "reference/com/google/android/gms/gcm/GoogleCloudMessaging.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.location", "reference/com/google/android/gms/location/package-summary.html", [ [ "Interfaces", null, [ [ "Geofence", "reference/com/google/android/gms/location/Geofence.html", null, null ], [ "LocationClient.OnAddGeofencesResultListener", "reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html", null, null ], [ "LocationClient.OnRemoveGeofencesResultListener", "reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html", null, null ], [ "LocationListener", "reference/com/google/android/gms/location/LocationListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "ActivityRecognitionClient", "reference/com/google/android/gms/location/ActivityRecognitionClient.html", null, null ], [ "ActivityRecognitionResult", "reference/com/google/android/gms/location/ActivityRecognitionResult.html", null, null ], [ "DetectedActivity", "reference/com/google/android/gms/location/DetectedActivity.html", null, null ], [ "Geofence.Builder", "reference/com/google/android/gms/location/Geofence.Builder.html", null, null ], [ "LocationClient", "reference/com/google/android/gms/location/LocationClient.html", null, null ], [ "LocationRequest", "reference/com/google/android/gms/location/LocationRequest.html", null, null ], [ "LocationStatusCodes", "reference/com/google/android/gms/location/LocationStatusCodes.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.maps", "reference/com/google/android/gms/maps/package-summary.html", [ [ "Interfaces", null, [ [ "GoogleMap.CancelableCallback", "reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html", null, null ], [ "GoogleMap.InfoWindowAdapter", "reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html", null, null ], [ "GoogleMap.OnCameraChangeListener", "reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html", null, null ], [ "GoogleMap.OnInfoWindowClickListener", "reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html", null, null ], [ "GoogleMap.OnMapClickListener", "reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html", null, null ], [ "GoogleMap.OnMapLongClickListener", "reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html", null, null ], [ "GoogleMap.OnMarkerClickListener", "reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html", null, null ], [ "GoogleMap.OnMarkerDragListener", "reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html", null, null ], [ "GoogleMap.OnMyLocationChangeListener", "reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html", null, null ], [ "LocationSource", "reference/com/google/android/gms/maps/LocationSource.html", null, null ], [ "LocationSource.OnLocationChangedListener", "reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "CameraUpdate", "reference/com/google/android/gms/maps/CameraUpdate.html", null, null ], [ "CameraUpdateFactory", "reference/com/google/android/gms/maps/CameraUpdateFactory.html", null, null ], [ "GoogleMap", "reference/com/google/android/gms/maps/GoogleMap.html", null, null ], [ "GoogleMapOptions", "reference/com/google/android/gms/maps/GoogleMapOptions.html", null, null ], [ "MapFragment", "reference/com/google/android/gms/maps/MapFragment.html", null, null ], [ "MapsInitializer", "reference/com/google/android/gms/maps/MapsInitializer.html", null, null ], [ "MapView", "reference/com/google/android/gms/maps/MapView.html", null, null ], [ "Projection", "reference/com/google/android/gms/maps/Projection.html", null, null ], [ "SupportMapFragment", "reference/com/google/android/gms/maps/SupportMapFragment.html", null, null ], [ "UiSettings", "reference/com/google/android/gms/maps/UiSettings.html", null, null ] ] , null ] ] diff --git a/docs/html/reference/com/google/android/gcm/GCMBaseIntentService.html b/docs/html/reference/com/google/android/gcm/GCMBaseIntentService.html index 6874929d1669..605f62d78472 100644 --- a/docs/html/reference/com/google/android/gcm/GCMBaseIntentService.html +++ b/docs/html/reference/com/google/android/gcm/GCMBaseIntentService.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -849,7 +880,7 @@ Summary: String TAG - Old TAG used for logging. + @@ -934,6 +965,13 @@ android.app.Service + + int + START_TASK_REMOVED_COMPLETE + + + +
@@ -989,12 +1027,26 @@ android.content.Context + String + APPWIDGET_SERVICE + + + + + String AUDIO_SERVICE + + String + BACKUP_SERVICE + + + + int BIND_ABOVE_CLIENT @@ -1044,6 +1096,20 @@ android.content.Context + + int + BIND_NOT_VISIBLE + + + + + + int + BIND_VISIBLE + + + + int BIND_WAIVE_PRIORITY @@ -1053,39 +1119,53 @@ android.content.Context String - CLIPBOARD_SERVICE + BLUETOOTH_SERVICE String - CONNECTIVITY_SERVICE + CLIPBOARD_SERVICE + String + CONNECTIVITY_SERVICE + + + + + int CONTEXT_IGNORE_SECURITY - + int CONTEXT_INCLUDE_CODE - + int CONTEXT_RESTRICTED + + String + COUNTRY_DETECTOR + + + + String DEVICE_POLICY_SERVICE @@ -1095,102 +1175,130 @@ android.content.Context String - DOWNLOAD_SERVICE + DISPLAY_SERVICE String - DROPBOX_SERVICE + DOWNLOAD_SERVICE String - INPUT_METHOD_SERVICE + DROPBOX_SERVICE String - INPUT_SERVICE + INPUT_METHOD_SERVICE String - KEYGUARD_SERVICE + INPUT_SERVICE String - LAYOUT_INFLATER_SERVICE + KEYGUARD_SERVICE String - LOCATION_SERVICE + LAYOUT_INFLATER_SERVICE String - MEDIA_ROUTER_SERVICE + LOCATION_SERVICE + String + MEDIA_ROUTER_SERVICE + + + + + int MODE_APPEND - + int MODE_ENABLE_WRITE_AHEAD_LOGGING - + int MODE_MULTI_PROCESS - + int MODE_PRIVATE - + int MODE_WORLD_READABLE - + int MODE_WORLD_WRITEABLE + + String + NETWORKMANAGEMENT_SERVICE + + + + + + String + NETWORK_POLICY_SERVICE + + + + + + String + NETWORK_STATS_SERVICE + + + + String NFC_SERVICE @@ -1221,18 +1329,46 @@ android.content.Context String - SEARCH_SERVICE + SCHEDULING_POLICY_SERVICE + String + SEARCH_SERVICE + + + + + String SENSOR_SERVICE + + String + SERIAL_SERVICE + + + + + + String + SIP_SERVICE + + + + + + String + STATUS_BAR_SERVICE + + + + String STORAGE_SERVICE @@ -1255,12 +1391,26 @@ android.content.Context + String + THROTTLE_SERVICE + + + + + String UI_MODE_SERVICE + + String + UPDATE_LOCK_SERVICE + + + + String USB_SERVICE @@ -1270,33 +1420,40 @@ android.content.Context String - VIBRATOR_SERVICE + USER_SERVICE String - WALLPAPER_SERVICE + VIBRATOR_SERVICE String - WIFI_P2P_SERVICE + WALLPAPER_SERVICE String - WIFI_SERVICE + WIFI_P2P_SERVICE + String + WIFI_SERVICE + + + + + String WINDOW_SERVICE @@ -1780,6 +1937,22 @@ From class + final + + + void + + + attach(Context arg0, ActivityThread arg1, String arg2, IBinder arg3, Application arg4, Object arg5) + + + + + + + + + @@ -1792,7 +1965,7 @@ From class - + @@ -1808,7 +1981,7 @@ From class - + abstract @@ -1824,7 +1997,7 @@ From class - + @@ -1840,7 +2013,7 @@ From class - + @@ -1856,7 +2029,7 @@ From class - + @@ -1872,7 +2045,7 @@ From class - + @@ -1888,7 +2061,7 @@ From class - + @@ -1904,7 +2077,7 @@ From class - + @@ -1920,7 +2093,7 @@ From class - + @@ -1936,7 +2109,7 @@ From class - + @@ -1952,7 +2125,7 @@ From class - + @@ -1968,7 +2141,7 @@ From class - + @@ -1984,6 +2157,22 @@ From class + + + + + final + + + void + + + setForeground(boolean arg0) + + + + + @@ -2129,10 +2318,10 @@ From class - int + boolean - checkCallingOrSelfPermission(String arg0) + bindService(Intent arg0, ServiceConnection arg1, int arg2, int arg3) @@ -2148,7 +2337,7 @@ From class int - checkCallingOrSelfUriPermission(Uri arg0, int arg1) + checkCallingOrSelfPermission(String arg0) @@ -2164,7 +2353,7 @@ From class int - checkCallingPermission(String arg0) + checkCallingOrSelfUriPermission(Uri arg0, int arg1) @@ -2180,7 +2369,7 @@ From class int - checkCallingUriPermission(Uri arg0, int arg1) + checkCallingPermission(String arg0) @@ -2196,7 +2385,7 @@ From class int - checkPermission(String arg0, int arg1, int arg2) + checkCallingUriPermission(Uri arg0, int arg1) @@ -2212,7 +2401,7 @@ From class int - checkUriPermission(Uri arg0, int arg1, int arg2, int arg3) + checkPermission(String arg0, int arg1, int arg2) @@ -2228,7 +2417,7 @@ From class int - checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5) + checkUriPermission(Uri arg0, int arg1, int arg2, int arg3) @@ -2241,6 +2430,22 @@ From class + int + + + checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5) + + + + + + + + + + + + void @@ -2250,6 +2455,22 @@ From class + + + + + + + + Context + + + createConfigurationContext(Configuration arg0) + + + + + @@ -2257,6 +2478,22 @@ From class + Context + + + createDisplayContext(Display arg0) + + + + + + + + + + + + Context @@ -2266,6 +2503,22 @@ From class + + + + + + + + Context + + + createPackageContextAsUser(String arg0, int arg1, UserHandle arg2) + + + + + @@ -2545,6 +2798,22 @@ From class + CompatibilityInfoHolder + + + getCompatibilityInfo(int arg0) + + + + + + + + + + + + ContentResolver @@ -2554,7 +2823,7 @@ From class - + @@ -2570,7 +2839,7 @@ From class - + @@ -2586,7 +2855,7 @@ From class - + @@ -2602,7 +2871,7 @@ From class - + @@ -2618,7 +2887,7 @@ From class - + @@ -2634,7 +2903,7 @@ From class - + @@ -2650,7 +2919,7 @@ From class - + @@ -2666,7 +2935,7 @@ From class - + @@ -2682,7 +2951,7 @@ From class - + @@ -2698,7 +2967,7 @@ From class - + @@ -2714,7 +2983,7 @@ From class - + @@ -2730,7 +2999,7 @@ From class - + @@ -2746,7 +3015,7 @@ From class - + @@ -2762,7 +3031,7 @@ From class - + @@ -2778,6 +3047,22 @@ From class + + + + + + + + File + + + getSharedPrefsFile(String arg0) + + + + + @@ -2817,6 +3102,22 @@ From class + int + + + getThemeResId() + + + + + + + + + + + + Drawable @@ -2826,7 +3127,7 @@ From class - + @@ -2842,7 +3143,7 @@ From class - + @@ -2858,7 +3159,7 @@ From class - + @@ -2874,7 +3175,7 @@ From class - + @@ -2890,7 +3191,7 @@ From class - + @@ -2906,7 +3207,7 @@ From class - + @@ -2922,7 +3223,7 @@ From class - + @@ -2938,7 +3239,7 @@ From class - + @@ -2954,7 +3255,7 @@ From class - + @@ -2970,7 +3271,7 @@ From class - + @@ -2986,7 +3287,7 @@ From class - + @@ -3002,6 +3303,22 @@ From class + + + + + + + + Intent + + + registerReceiverAsUser(BroadcastReceiver arg0, UserHandle arg1, IntentFilter arg2, String arg3, Handler arg4) + + + + + @@ -3028,7 +3345,7 @@ From class void - revokeUriPermission(Uri arg0, int arg1) + removeStickyBroadcastAsUser(Intent arg0, UserHandle arg1) @@ -3044,7 +3361,7 @@ From class void - sendBroadcast(Intent arg0) + revokeUriPermission(Uri arg0, int arg1) @@ -3076,7 +3393,7 @@ From class void - sendOrderedBroadcast(Intent arg0, String arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6) + sendBroadcast(Intent arg0) @@ -3092,7 +3409,7 @@ From class void - sendOrderedBroadcast(Intent arg0, String arg1) + sendBroadcastAsUser(Intent arg0, UserHandle arg1) @@ -3108,7 +3425,7 @@ From class void - sendStickyBroadcast(Intent arg0) + sendBroadcastAsUser(Intent arg0, UserHandle arg1, String arg2) @@ -3124,7 +3441,7 @@ From class void - sendStickyOrderedBroadcast(Intent arg0, BroadcastReceiver arg1, Handler arg2, int arg3, String arg4, Bundle arg5) + sendOrderedBroadcast(Intent arg0, String arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6) @@ -3140,7 +3457,7 @@ From class void - setTheme(int arg0) + sendOrderedBroadcast(Intent arg0, String arg1) @@ -3156,7 +3473,7 @@ From class void - setWallpaper(Bitmap arg0) + sendOrderedBroadcastAsUser(Intent arg0, UserHandle arg1, String arg2, BroadcastReceiver arg3, Handler arg4, int arg5, String arg6, Bundle arg7) @@ -3172,7 +3489,7 @@ From class void - setWallpaper(InputStream arg0) + sendStickyBroadcast(Intent arg0) @@ -3188,7 +3505,7 @@ From class void - startActivities(Intent[] arg0) + sendStickyBroadcastAsUser(Intent arg0, UserHandle arg1) @@ -3204,7 +3521,7 @@ From class void - startActivities(Intent[] arg0, Bundle arg1) + sendStickyOrderedBroadcast(Intent arg0, BroadcastReceiver arg1, Handler arg2, int arg3, String arg4, Bundle arg5) @@ -3220,7 +3537,7 @@ From class void - startActivity(Intent arg0) + sendStickyOrderedBroadcastAsUser(Intent arg0, UserHandle arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6) @@ -3236,7 +3553,7 @@ From class void - startActivity(Intent arg0, Bundle arg1) + setTheme(int arg0) @@ -3249,10 +3566,10 @@ From class - boolean + void - startInstrumentation(ComponentName arg0, String arg1, Bundle arg2) + setWallpaper(InputStream arg0) @@ -3268,7 +3585,7 @@ From class void - startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4, Bundle arg5) + setWallpaper(Bitmap arg0) @@ -3284,7 +3601,7 @@ From class void - startIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4) + startActivities(Intent[] arg0, Bundle arg1) @@ -3297,10 +3614,10 @@ From class - ComponentName + void - startService(Intent arg0) + startActivities(Intent[] arg0) @@ -3313,10 +3630,10 @@ From class - boolean + void - stopService(Intent arg0) + startActivitiesAsUser(Intent[] arg0, Bundle arg1, UserHandle arg2) @@ -3332,7 +3649,7 @@ From class void - unbindService(ServiceConnection arg0) + startActivity(Intent arg0) @@ -3348,55 +3665,247 @@ From class void - unregisterReceiver(BroadcastReceiver arg0) + startActivity(Intent arg0, Bundle arg1) - - - - - - - - - - -From class - - android.content.Context - -
- - +
+ + + + + + + +From class + + android.content.Context + +
+ + + +
+ + + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/AppStateBuffer.html b/docs/html/reference/com/google/android/gms/appstate/AppStateBuffer.html new file mode 100644 index 000000000000..154ba27b3e28 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/AppStateBuffer.html @@ -0,0 +1,1321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +AppStateBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

AppStateBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.appstate.AppStateBuffer
+ + + + + + + +
+ + +

Class Overview

+

Data structure providing access to a list of app states. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + AppState + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + AppState + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/AppStateClient.Builder.html b/docs/html/reference/com/google/android/gms/appstate/AppStateClient.Builder.html new file mode 100644 index 000000000000..3b54eadcd0ad --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/AppStateClient.Builder.html @@ -0,0 +1,1344 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +AppStateClient.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

AppStateClient.Builder

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.appstate.AppStateClient.Builder
+ + + + + + + +
+ + +

Class Overview

+

Builder class for AppStateClient. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + AppStateClient.Builder(Context context, GooglePlayServicesClient.ConnectionCallbacks connectedListener, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) + +
Create a new Builder object to be used to build a corresponding AppStateClient object.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + AppStateClient + + create() + +
Creates a new AppStateClient object to be used to communicate with the App State + service, requesting all of the scopes passed in.
+ +
+ + + + + + AppStateClient.Builder + + setAccountName(String accountName) + +
Specify an account name on the device that should be used.
+ +
+ + + + + + AppStateClient.Builder + + setScopes(String... scopes) + +
Set the scopes to use when building the AppStateClient object.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + AppStateClient.Builder + (Context context, GooglePlayServicesClient.ConnectionCallbacks connectedListener, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) +

+
+
+ + + +
+
+ +

Create a new Builder object to be used to build a corresponding AppStateClient object.

+
+
Parameters
+ + + + + + + + + + +
context + the context to use for the connection.
connectedListener + the listener where the results of the asynchronous + connect() call are delivered.
connectionFailedListener + the listener which will be notified if the connection + attempt fails. +
+
+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + AppStateClient + + create + () +

+
+
+ + + +
+
+ +

Creates a new AppStateClient object to be used to communicate with the App State + service, requesting all of the scopes passed in. +

+ The object is not usable until after the asynchronous connect() method has been + called and your listener's + onConnected(Bundle) method is called. Note + that the ConnectionCallbacks provided here will always receive callbacks before + any subsequently registered connection listeners. +

+ When your application is done using this client it must call disconnect(), even if + the async result from connect() has not yet been delivered. +

+ The typical pattern is to instantiate this object in your Activity's + onCreate(Bundle) method and then call connect() in + onStart() and disconnect() from onStop() regardless + of the state.

+
+
Returns
+
  • The AppStateClient object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + AppStateClient.Builder + + setAccountName + (String accountName) +

+
+
+ + + +
+
+ +

Specify an account name on the device that should be used. If this is never called, the + client will use the current default account for Google Play services for this + application.

+
+
Parameters
+ + + + +
accountName + The account name on the device that should be used by this + AppStateClient. Must be non-null. +
+
+ +
+
+ + + + +
+

+ + public + + + + + AppStateClient.Builder + + setScopes + (String... scopes) +

+
+
+ + + +
+
+ +

Set the scopes to use when building the AppStateClient object. +

+ The scope used by default is APP_STATE.

+
+
Parameters
+ + + + +
scopes + The OAuth scopes that your application is requesting access to (see + Scopes for details).
+
+
+
Returns
+
  • This Builder. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/AppStateClient.html b/docs/html/reference/com/google/android/gms/appstate/AppStateClient.html new file mode 100644 index 000000000000..4bd261949671 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/AppStateClient.html @@ -0,0 +1,3197 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +AppStateClient | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

AppStateClient

+ + + + + extends Object
+ + + + + + + implements + + GooglePlayServicesClient + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.appstate.AppStateClient
+ + + + + + + +
+ + +

Class Overview

+

Main public API entry point for the AppState client. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classAppStateClient.BuilderBuilder class for AppStateClient. 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intSTATUS_CLIENT_RECONNECT_REQUIREDThe AppStateClient is in an inconsistent state and must reconnect to the service to resolve + the issue.
intSTATUS_DEVELOPER_ERRORThe developer has configured something incorrectly with their application.
intSTATUS_INTERNAL_ERRORAn unspecified error occurred; no more specific information is available.
intSTATUS_NETWORK_ERROR_NO_DATAA network error occurred while attempting to retrieve fresh data, and no data was available + locally.
intSTATUS_NETWORK_ERROR_OPERATION_DEFERREDA network error occurred while attempting to modify data, but the data was successfully + modified locally and will be updated on the network the next time the device is able to sync.
intSTATUS_NETWORK_ERROR_OPERATION_FAILEDA network error occurred while attempting to perform an operation that requires network + access.
intSTATUS_NETWORK_ERROR_STALE_DATAA network error occurred while attempting to retrieve fresh data, but some locally cached + data was available.
intSTATUS_OKThe operation was successful.
intSTATUS_STATE_KEY_LIMIT_EXCEEDEDThe application already has data in the maximum number of keys and is attempting to create a + new one.
intSTATUS_STATE_KEY_NOT_FOUNDThe requested state key was not found.
intSTATUS_WRITE_OUT_OF_DATE_VERSIONA version conflict was detected.
intSTATUS_WRITE_SIZE_EXCEEDEDA write request was submitted which contained too much data for the server.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + connect() + +
Connect to the app state service.
+ +
+ + + + + + void + + deleteState(OnStateDeletedListener listener, int stateKey) + +
Delete the state data for the current app.
+ +
+ + + + + + void + + disconnect() + +
Closes the connection to Google Play services.
+ +
+ + + + + + int + + getMaxNumKeys() + +
Gets the maximum number of keys that an app can store data in simultaneously.
+ +
+ + + + + + int + + getMaxStateSize() + +
Gets the maximum app state size per state key in bytes.
+ +
+ + + + + + boolean + + isConnected() + +
Checks if the client is currently connected to the service, so that + requests to other methods will succeed.
+ +
+ + + + + + boolean + + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ + + + + + boolean + + isConnectionCallbacksRegistered(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Returns true if the specified listener is currently registered to + receive connection events.
+ +
+ + + + + + boolean + + isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Returns true if the specified listener is currently registered to + receive connection failed events.
+ +
+ + + + + + void + + listStates(OnStateListLoadedListener listener) + +
Asynchronously lists all the saved states for the current app.
+ +
+ + + + + + void + + loadState(OnStateLoadedListener listener, int stateKey) + +
Asynchronously loads saved state for the current app.
+ +
+ + + + + + void + + reconnect() + +
Closes the current connection to Google Play services and creates a new connection.
+ +
+ + + + + + void + + registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Registers a listener to receive connection events from this GooglePlayServicesClient.
+ +
+ + + + + + void + + registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Registers a listener to receive connection failed events from this + GooglePlayServicesClient.
+ +
+ + + + + + void + + resolveState(OnStateLoadedListener listener, int stateKey, String resolvedVersion, byte[] resolvedData) + +
Resolve a previously detected conflict in app state data.
+ +
+ + + + + + void + + signOut(OnSignOutCompleteListener listener) + +
Asynchronously signs the current user out.
+ +
+ + + + + + void + + signOut() + +
Asynchronously signs the current user out.
+ +
+ + + + + + void + + unregisterConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Removes a connection listener from this GooglePlayServicesClient.
+ +
+ + + + + + void + + unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Removes a connection failed listener from the GooglePlayServicesClient.
+ +
+ + + + + + void + + updateState(int stateKey, byte[] data) + +
Updates app state for the current app.
+ +
+ + + + + + void + + updateStateImmediate(OnStateLoadedListener listener, int stateKey, byte[] data) + +
Updates app state for the current app.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + com.google.android.gms.common.GooglePlayServicesClient + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + STATUS_CLIENT_RECONNECT_REQUIRED +

+
+ + + + +
+
+ +

The AppStateClient is in an inconsistent state and must reconnect to the service to resolve + the issue. Further calls to the service using the current connection are unlikely to succeed. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_DEVELOPER_ERROR +

+
+ + + + +
+
+ +

The developer has configured something incorrectly with their application. This is a hard + error, since retrying will not fix this. +

+ + +
+ Constant Value: + + + 7 + (0x00000007) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_INTERNAL_ERROR +

+
+ + + + +
+
+ +

An unspecified error occurred; no more specific information is available. The device logs may + provide additional data. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_NO_DATA +

+
+ + + + +
+
+ +

A network error occurred while attempting to retrieve fresh data, and no data was available + locally. +

+ + +
+ Constant Value: + + + 4 + (0x00000004) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_OPERATION_DEFERRED +

+
+ + + + +
+
+ +

A network error occurred while attempting to modify data, but the data was successfully + modified locally and will be updated on the network the next time the device is able to sync. +

+ + +
+ Constant Value: + + + 5 + (0x00000005) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_OPERATION_FAILED +

+
+ + + + +
+
+ +

A network error occurred while attempting to perform an operation that requires network + access. The operation may be retried later. +

+ + +
+ Constant Value: + + + 6 + (0x00000006) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_STALE_DATA +

+
+ + + + +
+
+ +

A network error occurred while attempting to retrieve fresh data, but some locally cached + data was available. The data returned may be stale and/or incomplete. +

+ + +
+ Constant Value: + + + 3 + (0x00000003) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_OK +

+
+ + + + +
+
+ +

The operation was successful. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_STATE_KEY_LIMIT_EXCEEDED +

+
+ + + + +
+
+ +

The application already has data in the maximum number of keys and is attempting to create a + new one. This is a hard error. Subsequent writes to this same key will only succeed after + some number of keys have been deleted. +

+ + +
+ Constant Value: + + + 2003 + (0x000007d3) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_STATE_KEY_NOT_FOUND +

+
+ + + + +
+
+ +

The requested state key was not found. This means that the server did not have data for us + when we successfully made a network request. +

+ + +
+ Constant Value: + + + 2002 + (0x000007d2) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_WRITE_OUT_OF_DATE_VERSION +

+
+ + + + +
+
+ +

A version conflict was detected. This means that we have a local version of the data which is + out of sync with the server. +

+ + +
+ Constant Value: + + + 2000 + (0x000007d0) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_WRITE_SIZE_EXCEEDED +

+
+ + + + +
+
+ +

A write request was submitted which contained too much data for the server. This should only + occur if we change the app state size restrictions, or if someone is modifying their database + directly. +

+ + +
+ Constant Value: + + + 2001 + (0x000007d1) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + void + + connect + () +

+
+
+ + + +
+
+ +

Connect to the app state service. This method will return immediately, and + onConnected(Bundle) will be called if the + connection is successful.

+
+
See Also
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + deleteState + (OnStateDeletedListener listener, int stateKey) +

+
+
+ + + +
+
+ +

Delete the state data for the current app. This method will delete all data associated with + the provided key, as well as removing the key itself. +

+ Note that this API is not version safe. This means that it is possible to accidentally delete + a user's data using this API. For a version safe alternative, consider using + updateState(int, byte[]) with null data instead.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the load is complete. This listener is + required to be non-null. The listener is called on the main thread.
stateKey + The key to clear data for. Must be a non-negative integer less than + getMaxNumKeys(). +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + disconnect + () +

+
+
+ + + +
+
+ +

Closes the connection to Google Play services. No calls can be made on this object + after calling this method.

+ +
+
+ + + + +
+

+ + public + + + + + int + + getMaxNumKeys + () +

+
+
+ + + +
+
+ +

Gets the maximum number of keys that an app can store data in simultaneously. +

+ If the service cannot be reached for some reason, this will return + STATUS_CLIENT_RECONNECT_REQUIRED. In this case, no further operations should be + attempted until after the client has reconnected.

+
+
Returns
+
  • The maximum number of keys that an app can use for data. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getMaxStateSize + () +

+
+
+ + + +
+
+ +

Gets the maximum app state size per state key in bytes. Guaranteed to be at least 128 KB. May + increase in the future. +

+ If the service cannot be reached for some reason, this will return + STATUS_CLIENT_RECONNECT_REQUIRED. In this case, no further operations should be + attempted until after the client has reconnected.

+
+
Returns
+
  • The maximum state size that can be stored with a given state key in bytes. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnected + () +

+
+
+ + + +
+
+ +

Checks if the client is currently connected to the service, so that + requests to other methods will succeed. Applications should guard + client actions caused by the user with a call to this method.

+
+
Returns
+
  • true If the client is connected to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionCallbacksRegistered + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + events.
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionFailedListenerRegistered + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection failed events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + failed events.
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + listStates + (OnStateListLoadedListener listener) +

+
+
+ + + +
+
+ +

Asynchronously lists all the saved states for the current app. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + +
listener + the listener that is called when the load is complete. This listener is + required to be non-null. The listener is called on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadState + (OnStateLoadedListener listener, int stateKey) +

+
+
+ + + +
+
+ +

Asynchronously loads saved state for the current app. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the load is complete. This listener is + required to be non-null. The listener is called on the main thread.
stateKey + The key to load data for. Must be a non-negative integer less than + getMaxNumKeys(). +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + reconnect + () +

+
+
+ + + +
+
+ +

Closes the current connection to Google Play services and creates a new connection. +

+ This method closes the current connection then returns immediately and reconnects to the + service in the background. +

+ This method will call onDisconnected() + followed by either onConnected(Bundle) + if the connection is successful or + onConnectionFailed(ConnectionResult) on a failure.

+ + +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection events from this GooglePlayServicesClient. + If we are already connected, the listener's onConnected(Bundle) method + will be called immediately. Applications should balance calls to this method with calls to + unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources. +

+ If the specified listener is already registered to receive connection events, this + method will not add a duplicate entry for the same listener, but will + still call the listener's onConnected(Bundle) method if currently + connected. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection failed events from this + GooglePlayServicesClient. Unlike registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks), if we are not + already connected, the listener's onConnectionFailed(ConnectionResult) + method will not be called immediately. Applications should balance calls to this method with + calls to unregisterConnectionFailedListener(OnConnectionFailedListener) to avoid + leaking resources. +

+ If the specified listener is already registered to receive connection failed events, this + method will not add a duplicate entry for the same listener. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + resolveState + (OnStateLoadedListener listener, int stateKey, String resolvedVersion, byte[] resolvedData) +

+
+
+ + + +
+
+ +

Resolve a previously detected conflict in app state data. Note that it is still possible to + receive a conflict callback after this call. This will occur if data on the server continues + to change. In this case, resolution should be retried until a successful status is returned. +

+ The value of resolvedVersion passed here must correspond to the value provided in the + onStateConflict(int, String, byte[], byte[]) call. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + + + + +
listener + the listener that is called when the operation is complete. This listener is + required to be non-null. The listener is called on the main thread.
stateKey + The key to resolve data for. Must be a non-negative integer less than + getMaxNumKeys().
resolvedVersion + version code from previous onStateConflict call.
resolvedData + data to submit as the current data. null is a valid value here. + May be a maximum of getMaxStateSize() bytes. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + signOut + (OnSignOutCompleteListener listener) +

+
+
+ + + +
+
+ +

Asynchronously signs the current user out. +

+ The listener is called when sign-out is complete. If disconnect() is called before + sign-out is complete, the listener will not be called.

+
+
Parameters
+ + + + +
listener + the listener that is called when sign-out is complete. This listener is + required to be non-null. The listener is called on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + signOut + () +

+
+
+ + + +
+
+ +

Asynchronously signs the current user out. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Removes a connection listener from this GooglePlayServicesClient. Note that removing + a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection events, this + method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Removes a connection failed listener from the GooglePlayServicesClient. + Note that removing a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection failed events, + this method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + updateState + (int stateKey, byte[] data) +

+
+
+ + + +
+
+ +

Updates app state for the current app. The data provided here is developer-specified and can + be in any format appropriate for the app. This method updates the local copy of the app state + and syncs the changes to the server. If the local data conflicts with the data on the server, + this will be indicated the next time you call loadState(OnStateLoadedListener, int). +

+ This is the fire-and-forget form of the API. Use this form if you don't need to know the + results of the operation immediately. For most applications, this will be the preferred API + to use. See updateStateImmediate(OnStateLoadedListener, int, byte[]) if you need the + results delivered to your application.

+
+
Parameters
+ + + + + + + +
stateKey + The key to update data for. Must be a non-negative integer less than + getMaxNumKeys().
data + the data to store. May be a maximum of getMaxStateSize() bytes. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + updateStateImmediate + (OnStateLoadedListener listener, int stateKey, byte[] data) +

+
+
+ + + +
+
+ +

Updates app state for the current app. The data provided here is developer-specified and can + be in any format appropriate for the app. This method will attempt to update the data on the + server immediately. The results of this operation will be delivered on the provided + listener's onStateLoaded(int, int, byte[]) method. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + +
listener + the listener that is called when the write operation is complete. This + listener is required to be non-null. The listener is called on the main thread.
stateKey + The key to update data for. Must be a non-negative integer less than + getMaxNumKeys().
data + the data to store. May be a maximum of getMaxStateSize() bytes. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html b/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html new file mode 100644 index 000000000000..e97255a3b2db --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html @@ -0,0 +1,862 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnSignOutCompleteListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnSignOutCompleteListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.appstate.OnSignOutCompleteListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving a callback when a sign-out is complete. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onSignOutComplete() + +
Called once the sign-out operation is complete.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onSignOutComplete + () +

+
+
+ + + +
+
+ +

Called once the sign-out operation is complete. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/OnStateDeletedListener.html b/docs/html/reference/com/google/android/gms/appstate/OnStateDeletedListener.html new file mode 100644 index 000000000000..1a2f41166744 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/OnStateDeletedListener.html @@ -0,0 +1,884 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnStateDeletedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnStateDeletedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.appstate.OnStateDeletedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when app state data has been deleted. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onStateDeleted(int statusCode, int stateKey) + +
Called when app state data has been deleted.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onStateDeleted + (int statusCode, int stateKey) +

+
+
+ + + +
+
+ +

Called when app state data has been deleted. Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
stateKey + The state key for the data that was loaded, if available. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html b/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html new file mode 100644 index 000000000000..ab494b95f3aa --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html @@ -0,0 +1,887 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnStateListLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnStateListLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.appstate.OnStateListLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when a list of app state data has been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onStateListLoaded(int statusCode, AppStateBuffer buffer) + +
Called when app state data has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onStateListLoaded + (int statusCode, AppStateBuffer buffer) +

+
+
+ + + +
+
+ +

Called when app state data has been loaded. Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
buffer + The app states that were requested. This is guaranteed to be non-null, though + it may be empty. The client must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html b/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html new file mode 100644 index 000000000000..ec5047e413ff --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html @@ -0,0 +1,966 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnStateLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnStateLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.appstate.OnStateLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when app state data has been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onStateConflict(int stateKey, String resolvedVersion, byte[] localData, byte[] serverData) + +
Called when a conflict is detected while loading app state.
+ +
+ abstract + + + + + void + + onStateLoaded(int statusCode, int stateKey, byte[] localData) + +
Called when app state data has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onStateConflict + (int stateKey, String resolvedVersion, byte[] localData, byte[] serverData) +

+
+
+ + + +
+
+ +

Called when a conflict is detected while loading app state. To resolve the conflict, call + resolveState(OnStateLoadedListener, int, String, byte[]) with the new + desired data and the value of resolvedVersion provided here.

+
+
Parameters
+ + + + + + + + + + + + + +
stateKey + The state key for the data needing resolution.
resolvedVersion + Version token to pass for resolution.
localData + Byte array containing the data that was saved locally on the device.
serverData + Byte array containing the latest known data from the server, which was + different from the local data. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onStateLoaded + (int statusCode, int stateKey, byte[] localData) +

+
+
+ + + +
+
+ +

Called when app state data has been loaded. Possible status codes include: +

+
+
Parameters
+ + + + + + + + + + +
statusCode + A status code indicating the result of the operation.
stateKey + The state key for the data that was loaded, if available.
localData + Byte array containing the bytes of the requested app state, if available. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/package-summary.html b/docs/html/reference/com/google/android/gms/appstate/package-summary.html new file mode 100644 index 000000000000..832917c621dc --- /dev/null +++ b/docs/html/reference/com/google/android/gms/appstate/package-summary.html @@ -0,0 +1,725 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.appstate | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.appstate

+
+ +
+ +
+ + +
+ Contains classes for manipulating saved app state data. + +
+ + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + +
AppStateData interface for retrieving app state information. 
OnSignOutCompleteListenerListener for receiving a callback when a sign-out is complete. 
OnStateDeletedListenerListener for receiving callbacks when app state data has been deleted. 
OnStateListLoadedListenerListener for receiving callbacks when a list of app state data has been loaded. 
OnStateLoadedListenerListener for receiving callbacks when app state data has been loaded. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + +
AppStateBufferData structure providing access to a list of app states. 
AppStateClientMain public API entry point for the AppState client. 
AppStateClient.BuilderBuilder class for AppStateClient. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/auth/GoogleAuthException.html b/docs/html/reference/com/google/android/gms/auth/GoogleAuthException.html index a2875b7b61b3..fec2c02f7abe 100644 --- a/docs/html/reference/com/google/android/gms/auth/GoogleAuthException.html +++ b/docs/html/reference/com/google/android/gms/auth/GoogleAuthException.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/auth/GoogleAuthUtil.html b/docs/html/reference/com/google/android/gms/auth/GoogleAuthUtil.html index 3447faed8547..1fa6dc5fed8e 100644 --- a/docs/html/reference/com/google/android/gms/auth/GoogleAuthUtil.html +++ b/docs/html/reference/com/google/android/gms/auth/GoogleAuthUtil.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html b/docs/html/reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html index 96c12f328e41..f93f06f1704c 100644 --- a/docs/html/reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html +++ b/docs/html/reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/auth/UserRecoverableAuthException.html b/docs/html/reference/com/google/android/gms/auth/UserRecoverableAuthException.html index 68a0014b9134..35e9548814ca 100644 --- a/docs/html/reference/com/google/android/gms/auth/UserRecoverableAuthException.html +++ b/docs/html/reference/com/google/android/gms/auth/UserRecoverableAuthException.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html b/docs/html/reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html index efc2cff70c6d..3392ec945777 100644 --- a/docs/html/reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html +++ b/docs/html/reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/auth/package-summary.html b/docs/html/reference/com/google/android/gms/auth/package-summary.html index 5e4563483cdf..51642cebc814 100644 --- a/docs/html/reference/com/google/android/gms/auth/package-summary.html +++ b/docs/html/reference/com/google/android/gms/auth/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -582,11 +613,6 @@ onkeyup="return search_changed(event, false, '/')" />
-
- Contains classes for authenticating Google accounts. - -
- diff --git a/docs/html/reference/com/google/android/gms/common/AccountPicker.html b/docs/html/reference/com/google/android/gms/common/AccountPicker.html index 317368fcbf9e..31f3fc4d5819 100644 --- a/docs/html/reference/com/google/android/gms/common/AccountPicker.html +++ b/docs/html/reference/com/google/android/gms/common/AccountPicker.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/ConnectionResult.html b/docs/html/reference/com/google/android/gms/common/ConnectionResult.html index 2502adf6d3e0..6fa45b01fabc 100644 --- a/docs/html/reference/com/google/android/gms/common/ConnectionResult.html +++ b/docs/html/reference/com/google/android/gms/common/ConnectionResult.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html index 76a99ee890dc..b0a5d9235449 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -622,10 +653,10 @@ onkeyup="return search_changed(event, false, '/')" />

Class Overview

-

Provides callbacks that are called when the client is - connected or disconnected from the service. Most applications - implement onConnected() to - start making requests. +

Provides callbacks that are called when the client is connected or disconnected from the + service. Most applications implement + onConnected(Bundle) to start making + requests.

@@ -696,7 +727,7 @@ onkeyup="return search_changed(event, false, '/')" /> void - onConnected() + onConnected(Bundle connectionHint)
After calling connect(), this method will be invoked asynchronously when the connect request has successfully completed.
@@ -770,7 +801,7 @@ onkeyup="return search_changed(event, false, '/')" /> - +

@@ -783,7 +814,7 @@ onkeyup="return search_changed(event, false, '/')" /> void onConnected - () + (Bundle connectionHint)

@@ -798,7 +829,21 @@ onkeyup="return search_changed(event, false, '/')" /> the application can make requests on other methods provided by the client and expect that no user intervention is required to call methods that use account and scopes provided to the client constructor. -

+

+ Note that the contents of the connectionHint Bundle are defined by the specific + services. Please see the documentation of the specific implementation of + GooglePlayServicesClient you are using for more information.

+
+
Parameters
+ + + + +
connectionHint + Bundle of data provided to clients by Google Play services. May be + null if no content is provided by the service. +
+
@@ -832,7 +877,7 @@ onkeyup="return search_changed(event, false, '/')" /> problem causes it to be killed by the system). When called, all requests have been canceled and no outstanding listeners will be executed. Applications should disable UI components that require - the service, and wait for a call to onConnected() to + the service, and wait for a call to onConnected(Bundle) to re-enable them.

diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html index 3b5eb84cfc09..e7df623bf257 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.html index 311365718105..2c6935f57f15 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesClient.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -653,6 +684,14 @@ Summary: > + ActivityRecognitionClient, + + AppStateClient, + + GamesClient, + + LocationClient, + PanoramaClient, PlusClient @@ -663,6 +702,23 @@ Summary: style="display: none;" > + + + + + + + + + + + + + + + + @@ -725,8 +781,8 @@ Summary: interface - + @@ -838,6 +894,24 @@ Summary: + boolean + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - -
ActivityRecognitionClientThe main entry point for activity recognition integration. 
AppStateClientMain public API entry point for the AppState client. 
GamesClientMain public API entry point for the games client. 
LocationClientThe LocationClient is the main entry point for location related APIs, + such as location and geofence. 
PanoramaClient The main entry point for panorama integration.  GooglePlayServicesClient.ConnectionCallbacksProvides callbacks that are called when the client is - connected or disconnected from the service. Provides callbacks that are called when the client is connected or disconnected from the + service. 
+ isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ abstract + + + + boolean @@ -850,7 +924,7 @@ Summary: -
abstract @@ -869,7 +943,7 @@ Summary: -
abstract @@ -887,7 +961,7 @@ Summary: -
abstract @@ -906,7 +980,7 @@ Summary: -
abstract @@ -924,7 +998,7 @@ Summary: -
abstract @@ -1014,8 +1088,8 @@ Summary:

Connects the client to Google Play services. This method returns immediately, and connects to the service in the background. If the connection is successful, - onConnected() is called. On a failure, - onConnectionFailed(ConnectionResult) is called. + onConnected(Bundle) is called. On a + failure, onConnectionFailed(ConnectionResult) is called.

@@ -1093,6 +1167,40 @@ Summary: + + +
+

+ + public + + + abstract + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ +
@@ -1215,13 +1323,13 @@ Summary:

Registers a listener to receive connection events from this GooglePlayServicesClient. - If we are already connected, the listener's onConnected() method + If we are already connected, the listener's onConnected(Bundle) method will be called immediately. Applications should balance calls to this method with calls to unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources.

If the specified listener is already registered to receive connection events, this method will not add a duplicate entry for the same listener, but will - still call the listener's onConnected() method if currently + still call the listener's onConnected(Bundle) method if currently connected.

Note that the order of messages received here may not be stable, so clients should not rely diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html index c0d1f3d04664..28322905a795 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +

diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html index 974e3bdf21df..436e75ebf022 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -1238,8 +1269,8 @@ From class Constant Value: - 3025000 - (0x002e2868) + 3136000 + (0x002fda00)
diff --git a/docs/html/reference/com/google/android/gms/common/Scopes.html b/docs/html/reference/com/google/android/gms/common/Scopes.html index 07afe05405a1..05685cee1d45 100644 --- a/docs/html/reference/com/google/android/gms/common/Scopes.html +++ b/docs/html/reference/com/google/android/gms/common/Scopes.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -707,9 +738,25 @@ Summary: - +
Constants
+ + + + + + + + + + + + + + + + - + @@ -982,6 +1029,83 @@ From class + + + +
+

+ + public + static + final + String + + APP_STATE +

+
+ + + + +
+
+ +

Scope for using the App State service. +

+ + +
+ Constant Value: + + + "https://www.googleapis.com/auth/appstate" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + GAMES +

+
+ + + + +
+
+ +

Scope for accessing data from Google Play Games. +

+ + +
+ Constant Value: + + + "https://www.googleapis.com/auth/games" + + +
+ +
+
+ + +
@@ -1049,7 +1173,8 @@ From class
-

OAuth 2.0 scope for accessing the user's Google+ profile data.

+

OAuth 2.0 scope for accessing the user's Google+ profile data. +

diff --git a/docs/html/reference/com/google/android/gms/common/SignInButton.html b/docs/html/reference/com/google/android/gms/common/SignInButton.html index e49cbf658c98..9fb6dfc4657e 100644 --- a/docs/html/reference/com/google/android/gms/common/SignInButton.html +++ b/docs/html/reference/com/google/android/gms/common/SignInButton.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html b/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html index b780560f0ba8..0ef5174a2e50 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -591,17 +622,11 @@ Summary: - Fields - - - - | Protected Ctors - - | Methods + Methods @@ -689,9 +714,25 @@ Summary: > + AchievementBuffer, + + AppStateBuffer, + + GameBuffer, + + InvitationBuffer, + + LeaderboardBuffer, + + LeaderboardScoreBuffer, + MomentBuffer, - PersonBuffer + ParticipantBuffer, + + PersonBuffer, + + PlayerBuffer
@@ -699,14 +740,46 @@ Summary: style="display: none;" >
Constants
StringAPP_STATEScope for using the App State service.
StringGAMESScope for accessing data from Google Play Games.
String PLUS_LOGIN OAuth 2.0 scope for accessing the user's name, basic profile info, list of people in the @@ -717,7 +764,7 @@ Summary:
String PLUS_PROFILE OAuth 2.0 scope for accessing the user's Google+ profile data.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AchievementBufferData structure providing access to a list of achievements. 
AppStateBufferData structure providing access to a list of app states. 
GameBufferData structure providing access to a list of games. 
InvitationBufferDataBuffer implementation containing Invitation data. 
LeaderboardBufferDataBuffer containing Leaderboard data. 
LeaderboardScoreBufferDataBuffer containing LeaderboardScore data. 
MomentBuffer Data structure providing access to a list of Moment objects. 
ParticipantBufferDataBuffer implementation containing match participant data. 
PersonBuffer Data structure providing access to a list of Person objects. 
PlayerBufferData structure providing access to a list of players. 
@@ -766,56 +839,11 @@ Summary: - - - - - - - - - - - - - -
Fields
- protected - - final - DataHoldermDataHolderThe DataHolder that backs this data buffer.
- - - - - - - - - - - - - - - - -
Protected Constructors
- - - - - - - - DataBuffer(DataHolder dataHolder) - -
@@ -899,6 +927,22 @@ Summary: + boolean
+
+ isClosed() + +
+ + + + + Iterator<T> @@ -1191,42 +1235,6 @@ From interface - -

Fields

- - - - - - -
-

- - protected - - final - DataHolder - - mDataHolder -

-
- - - - -
-
- -

The DataHolder that backs this data buffer. -

- - -
-
- - - - @@ -1234,40 +1242,6 @@ From interface -

Protected Constructors

- - - - - -
-

- - protected - - - - - - - DataBuffer - (DataHolder dataHolder) -

-
-
- - - -
-
- -

- -
-
- - - @@ -1407,6 +1381,35 @@ From interface + + +
+

+ + public + + + + + boolean + + isClosed + () +

+
+
+ + + +
+
+ +

+ +
+
+ +
diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html b/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html index 3b3e7adf0bb2..2478e8bd4c01 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -1026,7 +1057,13 @@ From class

Utility helper method to freeze a DataBuffer into a list of concrete entities. The DataBuffer provided here must contain elements that implement the Freezable interface.

- Note that this will close the buffer, so do not attempt to use it afterwards.

+ Note that this will close the buffer, so do not attempt to use it afterwards. +

+ Type T is the type of object returned by freezing an element of the DataBuffer. In most + cases, this will be the same as E. + +

+ Type E is the type of object contained by the DataBuffer. Must implement Freezable.

Parameters
diff --git a/docs/html/reference/com/google/android/gms/common/data/Freezable.html b/docs/html/reference/com/google/android/gms/common/data/Freezable.html index 472327b2ea5c..2222bb18bcfe 100644 --- a/docs/html/reference/com/google/android/gms/common/data/Freezable.html +++ b/docs/html/reference/com/google/android/gms/common/data/Freezable.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -650,31 +681,57 @@ Summary: > - ItemScope, - Moment, + + AppState, + + - Person, + + - Person.AgeRange, + + - Person.Cover, + + - Person.Cover.CoverInfo, + + + + + + + + + + + - Person.Cover.CoverPhoto, + + - Person.Emails, + + - Person.Image, + + - Person.Name, + + - Person.Organizations, + + Game, + + - Person.PlacesLived, + + - Person.Urls + + and + 10 others. +
@@ -683,13 +740,45 @@ Summary: >
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -734,6 +823,22 @@ Summary: + + + + + + + + + + + + + + + +
AppStateData interface for retrieving app state information. 
GameData interface for retrieving game information. 
GameEntityData object representing a set of Game data. 
InvitationData interface for an invitation object. 
InvitationEntityData object representing the data for a multiplayer invitation. 
ItemScope  
LeaderboardScoreData interface representing a single score on a leaderboard. 
Moment  
ParticipantData interface for multiplayer participants. 
ParticipantEntityData object representing a Participant in a match. 
Person  Person.Urls  
PlayerData interface for retrieving player information. 
PlayerEntityData object representing a set of Player data. 
RoomData interface for room functionality. 
RoomEntityData object representing the data for a room. 
diff --git a/docs/html/reference/com/google/android/gms/common/data/package-summary.html b/docs/html/reference/com/google/android/gms/common/data/package-summary.html index 576d351cb404..b0ae6df8e9ae 100644 --- a/docs/html/reference/com/google/android/gms/common/data/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/data/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -614,26 +645,10 @@ onkeyup="return search_changed(event, false, '/')" />
DataBuffer<T> Base class for a buffer of typed data. 
DataBufferIterator<T>Iterator used to walk a DataBuffer
DataBufferRefA DataBufferRef provides a pointer to a row in a DataBuffer
DataBufferUtils Utilities for working with DataBuffer objects. 
DataHolderClass for accessing collections of data, organized into columns. 
DataHolder.BuilderHelper class to build DataHolder instances containing arbitrary data. 
diff --git a/docs/html/reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html b/docs/html/reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html index e179db20f439..35b43efeaca1 100644 --- a/docs/html/reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html +++ b/docs/html/reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html b/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html index 0104d25f20ad..cfcd43484343 100644 --- a/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/images/ImageManager.html b/docs/html/reference/com/google/android/gms/common/images/ImageManager.html index c731fbb37ad5..77ba8c5b59f3 100644 --- a/docs/html/reference/com/google/android/gms/common/images/ImageManager.html +++ b/docs/html/reference/com/google/android/gms/common/images/ImageManager.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -1294,7 +1325,7 @@ From class

Load an image to display from a URI. Note that this does not support arbitrary URIs - the URI - must be something that was retrieved from another call to the Google Play services. + must be something that was retrieved from another call to Google Play services.

The result is delivered to the given listener on the main thread.

@@ -1347,7 +1378,7 @@ From class

Load an image to display from a URI. Note that this does not support arbitrary URIs - the URI - must be something that was retrieved from another call to the Google Play services. + must be something that was retrieved from another call to Google Play services.

The result is delivered to the given listener on the main thread.

diff --git a/docs/html/reference/com/google/android/gms/common/images/package-summary.html b/docs/html/reference/com/google/android/gms/common/images/package-summary.html index 2cb63337a472..d51f58f1fa8f 100644 --- a/docs/html/reference/com/google/android/gms/common/images/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/images/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/common/package-summary.html b/docs/html/reference/com/google/android/gms/common/package-summary.html index 718e6125ad6a..ad14758b2f07 100644 --- a/docs/html/reference/com/google/android/gms/common/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -603,8 +634,8 @@ onkeyup="return search_changed(event, false, '/')" /> GooglePlayServicesClient.ConnectionCallbacks - Provides callbacks that are called when the client is - connected or disconnected from the service.  + Provides callbacks that are called when the client is connected or disconnected from the + service.  GooglePlayServicesClient.OnConnectionFailedListener diff --git a/docs/html/reference/com/google/android/gms/common/server/FavaDiagnosticsEntity.html b/docs/html/reference/com/google/android/gms/common/server/FavaDiagnosticsEntity.html new file mode 100644 index 000000000000..44d1754a75f4 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/common/server/FavaDiagnosticsEntity.html @@ -0,0 +1,1674 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +FavaDiagnosticsEntity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

FavaDiagnosticsEntity

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.server.FavaDiagnosticsEntity
+ + + + + + + +
+ + +

Class Overview

+

Bundle of data defining a single diagnostic view or action.

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
StringEXTRA_NAMESPACE
StringEXTRA_TYPE_NUM
StringNULL
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + FavaDiagnosticsEntityCreatorCREATOR
+ public + + final + Stringnamespace
+ public + + final + inttypeNum
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + FavaDiagnosticsEntity(int versionCode, String namespace, int typeNum) + +
+ + + + + + + + FavaDiagnosticsEntity(String namespace, int typeNum) + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + void + + writeToParcel(Parcel out, int flags) + +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + EXTRA_NAMESPACE +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "namespace" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + EXTRA_TYPE_NUM +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "typeNum" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + NULL +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "SAFE_PARCELABLE_NULL_STRING" + + +
+ +
+
+ + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + FavaDiagnosticsEntityCreator + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + +
+

+ + public + + final + String + + namespace +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + +
+

+ + public + + final + int + + typeNum +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + FavaDiagnosticsEntity + (int versionCode, String namespace, int typeNum) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + + + FavaDiagnosticsEntity + (String namespace, int typeNum) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel out, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/common/server/package-summary.html b/docs/html/reference/com/google/android/gms/common/server/package-summary.html new file mode 100644 index 000000000000..ee083b790231 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/common/server/package-summary.html @@ -0,0 +1,685 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.common.server | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.common.server

+
+ +
+ +
+ + + + + + + + + + +

Classes

+
+ + + + + + +
FavaDiagnosticsEntityBundle of data defining a single diagnostic view or action. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/Game.html b/docs/html/reference/com/google/android/gms/games/Game.html new file mode 100644 index 000000000000..e4ab6577985b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/Game.html @@ -0,0 +1,1857 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Game | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Game

+ + + + + + implements + + Parcelable + + Freezable<T> + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.Game
+ + + + + + +
+ + Known Indirect Subclasses + +
+ + +
+
+ + +
+ + +

Class Overview

+

Data interface for retrieving game information. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + int + + getAchievementTotalCount() + +
Retrieves the number of achievements registered for this game.
+ +
+ abstract + + + + + String + + getApplicationId() + +
Retrieves the application ID for this game.
+ +
+ abstract + + + + + String + + getDescription() + +
Retrieves the description of this game.
+ +
+ abstract + + + + + void + + getDescription(CharArrayBuffer dataOut) + +
Loads the description string into the given CharArrayBuffer.
+ +
+ abstract + + + + + String + + getDeveloperName() + +
Retrieves the name of the developer of this game.
+ +
+ abstract + + + + + void + + getDeveloperName(CharArrayBuffer dataOut) + +
Loads the developer name into the given CharArrayBuffer.
+ +
+ abstract + + + + + String + + getDisplayName() + +
Retrieves the display name for this game.
+ +
+ abstract + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads the display name string into the given CharArrayBuffer.
+ +
+ abstract + + + + + Uri + + getFeaturedImageUri() + +
Retrieves an image URI that can be used to load the game's featured (banner) image from + Google Play.
+ +
+ abstract + + + + + Uri + + getHiResImageUri() + +
Retrieves an image URI that can be used to load the game's hi-res image.
+ +
+ abstract + + + + + Uri + + getIconImageUri() + +
Retrieves an image URI that can be used to load the game's icon.
+ +
+ abstract + + + + + int + + getLeaderboardCount() + +
Gets the number of leaderboards registered for this game.
+ +
+ abstract + + + + + String + + getPrimaryCategory() + +
Retrieves the primary category of the game - this is may be null.
+ +
+ abstract + + + + + String + + getSecondaryCategory() + +
Retrieves the secondary category of the game - this may be null.
+ +
+ abstract + + + + + boolean + + isPlayEnabledGame() + +
Indicates whether the game is a Google Play-Enabled game.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + int + + getAchievementTotalCount + () +

+
+
+ + + +
+
+ +

Retrieves the number of achievements registered for this game.

+
+
Returns
+
  • The number of achievements registered for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getApplicationId + () +

+
+
+ + + +
+
+ +

Retrieves the application ID for this game.

+
+
Returns
+
  • The application ID for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDescription + () +

+
+
+ + + +
+
+ +

Retrieves the description of this game.

+
+
Returns
+
  • The description of this game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDescription + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the description string into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDeveloperName + () +

+
+
+ + + +
+
+ +

Retrieves the name of the developer of this game.

+
+
Returns
+
  • The name of the developer of this game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDeveloperName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the developer name into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Retrieves the display name for this game.

+
+
Returns
+
  • The display name for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the display name string into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getFeaturedImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load the game's featured (banner) image from + Google Play. Returns null if game has no featured image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load the game's featured image, or null if the game has no + featured image. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getHiResImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load the game's hi-res image. Returns null if + game has no hi-res image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load the game's hi-res image, or null if the game has no + hi-res image. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load the game's icon. Returns null if game has no + icon. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load the game's icon, or null if the game has no icon. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getLeaderboardCount + () +

+
+
+ + + +
+
+ +

Gets the number of leaderboards registered for this game.

+
+
Returns
+
  • The number of leaderboards registered for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getPrimaryCategory + () +

+
+
+ + + +
+
+ +

Retrieves the primary category of the game - this is may be null.

+
+
Returns
+
  • The primary category of the game. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getSecondaryCategory + () +

+
+
+ + + +
+
+ +

Retrieves the secondary category of the game - this may be null.

+
+
Returns
+
  • The secondary category of the game, or null if not provided. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + boolean + + isPlayEnabledGame + () +

+
+
+ + + +
+
+ +

Indicates whether the game is a Google Play-Enabled game.

+
+
Returns
+
  • Whether the game is a Google Play-Enabled game. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/GameBuffer.html b/docs/html/reference/com/google/android/gms/games/GameBuffer.html new file mode 100644 index 000000000000..c43ab5872111 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/GameBuffer.html @@ -0,0 +1,1321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GameBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

GameBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.GameBuffer
+ + + + + + + +
+ + +

Class Overview

+

Data structure providing access to a list of games. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + Game + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + Game + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/GameEntity.html b/docs/html/reference/com/google/android/gms/games/GameEntity.html new file mode 100644 index 000000000000..d6ce7702e074 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/GameEntity.html @@ -0,0 +1,2841 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GameEntity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

GameEntity

+ + + + + extends Object
+ + + + + + + implements + + Game + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.GameEntity
+ + + + + + + +
+ + +

Class Overview

+

Data object representing a set of Game data. This is immutable, and therefore safe to cache or + store. Note, however, that the data it represents may grow stale. +

+ This class exists solely to support parceling these objects and should not be used directly. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<GameEntity>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + boolean + + equals(Object obj) + +
+ + + + + + Game + + freeze() + +
Freeze a volatile representation into an immutable representation.
+ +
+ + + + + + int + + getAchievementTotalCount() + +
Retrieves the number of achievements registered for this game.
+ +
+ + + + + + String + + getApplicationId() + +
Retrieves the application ID for this game.
+ +
+ + + + + + String + + getDescription() + +
Retrieves the description of this game.
+ +
+ + + + + + void + + getDescription(CharArrayBuffer dataOut) + +
Loads the description string into the given CharArrayBuffer.
+ +
+ + + + + + String + + getDeveloperName() + +
Retrieves the name of the developer of this game.
+ +
+ + + + + + void + + getDeveloperName(CharArrayBuffer dataOut) + +
Loads the developer name into the given CharArrayBuffer.
+ +
+ + + + + + String + + getDisplayName() + +
Retrieves the display name for this game.
+ +
+ + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads the display name string into the given CharArrayBuffer.
+ +
+ + + + + + Uri + + getFeaturedImageUri() + +
Retrieves an image URI that can be used to load the game's featured (banner) image from + Google Play.
+ +
+ + + + + + int + + getGameplayAclStatus() + +
+ + + + + + Uri + + getHiResImageUri() + +
Retrieves an image URI that can be used to load the game's hi-res image.
+ +
+ + + + + + Uri + + getIconImageUri() + +
Retrieves an image URI that can be used to load the game's icon.
+ +
+ + + + + + String + + getInstancePackageName() + +
+ + + + + + int + + getLeaderboardCount() + +
Gets the number of leaderboards registered for this game.
+ +
+ + + + + + String + + getPrimaryCategory() + +
Retrieves the primary category of the game - this is may be null.
+ +
+ + + + + + String + + getSecondaryCategory() + +
Retrieves the secondary category of the game - this may be null.
+ +
+ + + + + + int + + hashCode() + +
+ + + + + + boolean + + isInstanceInstalled() + +
+ + + + + + boolean + + isPlayEnabledGame() + +
Indicates whether the game is a Google Play-Enabled game.
+ +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel dest, int flags) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.Game + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Creator<GameEntity> + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + equals + (Object obj) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Game + + freeze + () +

+
+
+ + + +
+
+ +

Freeze a volatile representation into an immutable representation. Objects returned from this + call are safe to cache. +

+ Note that the output of freeze may not be identical to the parent object, but should + be equal. In other words: + +

+ 
+ Freezable f1 = new Freezable();
+ Freezable f2 = f1.freeze();
+ f1 == f2 may not be true.
+ f1.equals(f2) will be true.
+ 
+ 

+
+
Returns
+
  • A concrete implementation of the data object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getAchievementTotalCount + () +

+
+
+ + + +
+
+ +

Retrieves the number of achievements registered for this game.

+
+
Returns
+
  • The number of achievements registered for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getApplicationId + () +

+
+
+ + + +
+
+ +

Retrieves the application ID for this game.

+
+
Returns
+
  • The application ID for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getDescription + () +

+
+
+ + + +
+
+ +

Retrieves the description of this game.

+
+
Returns
+
  • The description of this game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + getDescription + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the description string into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getDeveloperName + () +

+
+
+ + + +
+
+ +

Retrieves the name of the developer of this game.

+
+
Returns
+
  • The name of the developer of this game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + getDeveloperName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the developer name into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Retrieves the display name for this game.

+
+
Returns
+
  • The display name for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the display name string into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getFeaturedImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load the game's featured (banner) image from + Google Play. Returns null if game has no featured image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load the game's featured image, or null if the game has no + featured image. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getGameplayAclStatus + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getHiResImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load the game's hi-res image. Returns null if + game has no hi-res image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load the game's hi-res image, or null if the game has no + hi-res image. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load the game's icon. Returns null if game has no + icon. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load the game's icon, or null if the game has no icon. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getInstancePackageName + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getLeaderboardCount + () +

+
+
+ + + +
+
+ +

Gets the number of leaderboards registered for this game.

+
+
Returns
+
  • The number of leaderboards registered for this game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getPrimaryCategory + () +

+
+
+ + + +
+
+ +

Retrieves the primary category of the game - this is may be null.

+
+
Returns
+
  • The primary category of the game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getSecondaryCategory + () +

+
+
+ + + +
+
+ +

Retrieves the secondary category of the game - this may be null.

+
+
Returns
+
  • The secondary category of the game, or null if not provided. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + hashCode + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isInstanceInstalled + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isPlayEnabledGame + () +

+
+
+ + + +
+
+ +

Indicates whether the game is a Google Play-Enabled game.

+
+
Returns
+
  • Whether the game is a Google Play-Enabled game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel dest, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html b/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html new file mode 100644 index 000000000000..9f1e294a0664 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html @@ -0,0 +1,1319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GamesActivityResultCodes | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

GamesActivityResultCodes

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.GamesActivityResultCodes
+ + + + + + + +
+ + +

Class Overview

+

Result codes that can be set as result in Activities from the Client UI started with + startActivityForResult(Intent, int). +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intRESULT_APP_MISCONFIGUREDResult code sent back to the calling Activity when the game is not properly configured to + access the Games service.
intRESULT_LEFT_ROOMResult code sent back to the calling Activity when the user explicitly chose + to "leave the room" from the real-time multiplayer "waiting room" screen.
intRESULT_LICENSE_FAILEDResult code sent back to the calling Activity when the game is not licensed to the user.
intRESULT_RECONNECT_REQUIREDResult code sent back to the calling Activity when a reconnect is required.
intRESULT_SIGN_IN_FAILEDResult code sent back to the calling Activity when signing in fails.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + RESULT_APP_MISCONFIGURED +

+
+ + + + +
+
+ +

Result code sent back to the calling Activity when the game is not properly configured to + access the Games service. Developers should check the logs for more details. +

+ + +
+ Constant Value: + + + 10004 + (0x00002714) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + RESULT_LEFT_ROOM +

+
+ + + + +
+
+ +

Result code sent back to the calling Activity when the user explicitly chose + to "leave the room" from the real-time multiplayer "waiting room" screen. + + (Note that if the user simply exits the "waiting room" screen by pressing + Back, that does *not* indicate that the user wants to leave the current room. + The waiting room screen will return RESULT_CANCELED in that + case.)

+ + + +
+ Constant Value: + + + 10005 + (0x00002715) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + RESULT_LICENSE_FAILED +

+
+ + + + +
+
+ +

Result code sent back to the calling Activity when the game is not licensed to the user. +

+ + +
+ Constant Value: + + + 10003 + (0x00002713) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + RESULT_RECONNECT_REQUIRED +

+
+ + + + +
+
+ +

Result code sent back to the calling Activity when a reconnect is required. +

+ The GamesClient is in an inconsistent state and must reconnect to the service to + resolve the issue. Further calls to the service using the current connection are unlikely to + succeed. +

+ + +
+ Constant Value: + + + 10001 + (0x00002711) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + RESULT_SIGN_IN_FAILED +

+
+ + + + +
+
+ +

Result code sent back to the calling Activity when signing in fails. +

+ The attempt to sign in to the Games service failed. For example, this might happen if the + network is flaky, or the user's account has been disabled, or consent could not be obtained. +

+ + +
+ Constant Value: + + + 10002 + (0x00002712) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/GamesClient.Builder.html b/docs/html/reference/com/google/android/gms/games/GamesClient.Builder.html new file mode 100644 index 000000000000..bbdc03e0a9b9 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/GamesClient.Builder.html @@ -0,0 +1,1474 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GamesClient.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

GamesClient.Builder

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.GamesClient.Builder
+ + + + + + + +
+ + +

Class Overview

+

Builder class for GamesClient. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + GamesClient.Builder(Context context, GooglePlayServicesClient.ConnectionCallbacks connectedListener, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) + +
Create a new Builder object to be used to build a corresponding GamesClient object.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + GamesClient + + create() + +
Creates a new GamesClient object to be used to communicate with the games service, + requesting all of the scopes passed in.
+ +
+ + + + + + GamesClient.Builder + + setAccountName(String accountName) + +
Specify an account name on the device that should be used.
+ +
+ + + + + + GamesClient.Builder + + setGravityForPopups(int gravity) + +
Specifies the part of the screen at which games service popups (for example, "welcome + back" or "achievement unlocked" popups) will be displayed using gravity.
+ +
+ + + + + + GamesClient.Builder + + setScopes(String... scopes) + +
Set the scopes to use when building the GamesClient object.
+ +
+ + + + + + GamesClient.Builder + + setViewForPopups(View gamesContentView) + +
Sets the View to use as a content view for popups.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + GamesClient.Builder + (Context context, GooglePlayServicesClient.ConnectionCallbacks connectedListener, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) +

+
+
+ + + +
+
+ +

Create a new Builder object to be used to build a corresponding GamesClient object.

+
+
Parameters
+ + + + + + + + + + +
context + the context to use for the connection.
connectedListener + the listener where the results of the asynchronous + connect() call are delivered.
connectionFailedListener + the listener which will be notified if the connection + attempt fails. +
+
+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + GamesClient + + create + () +

+
+
+ + + +
+
+ +

Creates a new GamesClient object to be used to communicate with the games service, + requesting all of the scopes passed in. +

+ This method should be called from onCreate(android.os.Bundle) or + onActivityCreated(android.os.Bundle). +

+ The object is not usable until after the asynchronous connect() method has been + called and your listener's + onConnected(Bundle) method is called. Note + that the ConnectionCallbacks provided here will always receive callbacks before + any subsequently registered connection listeners. +

+ When your application is done using this client it must call disconnect(), even if + the async result from connect() has not yet been delivered. +

+ The typical pattern is to instantiate this object in your Activity's + onCreate(Bundle) method and then call connect() in + onStart() and disconnect() from onStop() regardless + of the state.

+
+
Returns
+
  • The GamesClient object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + GamesClient.Builder + + setAccountName + (String accountName) +

+
+
+ + + +
+
+ +

Specify an account name on the device that should be used. If this is never called, the + client will use the current default account for Google Play Games for this + application.

+
+
Parameters
+ + + + +
accountName + The account name on the device that should be used by this + GamesClient. Must be non-null. +
+
+ +
+
+ + + + +
+

+ + public + + + + + GamesClient.Builder + + setGravityForPopups + (int gravity) +

+
+
+ + + +
+
+ +

Specifies the part of the screen at which games service popups (for example, "welcome + back" or "achievement unlocked" popups) will be displayed using gravity. +

+ Default value is TOP|CENTER_HORIZONTAL.

+
+
Parameters
+ + + + +
gravity + The gravity which controls the placement of games service popups.
+
+
+
Returns
+
  • This Builder. +
+
+ +
+
+ + + + +
+

+ + public + + + + + GamesClient.Builder + + setScopes + (String... scopes) +

+
+
+ + + +
+
+ +

Set the scopes to use when building the GamesClient object. +

+ The scope used by default is GAMES.

+
+
Parameters
+ + + + +
scopes + The OAuth scopes that your application is requesting access to (see + Scopes for details).
+
+
+
Returns
+
  • This Builder. +
+
+ +
+
+ + + + +
+

+ + public + + + + + GamesClient.Builder + + setViewForPopups + (View gamesContentView) +

+
+
+ + + +
+
+ +

Sets the View to use as a content view for popups.

+
+
Parameters
+ + + + +
gamesContentView + The view to use as a content view for popups. View cannot be + null.
+
+
+
Returns
+
  • This Builder. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/GamesClient.html b/docs/html/reference/com/google/android/gms/games/GamesClient.html new file mode 100644 index 000000000000..c37caf5f9edd --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/GamesClient.html @@ -0,0 +1,6944 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GamesClient | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

GamesClient

+ + + + + extends Object
+ + + + + + + implements + + GooglePlayServicesClient + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.GamesClient
+ + + + + + + +
+ + +

Class Overview

+

Main public API entry point for the games client. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classGamesClient.BuilderBuilder class for GamesClient. 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
StringEXTRA_EXCLUSIVE_BIT_MASKUsed to bundle the exclusive bit mask of the player for auto-match criteria.
StringEXTRA_INVITATIONUsed to return an Invitation.
StringEXTRA_MAX_AUTOMATCH_PLAYERSUsed to return the maximum number of players that should be added to a room by auto-matching.
StringEXTRA_MIN_AUTOMATCH_PLAYERSUsed to return the minimum number of players that should be added to a room by auto-matching.
StringEXTRA_PLAYERSUsed to return a list of player IDs.
StringEXTRA_ROOMUsed to return a Room.
intMAX_RELIABLE_MESSAGE_LENThis gives the maximum message size supported via the sendReliableRealTimeMessage(RealTimeReliableMessageSentListener, byte[], String, String) + APIs (excluding protocol headers).
intMAX_UNRELIABLE_MESSAGE_LENThis gives the maximum (unfragmented) message size supported via the + sendUnreliableRealTimeMessage(byte[], String, String) APIs (excluding protocol headers).
intNOTIFICATION_TYPES_ALLNotification types for any notification.
intNOTIFICATION_TYPES_MULTIPLAYERNotification types for multiplayer notifications.
intNOTIFICATION_TYPE_INVITATIONNotification type for invites to multiplayer games.
intSTATUS_ACHIEVEMENT_NOT_INCREMENTALIndicates that the call to increment achievement failed since the achievement is not an + incremental achievement.
intSTATUS_ACHIEVEMENT_UNKNOWNCould not find the achievement, so the operation to update the achievement failed.
intSTATUS_ACHIEVEMENT_UNLOCKEDIndicates that the incremental achievement was also unlocked when the call was made to + increment the achievement.
intSTATUS_ACHIEVEMENT_UNLOCK_FAILUREAn incremental achievement cannot be unlocked directly, so the call to unlock achievement + failed.
intSTATUS_CLIENT_RECONNECT_REQUIREDThe GamesClient is in an inconsistent state and must reconnect to the service to resolve the + issue.
intSTATUS_INTERNAL_ERRORAn unspecified error occurred; no more specific information is available.
intSTATUS_INVALID_REAL_TIME_ROOM_IDConstant indicating that real-time room ID provided by the user is not a valid or it is + not currently active real-time room.
intSTATUS_LICENSE_CHECK_FAILEDThe game is not licensed to the user.
intSTATUS_MULTIPLAYER_ERROR_CREATION_NOT_ALLOWEDThe user is not allowed to create a new multiplayer game at this time.
intSTATUS_MULTIPLAYER_ERROR_NOT_TRUSTED_TESTERThe user attempted to invite another user who was not authorized to see the game.
intSTATUS_NETWORK_ERROR_NO_DATAA network error occurred while attempting to retrieve fresh data, and no data was available + locally.
intSTATUS_NETWORK_ERROR_OPERATION_DEFERREDA network error occurred while attempting to modify data, but the data was successfully + modified locally and will be updated on the network the next time the device is able to + sync.
intSTATUS_NETWORK_ERROR_OPERATION_FAILEDA network error occurred while attempting to perform an operation that requires network + access.
intSTATUS_NETWORK_ERROR_STALE_DATAA network error occurred while attempting to retrieve fresh data, but some locally cached + data was available.
intSTATUS_OKThe operation was successful.
intSTATUS_PARTICIPANT_NOT_CONNECTEDConstant indicating that the ID of the participant provided by the user is not currently + connected to the client in the real-time room.
intSTATUS_REAL_TIME_CONNECTION_FAILEDFailed to initialize the network connection for a real-time room.
intSTATUS_REAL_TIME_INACTIVE_ROOMThe room is not currently active.
intSTATUS_REAL_TIME_MESSAGE_FAILEDStatus code returned from sendUnreliableRealTimeMessage(byte[], String, String) and the + sendReliableRealTimeMessage(RealTimeReliableMessageSentListener, byte[], String, String) APIs when the message send operation failed due to an + immediate error.
intSTATUS_REAL_TIME_MESSAGE_SEND_FAILEDFailed to send message to the peer participant for a real-time room.
intSTATUS_REAL_TIME_ROOM_NOT_JOINEDFailed to send message to the peer participant for a real-time room, since the user has not + joined the room.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + clearAllNotifications() + +
Clear all notifications for the current game and signed-in player.
+ +
+ + + + + + void + + clearNotifications(int notificationTypes) + +
Clear the notifications of the specified type for the current game and signed-in player.
+ +
+ + + + + + void + + connect() + +
Connect to the games service.
+ +
+ + + + + + void + + createRoom(RoomConfig config) + +
Create a real-time room for the current game.
+ +
+ + + + + + void + + declineRoomInvitation(String invitationId) + +
Decline an invitation for a real-time room.
+ +
+ + + + + + void + + disconnect() + +
Closes the connection to Google Play services.
+ +
+ + + + + + void + + dismissRoomInvitation(String invitationId) + +
Dismiss an invitation to a real-time room.
+ +
+ + + + + + Intent + + getAchievementsIntent() + +
Gets an intent to show the list of achievements for a game.
+ +
+ + + + + + Intent + + getAllLeaderboardsIntent() + +
Gets an intent to show the list of leaderboards for a game.
+ +
+ + + + + + String + + getAppId() + +
Get the application ID linked to this GamesClient instance.
+ +
+ + + + + + String + + getCurrentAccountName() + +
Get the name of the currently selected account.
+ +
+ + + + + + Player + + getCurrentPlayer() + +
+ + + + + + String + + getCurrentPlayerId() + +
+ + + + + + Intent + + getInvitationInboxIntent() + +
Returns an intent that will let the user see and manage any outstanding invitations.
+ +
+ + + + + + Intent + + getLeaderboardIntent(String leaderboardId) + +
Gets an intent to show a leaderboard for a game.
+ +
+ + + + + + RealTimeSocket + + getRealTimeSocketForParticipant(String roomId, String participantId) + +
Returns a RealTimeSocket for carrying network traffic to the given peer.
+ +
+ + + + + + Intent + + getRealTimeWaitingRoomIntent(Room room, int minParticipantsToStart) + +
Returns an intent that will display a "waiting room" screen that shows the + progress of participants joining a real-time multiplayer room.
+ +
+ + + + + + Intent + + getSelectPlayersIntent(int minPlayers, int maxPlayers) + +
Returns an intent that will let the user select players to send an invitation to.
+ +
+ + + + + + Intent + + getSettingsIntent() + +
Gets an intent to show the Settings screen that allows the user to configure + GamesClient-related features for the current game.
+ +
+ + + + + + void + + incrementAchievement(String id, int numSteps) + +
Increments an achievement by the given number of steps.
+ +
+ + + + + + void + + incrementAchievementImmediate(OnAchievementUpdatedListener listener, String id, int numSteps) + +
Increments an achievement by the given number of steps.
+ +
+ + + + + + boolean + + isConnected() + +
Checks if the client is currently connected to the service, so that + requests to other methods will succeed.
+ +
+ + + + + + boolean + + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ + + + + + boolean + + isConnectionCallbacksRegistered(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Returns true if the specified listener is currently registered to + receive connection events.
+ +
+ + + + + + boolean + + isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Returns true if the specified listener is currently registered to + receive connection failed events.
+ +
+ + + + + + void + + joinRoom(RoomConfig config) + +
Join a real-time room by accepting an invitation.
+ +
+ + + + + + void + + leaveRoom(RoomUpdateListener listener, String roomId) + +
Leave the specified room.
+ +
+ + + + + + void + + loadAchievements(OnAchievementsLoadedListener listener) + +
Asynchronously load achievement data for the currently signed in player.
+ +
+ + + + + + void + + loadGame(OnGamesLoadedListener listener) + +
Load the details for the current game.
+ +
+ + + + + + void + + loadInvitablePlayers(OnPlayersLoadedListener listener, int pageSize, boolean forceReload) + +
Load the initial page of players the currently signed-in player can invite to a multiplayer + game, sorted alphabetically by name.
+ +
+ + + + + + void + + loadInvitations(OnInvitationsLoadedListener listener) + +
Asynchronously load the list of invitations for the current game.
+ +
+ + + + + + void + + loadLeaderboardMetadata(OnLeaderboardMetadataLoadedListener listener, String leaderboardId) + +
Asynchronously load a specific leaderboard's metadata for this game.
+ +
+ + + + + + void + + loadLeaderboardMetadata(OnLeaderboardMetadataLoadedListener listener) + +
Asynchronously load the list of leaderboard metadata for this game.
+ +
+ + + + + + void + + loadMoreInvitablePlayers(OnPlayersLoadedListener listener, int pageSize) + +
Asynchronously loads an additional page of invitable players.
+ +
+ + + + + + void + + loadMoreScores(OnLeaderboardScoresLoadedListener listener, LeaderboardScoreBuffer buffer, int maxResults, int pageDirection) + +
Asynchronously loads an additional page of score data for the given score buffer.
+ +
+ + + + + + void + + loadPlayer(OnPlayersLoadedListener listener, String playerId) + +
Asynchronously loads the profile for the requested player ID.
+ +
+ + + + + + void + + loadPlayerCenteredScores(OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) + +
Asynchronously load the player-centered page of scores for a given leaderboard.
+ +
+ + + + + + void + + loadPlayerCenteredScores(OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults) + +
Asynchronously load the player-centered page of scores for a given leaderboard.
+ +
+ + + + + + void + + loadTopScores(OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults) + +
Asynchronously load the top page of scores for a given leaderboard.
+ +
+ + + + + + void + + loadTopScores(OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) + +
Asynchronously load the top page of scores for a given leaderboard.
+ +
+ + + + + + void + + reconnect() + +
Closes the current connection to Google Play services and creates a new connection.
+ +
+ + + + + + void + + registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Registers a listener to receive connection events from this GooglePlayServicesClient.
+ +
+ + + + + + void + + registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Registers a listener to receive connection failed events from this + GooglePlayServicesClient.
+ +
+ + + + + + void + + registerInvitationListener(OnInvitationReceivedListener listener) + +
Register a listener to intercept incoming invitations for the currently signed-in user.
+ +
+ + + + + + void + + revealAchievement(String id) + +
Reveal a hidden achievement to the currently signed in player.
+ +
+ + + + + + void + + revealAchievementImmediate(OnAchievementUpdatedListener listener, String id) + +
Reveal a hidden achievement to the currently signed in player.
+ +
+ + + + + + int + + sendReliableRealTimeMessage(RealTimeReliableMessageSentListener listener, byte[] messageData, String roomId, String recipientParticipantId) + +
Send a message to a participant in a real-time room reliably.
+ +
+ + + + + + int + + sendUnreliableRealTimeMessage(byte[] messageData, String roomId, List<String> recipientParticipantIds) + +
Send a message to one or more participants in a real-time room.
+ +
+ + + + + + int + + sendUnreliableRealTimeMessage(byte[] messageData, String roomId, String recipientParticipantId) + +
Send a message to a participant in a real-time room.
+ +
+ + + + + + int + + sendUnreliableRealTimeMessageToAll(byte[] messageData, String roomId) + +
Send a message to all participants in a real-time room.
+ +
+ + + + + + void + + setGravityForPopups(int gravity) + +
Specifies the part of the screen at which games service popups (for example, "welcome back" + or "achievement unlocked" popups) will be displayed using gravity.
+ +
+ + + + + + void + + setUseNewPlayerNotificationsFirstParty(boolean newPlayerStyle) + +
Set whether or not to use the "new player" style notifications for the invitation inbox or + destination app.
+ +
+ + + + + + void + + setViewForPopups(View gamesContentView) + +
Sets the View to use as a content view for popups.
+ +
+ + + + + + void + + signOut(OnSignOutCompleteListener listener) + +
Asynchronously signs the current user out.
+ +
+ + + + + + void + + signOut() + +
Asynchronously signs the current user out.
+ +
+ + + + + + void + + submitScore(String leaderboardId, long score) + +
Submit a score to a leaderboard for the currently signed in player.
+ +
+ + + + + + void + + submitScoreImmediate(OnScoreSubmittedListener listener, String leaderboardId, long score) + +
Submit a score to a leaderboard for the currently signed in player.
+ +
+ + + + + + void + + unlockAchievement(String id) + +
Unlock an achievement for the currently signed in player.
+ +
+ + + + + + void + + unlockAchievementImmediate(OnAchievementUpdatedListener listener, String id) + +
Unlock an achievement for the currently signed in player.
+ +
+ + + + + + void + + unregisterConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Removes a connection listener from this GooglePlayServicesClient.
+ +
+ + + + + + void + + unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Removes a connection failed listener from the GooglePlayServicesClient.
+ +
+ + + + + + void + + unregisterInvitationListener() + +
Unregisters this client's invitation listener, if any.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + com.google.android.gms.common.GooglePlayServicesClient + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + EXTRA_EXCLUSIVE_BIT_MASK +

+
+ + + + +
+
+ +

Used to bundle the exclusive bit mask of the player for auto-match criteria. +

+ + +
+ Constant Value: + + + "exclusive_bit_mask" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + EXTRA_INVITATION +

+
+ + + + +
+
+ +

Used to return an Invitation. Retrieve with getParcelableExtra(String) + or getParcelable(String). +

+ + +
+ Constant Value: + + + "invitation" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + EXTRA_MAX_AUTOMATCH_PLAYERS +

+
+ + + + +
+
+ +

Used to return the maximum number of players that should be added to a room by auto-matching. + Retrieve with getIntExtra(String, int).

+ + + +
+ Constant Value: + + + "max_automatch_players" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + EXTRA_MIN_AUTOMATCH_PLAYERS +

+
+ + + + +
+
+ +

Used to return the minimum number of players that should be added to a room by auto-matching. + Retrieve with getIntExtra(String, int).

+ + + +
+ Constant Value: + + + "min_automatch_players" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + EXTRA_PLAYERS +

+
+ + + + +
+
+ +

Used to return a list of player IDs. Retrieve with + getStringArrayListExtra(String).

+ + + +
+ Constant Value: + + + "players" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + EXTRA_ROOM +

+
+ + + + +
+
+ +

Used to return a Room. Retrieve with getParcelableExtra(String). +

+ + +
+ Constant Value: + + + "room" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + MAX_RELIABLE_MESSAGE_LEN +

+
+ + + + +
+
+ +

This gives the maximum message size supported via the sendReliableRealTimeMessage(RealTimeReliableMessageSentListener, byte[], String, String) + APIs (excluding protocol headers). +

+ + +
+ Constant Value: + + + 1400 + (0x00000578) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + MAX_UNRELIABLE_MESSAGE_LEN +

+
+ + + + +
+
+ +

This gives the maximum (unfragmented) message size supported via the + sendUnreliableRealTimeMessage(byte[], String, String) APIs (excluding protocol headers). +

+ + +
+ Constant Value: + + + 1168 + (0x00000490) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + NOTIFICATION_TYPES_ALL +

+
+ + + + +
+
+ +

Notification types for any notification.

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + NOTIFICATION_TYPES_MULTIPLAYER +

+
+ + + + +
+
+ +

Notification types for multiplayer notifications.

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + NOTIFICATION_TYPE_INVITATION +

+
+ + + + +
+
+ +

Notification type for invites to multiplayer games.

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_ACHIEVEMENT_NOT_INCREMENTAL +

+
+ + + + +
+
+ +

Indicates that the call to increment achievement failed since the achievement is not an + incremental achievement. +

+ + +
+ Constant Value: + + + 3002 + (0x00000bba) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_ACHIEVEMENT_UNKNOWN +

+
+ + + + +
+
+ +

Could not find the achievement, so the operation to update the achievement failed. +

+ + +
+ Constant Value: + + + 3001 + (0x00000bb9) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_ACHIEVEMENT_UNLOCKED +

+
+ + + + +
+
+ +

Indicates that the incremental achievement was also unlocked when the call was made to + increment the achievement. +

+ + +
+ Constant Value: + + + 3003 + (0x00000bbb) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_ACHIEVEMENT_UNLOCK_FAILURE +

+
+ + + + +
+
+ +

An incremental achievement cannot be unlocked directly, so the call to unlock achievement + failed. +

+ + +
+ Constant Value: + + + 3000 + (0x00000bb8) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_CLIENT_RECONNECT_REQUIRED +

+
+ + + + +
+
+ +

The GamesClient is in an inconsistent state and must reconnect to the service to resolve the + issue. Further calls to the service using the current connection are unlikely to succeed. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_INTERNAL_ERROR +

+
+ + + + +
+
+ +

An unspecified error occurred; no more specific information is available. The device logs may + provide additional data. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_INVALID_REAL_TIME_ROOM_ID +

+
+ + + + +
+
+ +

Constant indicating that real-time room ID provided by the user is not a valid or it is + not currently active real-time room. +

+ + +
+ Constant Value: + + + 7002 + (0x00001b5a) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_LICENSE_CHECK_FAILED +

+
+ + + + +
+
+ +

The game is not licensed to the user. Further calls will return the same code. +

+ + +
+ Constant Value: + + + 7 + (0x00000007) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_MULTIPLAYER_ERROR_CREATION_NOT_ALLOWED +

+
+ + + + +
+
+ +

The user is not allowed to create a new multiplayer game at this time. This could occur if + the user has too many outstanding invitations already. +

+ + +
+ Constant Value: + + + 6000 + (0x00001770) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_MULTIPLAYER_ERROR_NOT_TRUSTED_TESTER +

+
+ + + + +
+
+ +

The user attempted to invite another user who was not authorized to see the game. This can + occur if a trusted tester invites a user who is not a trusted tester while the game is + unpublished. In this case, the invitations will not be sent. +

+ + +
+ Constant Value: + + + 6001 + (0x00001771) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_NO_DATA +

+
+ + + + +
+
+ +

A network error occurred while attempting to retrieve fresh data, and no data was available + locally. +

+ + +
+ Constant Value: + + + 4 + (0x00000004) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_OPERATION_DEFERRED +

+
+ + + + +
+
+ +

A network error occurred while attempting to modify data, but the data was successfully + modified locally and will be updated on the network the next time the device is able to + sync. +

+ + +
+ Constant Value: + + + 5 + (0x00000005) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_OPERATION_FAILED +

+
+ + + + +
+
+ +

A network error occurred while attempting to perform an operation that requires network + access. The operation may be retried later. +

+ + +
+ Constant Value: + + + 6 + (0x00000006) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_NETWORK_ERROR_STALE_DATA +

+
+ + + + +
+
+ +

A network error occurred while attempting to retrieve fresh data, but some locally cached + data was available. The data returned may be stale and/or incomplete. +

+ + +
+ Constant Value: + + + 3 + (0x00000003) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_OK +

+
+ + + + +
+
+ +

The operation was successful. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_PARTICIPANT_NOT_CONNECTED +

+
+ + + + +
+
+ +

Constant indicating that the ID of the participant provided by the user is not currently + connected to the client in the real-time room. +

+ + +
+ Constant Value: + + + 7003 + (0x00001b5b) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_REAL_TIME_CONNECTION_FAILED +

+
+ + + + +
+
+ +

Failed to initialize the network connection for a real-time room. +

+ + +
+ Constant Value: + + + 7000 + (0x00001b58) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_REAL_TIME_INACTIVE_ROOM +

+
+ + + + +
+
+ +

The room is not currently active. This action cannot be performed on an inactive room. +

+ + +
+ Constant Value: + + + 7005 + (0x00001b5d) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_REAL_TIME_MESSAGE_FAILED +

+
+ + + + +
+
+ +

Status code returned from sendUnreliableRealTimeMessage(byte[], String, String) and the + sendReliableRealTimeMessage(RealTimeReliableMessageSentListener, byte[], String, String) APIs when the message send operation failed due to an + immediate error. +

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_REAL_TIME_MESSAGE_SEND_FAILED +

+
+ + + + +
+
+ +

Failed to send message to the peer participant for a real-time room. +

+ + +
+ Constant Value: + + + 7001 + (0x00001b59) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_REAL_TIME_ROOM_NOT_JOINED +

+
+ + + + +
+
+ +

Failed to send message to the peer participant for a real-time room, since the user has not + joined the room. +

+ + +
+ Constant Value: + + + 7004 + (0x00001b5c) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + void + + clearAllNotifications + () +

+
+
+ + + +
+
+ +

Clear all notifications for the current game and signed-in player. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + clearNotifications + (int notificationTypes) +

+
+
+ + + +
+
+ +

Clear the notifications of the specified type for the current game and signed-in player. This + should be a mask comprised of values from the constants + NOTIFICATION_TYPE_INVITATION, NOTIFICATION_TYPES_MULTIPLAYER, and + NOTIFICATION_TYPES_ALL.

+
+
Parameters
+ + + + +
notificationTypes + Mask of notification types to clear. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + connect + () +

+
+
+ + + +
+
+ +

Connect to the games service. +

+ This method should be called from onStart() or + onStart(). +

+ This method will return immediately, and + onConnected(Bundle) will be called if the + connection is successful. +

+ The Bundle provided to onConnected may be null. If not null, it can contain the + following keys: +

+
+
See Also
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + createRoom + (RoomConfig config) +

+
+
+ + + +
+
+ +

Create a real-time room for the current game. The lifetime of the current game's connection + to the room is bound to this GamesClient's lifecycle. When the client disconnects, + the player will leave the room and any peer-to-peer connections for this player will be torn + down. The result is delivered by the callback onRoomCreated(int, Room) to + the given RoomUpdateListener in the RoomConfig. The listener is + called on the main thread.

+
+
Parameters
+ + + + +
config + the real-time room configuration. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + declineRoomInvitation + (String invitationId) +

+
+
+ + + +
+
+ +

Decline an invitation for a real-time room.

+
+
Parameters
+ + + + +
invitationId + the ID of the invitation to decline. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + disconnect + () +

+
+
+ + + +
+
+ +

Closes the connection to Google Play services. No calls can be made on this object + after calling this method.

+ +
+
+ + + + +
+

+ + public + + + + + void + + dismissRoomInvitation + (String invitationId) +

+
+
+ + + +
+
+ +

Dismiss an invitation to a real-time room. Dismissing an invitation will not change the state + of the room for the other participants.

+
+
Parameters
+ + + + +
invitationId + the ID of the invitation to dismiss. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Intent + + getAchievementsIntent + () +

+
+
+ + + +
+
+ +

Gets an intent to show the list of achievements for a game. Note that this must be invoked + with startActivityForResult(Intent, int), so that the identity of the + calling package can be established. +

+ A RESULT_RECONNECT_REQUIRED may be returned as the + resultCode in onActivityResult(int, int, Intent) if the GamesClient ends up in an inconsistent + state.

+
+
Returns
+
  • an Intent that can be started to view the currently signed in player's + achievements. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Intent + + getAllLeaderboardsIntent + () +

+
+
+ + + +
+
+ +

Gets an intent to show the list of leaderboards for a game. Note that this must be invoked + with startActivityForResult(Intent, int), so that the identity of the + calling package can be established. +

+ A RESULT_RECONNECT_REQUIRED may be returned as the + resultCode in onActivityResult(int, int, Intent) if the GamesClient ends up in an inconsistent + state.

+
+
Returns
+
  • an Intent that can be started to view the list of leaderboards for a game. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getAppId + () +

+
+
+ + + +
+
+ +

Get the application ID linked to this GamesClient instance.

+
+
Returns
+
  • The application ID linked to this GamesClient instance. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getCurrentAccountName + () +

+
+
+ + + +
+
+ +

Get the name of the currently selected account. This is the account the user has chosen to + use for Google Play Games. +

+ Note that the GamesClient must be connected to call this API, and your app must have + <uses-permission android:name="android.permission.GET_ACCOUNTS" /> declared in + your manifest in order to use this method.

+
+
Returns
+
  • Account name for the currently selected account.
+
+
+
Throws
+ + + + +
SecurityException + If your app doesn't have the + GET_ACCOUNTS permission. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Player + + getCurrentPlayer + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • Player representing the currently signed in player. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getCurrentPlayerId + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • the player ID for the currently signed in player. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Intent + + getInvitationInboxIntent + () +

+
+
+ + + +
+
+ +

Returns an intent that will let the user see and manage any outstanding invitations. Note + that this must be invoked using startActivityForResult(Intent, int) so that + the identity of the calling package can be established. +

+ If the user canceled the result will be RESULT_CANCELED. If the user + selected an invitation to accept, the result will be RESULT_OK and the data + intent will contain the selected invitation as a parcelable extra in + EXTRA_INVITATION.

+
+
Returns
+
  • an Intent that can be started to view the invitation inbox UI. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Intent + + getLeaderboardIntent + (String leaderboardId) +

+
+
+ + + +
+
+ +

Gets an intent to show a leaderboard for a game. Note that this must be invoked with + startActivityForResult(Intent, int), so that the identity of the calling + package can be established. +

+ A RESULT_RECONNECT_REQUIRED may be returned as the + resultCode in onActivityResult(int, int, Intent) if the GamesClient ends up in an inconsistent + state.

+
+
Parameters
+ + + + +
leaderboardId + The ID of the leaderboard to view.
+
+
+
Returns
+
  • an Intent that can be started to view the specified leaderboard. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RealTimeSocket + + getRealTimeSocketForParticipant + (String roomId, String participantId) +

+
+
+ + + +
+
+ +

Returns a RealTimeSocket for carrying network traffic to the given peer. + Creates a new socket if one does not exist (or if an existing socket gets disconnected). + Requires an active real-time room and players being available. Throws an + IllegalArgumentException if participantId is not a valid participant or + belongs to the current player.

+
+
Parameters
+ + + + + + + +
roomId + ID of the room for which the socket is being bound.
participantId + the ID of the participant to whom this socket is bound
+
+
+
Returns
+
  • instance of a LocalSocket, or null on error. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Intent + + getRealTimeWaitingRoomIntent + (Room room, int minParticipantsToStart) +

+
+
+ + + +
+
+ +

Returns an intent that will display a "waiting room" screen that shows the + progress of participants joining a real-time multiplayer room. Note that this + must be invoked with startActivityForResult(Intent, int), so + that the identity of the calling package can be established. +

+ If the necessary number of peers have connected and it's now OK to start the game, + or if the user explicitly asked to start the game now, the activity result will be + RESULT_OK. If the user bailed out of the waiting room screen + without taking any action, the result will be RESULT_CANCELED. If + the user explicitly chose to leave the room, the result will be + RESULT_LEFT_ROOM. +

+ Regardless of what the result code was, the waiting room activity will return a + data intent containing a Room object in EXTRA_ROOM that represents + the current state of the Room that you originally passed as a parameter here. +

+ Note that the waiting room itself will never explicitly take any action to change + the state of the room or its participants. So if the activity result is + RESULT_LEFT_ROOM, it's the caller's responsibility + to actually leave the room. Or if the result is RESULT_CANCELED, + it's the responsibility of the caller to double-check the current state of the Room + and decide whether to start the game, keep waiting, or do something else. + But note that while the waiting room is active, the state of the Room + will change as participants accept or decline invitations, and the + number of participants may even change as auto-match players get added.

+
+
Parameters
+ + + + + + + +
room + The Room object to be displayed.
minParticipantsToStart + the minimum number of participants that must + be connected to the room (including the current player) before the + "Start playing" option becomes enabled. +

+ If this is 0, that means that "Start playing" will always be enabled. + If it's equal to the maximum possible number of participants (including + the current player and any auto-match participants) then the + 'Start playing' option will never be enabled; instead the waiting room + will exit automatically as soon as all participants are fully connected.

+
+
+
Returns
+
  • an Intent that can be started to display the waiting room screen.
+
+ + +
+
+ + + + +
+

+ + public + + + + + Intent + + getSelectPlayersIntent + (int minPlayers, int maxPlayers) +

+
+
+ + + +
+
+ +

Returns an intent that will let the user select players to send an invitation to. Note that + this must be invoked with startActivityForResult(Intent, int), so that the + identity of the calling package can be established. +

+ The number of players passed in should be the desired number of additional players to select, + not including the current player. So, for a game that can handle between 2 and 4 players, + minPlayers would be 1 and maxPlayers would be 3. +

+ If the user canceled, the result will be RESULT_CANCELED. If the user + selected players, the result will be RESULT_OK, and the data intent will + contain the selected player IDs in EXTRA_PLAYERS and the minimum and maximum numbers + of additional auto-match players in EXTRA_MIN_AUTOMATCH_PLAYERS and + EXTRA_MAX_AUTOMATCH_PLAYERS respectively. The player IDs in EXTRA_PLAYERS + will include only the other players selected, not the current player.

+
+
Parameters
+ + + + + + + +
minPlayers + The minimum number of players to select (not including the current player).
maxPlayers + The maximum number of players to select (not including the current player).
+
+
+
Returns
+
  • an Intent that can be started to display the player selector.
+
+
+
See Also
+ +
+ +
+
+ + + + +
+

+ + public + + + + + Intent + + getSettingsIntent + () +

+
+
+ + + +
+
+ +

Gets an intent to show the Settings screen that allows the user to configure + GamesClient-related features for the current game. Note that this must be invoked with + startActivityForResult(Intent, int), so that the identity of the calling + package can be established. +

+ A RESULT_RECONNECT_REQUIRED may be returned as the + resultCode in onActivityResult(int, int, Intent) if the GamesClient ends up in an inconsistent + state. +

+ Most applications will not need to call this directly, since the Settings UI is already + reachable from most other GamesClient UI screens (achievements, leaderboards, etc.) via a + menu item.

+
+
Returns
+
  • an Intent that can be started to view the GamesClient Settings UI. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + incrementAchievement + (String id, int numSteps) +

+
+
+ + + +
+
+ +

Increments an achievement by the given number of steps. The achievement must be an + incremental achievement. Once an achievement reaches at least the maximum number of steps, it + will be unlocked automatically. Any further increments will be ignored. +

+ This is the fire-and-forget form of the API. Use this form if you don't need to know the + status of the operation immediately. For most applications, this will be the preferred API + to use, though note that the update may not be sent to the server until the next sync. See + incrementAchievementImmediate(OnAchievementUpdatedListener, String, int) if you need + the operation to attempt to communicate to the server immediately or need to have the status + code delivered to your application.

+
+
Parameters
+ + + + + + + +
id + the achievement ID to increment.
numSteps + the number of steps to increment by. Must be greater than 0. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + incrementAchievementImmediate + (OnAchievementUpdatedListener listener, String id, int numSteps) +

+
+
+ + + +
+
+ +

Increments an achievement by the given number of steps. The achievement must be an + incremental achievement. Once an achievement reaches at least the maximum number of steps, it + will be unlocked automatically. Any further increments will be ignored. +

+ This form of the API will attempt to update the user's achievement on the server immediately, + and will use the provided listener to inform the caller of the result of the operation. +

+ The status code to indicate the success or failure of the operation is delivered to the given + listener on the main thread. If disconnect() is called before the operation is + completed, the status code will not be delivered.

+
+
Parameters
+ + + + + + + + + + +
listener + the listener that is called when the increment achievement is complete. The + listener is called on the main thread.
id + the ID of the achievement to increment.
numSteps + the number of steps to increment by. Must be greater than 0. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnected + () +

+
+
+ + + +
+
+ +

Checks if the client is currently connected to the service, so that + requests to other methods will succeed. Applications should guard + client actions caused by the user with a call to this method.

+
+
Returns
+
  • true If the client is connected to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionCallbacksRegistered + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + events.
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionFailedListenerRegistered + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection failed events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + failed events.
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + joinRoom + (RoomConfig config) +

+
+
+ + + +
+
+ +

Join a real-time room by accepting an invitation. The lifetime of the current game's + connection to the room is bound to this GamesClient's lifecycle. When the client + disconnects, the player will leave the room and any peer-to-peer connections for this player + will be torn down. The result is delivered by the callback + onJoinedRoom(int, Room) to the given RoomUpdateListener in the + RoomConfig. The listener is called on the main thread.

+
+
Parameters
+ + + + +
config + the real-time room configuration. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + leaveRoom + (RoomUpdateListener listener, String roomId) +

+
+
+ + + +
+
+ +

Leave the specified room. This will disconnect the player from the room, but allow other + players to continue playing the game. The result is delivered by the callback + onLeftRoom(int, String) to the given listener on the main thread.

+
+
Parameters
+ + + + + + + +
listener + the listener that is notified after the room has been left. The listener is + called on the main thread.
roomId + ID of the room to leave. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadAchievements + (OnAchievementsLoadedListener listener) +

+
+
+ + + +
+
+ +

Asynchronously load achievement data for the currently signed in player. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadGame + (OnGamesLoadedListener listener) +

+
+
+ + + +
+
+ +

Load the details for the current game.

+
+
Parameters
+ + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadInvitablePlayers + (OnPlayersLoadedListener listener, int pageSize, boolean forceReload) +

+
+
+ + + +
+
+ +

Load the initial page of players the currently signed-in player can invite to a multiplayer + game, sorted alphabetically by name. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
pageSize + the number of entries to request for this initial page. Note that if cached + data already exists, the returned buffer may contain more than this size, but it + is guaranteed to contain at least this many if the collection contains enough + records. This must be a value between 1 and 25.
forceReload + If true, this call will clear any locally cached data and attempt to fetch + the latest data from the server. This would commonly be used for something like a + user-initiated refresh. Normally, this should be set to false to gain advantages + of data caching. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadInvitations + (OnInvitationsLoadedListener listener) +

+
+
+ + + +
+
+ +

Asynchronously load the list of invitations for the current game. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadLeaderboardMetadata + (OnLeaderboardMetadataLoadedListener listener, String leaderboardId) +

+
+
+ + + +
+
+ +

Asynchronously load a specific leaderboard's metadata for this game. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
leaderboardId + ID of the leaderboard to load metadata for. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadLeaderboardMetadata + (OnLeaderboardMetadataLoadedListener listener) +

+
+
+ + + +
+
+ +

Asynchronously load the list of leaderboard metadata for this game. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadMoreInvitablePlayers + (OnPlayersLoadedListener listener, int pageSize) +

+
+
+ + + +
+
+ +

Asynchronously loads an additional page of invitable players. A new player buffer will be + delivered that includes an extra page of results. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
pageSize + the number of additional entries to request. This must be a value between 1 + and 25. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadMoreScores + (OnLeaderboardScoresLoadedListener listener, LeaderboardScoreBuffer buffer, int maxResults, int pageDirection) +

+
+
+ + + +
+
+ +

Asynchronously loads an additional page of score data for the given score buffer. A new score + buffer will be delivered that replaces the given buffer. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
buffer + the existing buffer that will be expanded.
maxResults + The maximum number of scores to fetch per page. Must be between 1 and 25.
pageDirection + the direction to expand the buffer. Values are defined in + PageDirection +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadPlayer + (OnPlayersLoadedListener listener, String playerId) +

+
+
+ + + +
+
+ +

Asynchronously loads the profile for the requested player ID. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
playerId + the player ID to get full profile data for. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadPlayerCenteredScores + (OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) +

+
+
+ + + +
+
+ +

Asynchronously load the player-centered page of scores for a given leaderboard. If the player + does not have a score on this leaderboard, this call will return the top page instead. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + + + + + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
leaderboardId + ID of the leaderboard.
span + Time span to retrieve data for. Valid values are + TIME_SPAN_DAILY, + TIME_SPAN_WEEKLY, or + TIME_SPAN_ALL_TIME.
leaderboardCollection + The leaderboard collection to retrieve scores for. Valid values + are either COLLECTION_PUBLIC or + COLLECTION_SOCIAL.
maxResults + The maximum number of scores to fetch per page. Must be between 1 and 25.
forceReload + If true, this call will clear any locally cached data and attempt to fetch + the latest data from the server. This would commonly be used for something like a + user-initiated refresh. Normally, this should be set to false to gain advantages + of data caching. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadPlayerCenteredScores + (OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults) +

+
+
+ + + +
+
+ +

Asynchronously load the player-centered page of scores for a given leaderboard. If the player + does not have a score on this leaderboard, this call will return the top page instead. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
leaderboardId + ID of the leaderboard.
span + Time span to retrieve data for. Valid values are + TIME_SPAN_DAILY, + TIME_SPAN_WEEKLY, or + TIME_SPAN_ALL_TIME.
leaderboardCollection + The leaderboard collection to retrieve scores for. Valid values + are either COLLECTION_PUBLIC or + COLLECTION_SOCIAL.
maxResults + The maximum number of scores to fetch per page. Must be between 1 and 25. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadTopScores + (OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults) +

+
+
+ + + +
+
+ +

Asynchronously load the top page of scores for a given leaderboard. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
leaderboardId + ID of the leaderboard.
span + Time span to retrieve data for. Valid values are + TIME_SPAN_DAILY, + TIME_SPAN_WEEKLY, or + TIME_SPAN_ALL_TIME.
leaderboardCollection + The leaderboard collection to retrieve scores for. Valid values + are either COLLECTION_PUBLIC or + COLLECTION_SOCIAL.
maxResults + The maximum number of scores to fetch per page. Must be between 1 and 25. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadTopScores + (OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) +

+
+
+ + + +
+
+ +

Asynchronously load the top page of scores for a given leaderboard. +

+ The result is delivered to the given listener on the main thread. If disconnect() is + called before the result is ready it will not be delivered.

+
+
Parameters
+ + + + + + + + + + + + + + + + + + + +
listener + the listener that is called when the load is complete. The listener is called + on the main thread.
leaderboardId + ID of the leaderboard.
span + Time span to retrieve data for. Valid values are + TIME_SPAN_DAILY, + TIME_SPAN_WEEKLY, or + TIME_SPAN_ALL_TIME.
leaderboardCollection + The leaderboard collection to retrieve scores for. Valid values + are either COLLECTION_PUBLIC or + COLLECTION_SOCIAL.
maxResults + The maximum number of scores to fetch per page. Must be between 1 and 25.
forceReload + If true, this call will clear any locally cached data and attempt to fetch + the latest data from the server. This would commonly be used for something like a + user-initiated refresh. Normally, this should be set to false to gain advantages + of data caching. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + reconnect + () +

+
+
+ + + +
+
+ +

Closes the current connection to Google Play services and creates a new connection. +

+ This method closes the current connection then returns immediately and reconnects to the + service in the background. +

+ This method will call onDisconnected() + followed by either onConnected(Bundle) + if the connection is successful or + onConnectionFailed(ConnectionResult) on a failure.

+ + +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection events from this GooglePlayServicesClient. + If we are already connected, the listener's onConnected(Bundle) method + will be called immediately. Applications should balance calls to this method with calls to + unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources. +

+ If the specified listener is already registered to receive connection events, this + method will not add a duplicate entry for the same listener, but will + still call the listener's onConnected(Bundle) method if currently + connected. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection failed events from this + GooglePlayServicesClient. Unlike registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks), if we are not + already connected, the listener's onConnectionFailed(ConnectionResult) + method will not be called immediately. Applications should balance calls to this method with + calls to unregisterConnectionFailedListener(OnConnectionFailedListener) to avoid + leaking resources. +

+ If the specified listener is already registered to receive connection failed events, this + method will not add a duplicate entry for the same listener. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerInvitationListener + (OnInvitationReceivedListener listener) +

+
+
+ + + +
+
+ +

Register a listener to intercept incoming invitations for the currently signed-in user. If a + listener is registered by this method, the incoming invitation will not generate a status bar + notification as long as this client remains connected. +

+ Note that only one listener may be active at a time. Calling this method while another + listener was previously registered will replace the original listener with the new one.

+
+
Parameters
+ + + + +
listener + the listener that is called when a new invitation is received. The listener + is called on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + revealAchievement + (String id) +

+
+
+ + + +
+
+ +

Reveal a hidden achievement to the currently signed in player. If the achievement has already + been unlocked, this will have no effect. +

+ This is the fire-and-forget form of the API. Use this form if you don't need to know the + status of the operation immediately. For most applications, this will be the preferred API + to use, though note that the update may not be sent to the server until the next sync. See + revealAchievementImmediate(OnAchievementUpdatedListener, String) if you need the + operation to attempt to communicate to the server immediately or need to have the status code + delivered to your application.

+
+
Parameters
+ + + + +
id + the achievement ID to reveal
+
+
+
See Also
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + revealAchievementImmediate + (OnAchievementUpdatedListener listener, String id) +

+
+
+ + + +
+
+ +

Reveal a hidden achievement to the currently signed in player. If the achievement is already + visible, this will have no effect. +

+ This form of the API will attempt to update the user's achievement on the server immediately, + and will use the provided listener to inform the caller of the result of the operation. +

+ The status code to indicate the success or failure of the operation is delivered to the + given listener on the main thread. If disconnect() is called before the operation is + completed, the status code will not be delivered.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the reveal achievement is complete. + The listener is called on the main thread.
id + the ID of the achievement to reveal
+
+ + +
+
+ + + + +
+

+ + public + + + + + int + + sendReliableRealTimeMessage + (RealTimeReliableMessageSentListener listener, byte[] messageData, String roomId, String recipientParticipantId) +

+
+
+ + + +
+
+ +

Send a message to a participant in a real-time room reliably. The caller will receive a + callback to report the status of the send message operation. Throws an + IllegalArgumentException if recipientParticipantId is not a valid participant or + belongs to the current player. The maximum message size supported is + MAX_RELIABLE_MESSAGE_LEN bytes.

+
+
Parameters
+ + + + + + + + + + + + + +
listener + the listener that is notified when the message has been sent.
messageData + the message to be sent. Should be at most + MAX_RELIABLE_MESSAGE_LEN bytes.
roomId + ID of the room for which the message is being sent.
recipientParticipantId + the participant ID to send the message to.
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + int + + sendUnreliableRealTimeMessage + (byte[] messageData, String roomId, List<String> recipientParticipantIds) +

+
+
+ + + +
+
+ +

Send a message to one or more participants in a real-time room. The message delivery is not + reliable and will not report status after completion. Throws an + IllegalArgumentException if any participants in recipientParticipantIds are not + valid or belong to the current player. The maximum message size supported is + MAX_UNRELIABLE_MESSAGE_LEN bytes.

+
+
Parameters
+ + + + + + + + + + +
messageData + the message to be sent. Should be at most + MAX_UNRELIABLE_MESSAGE_LEN bytes.
roomId + ID of the room for which the message is being sent.
recipientParticipantIds + One or more participant IDs to send the message to.
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + int + + sendUnreliableRealTimeMessage + (byte[] messageData, String roomId, String recipientParticipantId) +

+
+
+ + + +
+
+ +

Send a message to a participant in a real-time room. The message delivery is not + reliable and will not report status after completion. Throws an + IllegalArgumentException if recipientParticipantId is not a valid participant or + belongs to the current player. The maximum message size supported is + MAX_UNRELIABLE_MESSAGE_LEN bytes.

+
+
Parameters
+ + + + + + + + + + +
messageData + the message to be sent. Should be at most + MAX_UNRELIABLE_MESSAGE_LEN bytes.
roomId + ID of the room for which the message is being sent.
recipientParticipantId + the participant ID to send the message to.
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + int + + sendUnreliableRealTimeMessageToAll + (byte[] messageData, String roomId) +

+
+
+ + + +
+
+ +

Send a message to all participants in a real-time room. The message delivery is not + reliable and will not report status after completion. The maximum message size supported is + MAX_UNRELIABLE_MESSAGE_LEN bytes.

+
+
Parameters
+ + + + + + + +
messageData + the message to be sent. Should be at most + MAX_UNRELIABLE_MESSAGE_LEN bytes.
roomId + ID of the room for which the message is being sent.
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + setGravityForPopups + (int gravity) +

+
+
+ + + +
+
+ +

Specifies the part of the screen at which games service popups (for example, "welcome back" + or "achievement unlocked" popups) will be displayed using gravity. +

+ Default value is TOP|CENTER_HORIZONTAL.

+
+
Parameters
+ + + + +
gravity + The gravity which controls the placement of games service popups. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setUseNewPlayerNotificationsFirstParty + (boolean newPlayerStyle) +

+
+
+ + + +
+
+ +

Set whether or not to use the "new player" style notifications for the invitation inbox or + destination app.

+
+
Parameters
+ + + + +
newPlayerStyle + Whether or not to use "new player" notifications. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setViewForPopups + (View gamesContentView) +

+
+
+ + + +
+
+ +

Sets the View to use as a content view for popups.

+
+
Parameters
+ + + + +
gamesContentView + The view to use as a content view for popups. View cannot be null. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + signOut + (OnSignOutCompleteListener listener) +

+
+
+ + + +
+
+ +

Asynchronously signs the current user out. +

+ The listener is called when sign-out is complete. If disconnect() is called before + sign-out is complete, the listener will not be called.

+
+
Parameters
+ + + + +
listener + the listener that is called when sign-out is complete. The listener is called + on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + signOut + () +

+
+
+ + + +
+
+ +

Asynchronously signs the current user out. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + submitScore + (String leaderboardId, long score) +

+
+
+ + + +
+
+ +

Submit a score to a leaderboard for the currently signed in player. The score is ignored if + it is worse (as defined by the leaderboard configuration) than a previously submitted score + for the same player. +

+ This form of the API is a fire-and-forget form. Use this if you do not need to be notified of + the results of submitting the score, though note that the update may not be sent to the + server until the next sync. +

+ The meaning of the score value depends on the formatting of the leaderboard established in + the developer console. Leaderboards support the following score formats: +

    +
  • Fixed-point: score represents a raw value, and will be formatted based on the + number of decimal places configured. A score of 1000 would be formatted as 1000, 100.0, or + 10.00 for 0, 1, or 2 decimal places.
  • +
  • Time: score represents an elapsed time in milliseconds. The value will be + formatted as an appropriate time value.
  • +
  • Currency: score represents a value in micro units. For example, in USD, a score + of 100 would display as $0.0001, while a score of 1000000 would display as $1.00
  • +
+

+ For more details, please see this + page.

+
+
Parameters
+ + + + + + + +
leaderboardId + The leaderboard to submit the score to.
score + The raw score value. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + submitScoreImmediate + (OnScoreSubmittedListener listener, String leaderboardId, long score) +

+
+
+ + + +
+
+ +

Submit a score to a leaderboard for the currently signed in player. The score is ignored if + it is worse (as defined by the leaderboard configuration) than a previously submitted score + for the same player. +

+ This form of the API will attempt to submit the score to the server immediately, and will use + the provided listener to inform the caller of the result of the operation. +

+ The status code to indicate the success or failure of the operation is delivered to the + given listener on the main thread. If disconnect() is called before the operation is + completed, the status code will not be delivered. +

+ The meaning of the score value depends on the formatting of the leaderboard established in + the developer console. Leaderboards support the following score formats: +

    +
  • Fixed-point: score represents a raw value, and will be formatted based on the + number of decimal places configured. A score of 1000 would be formatted as 1000, 100.0, or + 10.00 for 0, 1, or 2 decimal places.
  • +
  • Time: score represents an elapsed time in milliseconds. The value will be + formatted as an appropriate time value.
  • +
  • Currency: score represents a value in micro units. For example, in USD, a score + of 100 would display as $0.0001, while a score of 1000000 would display as $1.00
  • +
+

+ For more details, please see this + page.

+
+
Parameters
+ + + + + + + + + + +
listener + OnScoreSubmittedListener to call when the score has been submitted.
leaderboardId + The leaderboard to submit the score to.
score + The raw score value.
+
+
+
See Also
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + unlockAchievement + (String id) +

+
+
+ + + +
+
+ +

Unlock an achievement for the currently signed in player. If the achievement is hidden this + will reveal it to the player. +

+ This is the fire-and-forget form of the API. Use this form if you don't need to know the + status of the operation immediately. For most applications, this will be the preferred API + to use, though note that the update may not be sent to the server until the next sync. See + unlockAchievementImmediate(OnAchievementUpdatedListener, String) if you need the + operation to attempt to communicate to the server immediately or need to have the status code + delivered to your application.

+
+
Parameters
+ + + + +
id + the achievement ID to unlock
+
+
+
See Also
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + unlockAchievementImmediate + (OnAchievementUpdatedListener listener, String id) +

+
+
+ + + +
+
+ +

Unlock an achievement for the currently signed in player. If the achievement is hidden this + will reveal it to the player. +

+ This form of the API will attempt to update the user's achievement on the server immediately, + and will use the provided listener to inform the caller of the result of the operation. +

+ The status code to indicate the success or failure of the operation is delivered to the given + listener on the main thread. If disconnect() is called before the operation is + completed, the status code will not be delivered.

+
+
Parameters
+ + + + + + + +
listener + the listener that is called when the unlock achievement is complete. The + listener is called on the main thread.
id + the ID of the achievement to unlock.
+
+ + +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Removes a connection listener from this GooglePlayServicesClient. Note that removing + a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection events, this + method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Removes a connection failed listener from the GooglePlayServicesClient. + Note that removing a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection failed events, + this method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterInvitationListener + () +

+
+
+ + + +
+
+ +

Unregisters this client's invitation listener, if any. Any new invitations will generate + status bar notifications as normal. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/GamesClientSettings.html b/docs/html/reference/com/google/android/gms/games/GamesClientSettings.html new file mode 100644 index 000000000000..78856508af1d --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/GamesClientSettings.html @@ -0,0 +1,1162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GamesClientSettings | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

GamesClientSettings

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.GamesClientSettings
+ + + + + + + +
+ + +

Class Overview

+

Settings for GamesClient. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intPOPUP_POSITION_BOTTOMDisplay games service popups (achievements, welcome, ...) at the bottom of the screen +
intPOPUP_POSITION_TOPDisplay games service popups (achievements, welcome, ...) at the top of the screen +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + POPUP_POSITION_BOTTOM +

+
+ + + + +
+
+ +

Display games service popups (achievements, welcome, ...) at the bottom of the screen +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + POPUP_POSITION_TOP +

+
+ + + + +
+
+ +

Display games service popups (achievements, welcome, ...) at the top of the screen +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html b/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html new file mode 100644 index 000000000000..67b38072d3e9 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html @@ -0,0 +1,889 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnGamesLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnGamesLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.OnGamesLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when game metadata has been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onGamesLoaded(int statusCode, GameBuffer buffer) + +
Called when game metadata has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onGamesLoaded + (int statusCode, GameBuffer buffer) +

+
+
+ + + +
+
+ +

Called when game metadata has been loaded. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
buffer + The game metadata that was requested. This is guaranteed to be non-null, though + it may be empty. The listener must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/OnPlayersLoadedListener.html b/docs/html/reference/com/google/android/gms/games/OnPlayersLoadedListener.html new file mode 100644 index 000000000000..7275933bb541 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/OnPlayersLoadedListener.html @@ -0,0 +1,889 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnPlayersLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnPlayersLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.OnPlayersLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when player data has been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onPlayersLoaded(int statusCode, PlayerBuffer buffer) + +
Called when player data has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onPlayersLoaded + (int statusCode, PlayerBuffer buffer) +

+
+
+ + + +
+
+ +

Called when player data has been loaded. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
buffer + The player data that was requested. This is guaranteed to be non-null, though + it may be empty. The listener must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html b/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html new file mode 100644 index 000000000000..522c1605e2e4 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html @@ -0,0 +1,862 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnSignOutCompleteListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnSignOutCompleteListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.OnSignOutCompleteListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving a callback when a sign-out is complete. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onSignOutComplete() + +
Called once the signout operation is complete.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onSignOutComplete + () +

+
+
+ + + +
+
+ +

Called once the signout operation is complete. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/PageDirection.html b/docs/html/reference/com/google/android/gms/games/PageDirection.html new file mode 100644 index 000000000000..9d857c15a61c --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/PageDirection.html @@ -0,0 +1,1203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PageDirection | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

PageDirection

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.PageDirection
+ + + + + + + +
+ + +

Class Overview

+

Direction constants for pagination over data sets. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intNEXTDirection advancing toward the end of the data set.
intNONEConstant indicating that no pagination is occurring.
intPREVDirection advancing toward the beginning of the data set.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + NEXT +

+
+ + + + +
+
+ +

Direction advancing toward the end of the data set.

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + NONE +

+
+ + + + +
+
+ +

Constant indicating that no pagination is occurring.

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + PREV +

+
+ + + + +
+
+ +

Direction advancing toward the beginning of the data set.

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/Player.html b/docs/html/reference/com/google/android/gms/games/Player.html new file mode 100644 index 000000000000..84a7fe1dc309 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/Player.html @@ -0,0 +1,1478 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Player | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Player

+ + + + + + implements + + Parcelable + + Freezable<T> + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.Player
+ + + + + + +
+ + Known Indirect Subclasses + +
+ + +
+
+ + +
+ + +

Class Overview

+

Data interface for retrieving player information. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + String + + getDisplayName() + +
Retrieves the display name for this player.
+ +
+ abstract + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads the player's display name into the given CharArrayBuffer.
+ +
+ abstract + + + + + Uri + + getHiResImageUri() + +
Retrieves the URI for loading this player's hi-res profile image.
+ +
+ abstract + + + + + Uri + + getIconImageUri() + +
Retrieves the URI for loading this player's icon-size profile image.
+ +
+ abstract + + + + + String + + getPlayerId() + +
Retrieves the ID of this player.
+ +
+ abstract + + + + + long + + getRetrievedTimestamp() + +
Retrieves the timestamp at which this player record was last updated locally.
+ +
+ abstract + + + + + boolean + + hasHiResImage() + +
Indicates whether this player has a hi-res profile image to display.
+ +
+ abstract + + + + + boolean + + hasIconImage() + +
Indicates whether this player has an icon-size profile image to display.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Retrieves the display name for this player.

+
+
Returns
+
  • The player's display name. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the player's display name into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getHiResImageUri + () +

+
+
+ + + +
+
+ +

Retrieves the URI for loading this player's hi-res profile image. Returns null if the player + has no profile image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The image URI for the player's hi-res profile image, or null if the player has none. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Retrieves the URI for loading this player's icon-size profile image. Returns null if the + player has no profile image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The image URI for the player's icon-size profile image, or null if the player has + none. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getPlayerId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of this player.

+
+
Returns
+
  • The player ID. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getRetrievedTimestamp + () +

+
+
+ + + +
+
+ +

Retrieves the timestamp at which this player record was last updated locally.

+
+
Returns
+
  • The timestamp (in ms since epoch) at which the player data was last updated locally. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + boolean + + hasHiResImage + () +

+
+
+ + + +
+
+ +

Indicates whether this player has a hi-res profile image to display.

+
+
Returns
+
  • Whether the player has a hi-res profile image to display. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + boolean + + hasIconImage + () +

+
+
+ + + +
+
+ +

Indicates whether this player has an icon-size profile image to display.

+
+
Returns
+
  • Whether the player has an icon-size profile image to display. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/PlayerBuffer.html b/docs/html/reference/com/google/android/gms/games/PlayerBuffer.html new file mode 100644 index 000000000000..d00b957b56b8 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/PlayerBuffer.html @@ -0,0 +1,1321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PlayerBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

PlayerBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.PlayerBuffer
+ + + + + + + +
+ + +

Class Overview

+

Data structure providing access to a list of players. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + Player + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + Player + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/PlayerEntity.html b/docs/html/reference/com/google/android/gms/games/PlayerEntity.html new file mode 100644 index 000000000000..e86ab60d03ed --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/PlayerEntity.html @@ -0,0 +1,2200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PlayerEntity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

PlayerEntity

+ + + + + extends Object
+ + + + + + + implements + + Player + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.PlayerEntity
+ + + + + + + +
+ + +

Class Overview

+

Data object representing a set of Player data. This is immutable, and therefore safe to cache or + store. Note, however, that the data it represents may grow stale. +

+ This class exists solely to support parceling these objects and should not be used directly. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<PlayerEntity>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + boolean + + equals(Object obj) + +
+ + + + + + Player + + freeze() + +
Freeze a volatile representation into an immutable representation.
+ +
+ + + + + + String + + getDisplayName() + +
Retrieves the display name for this player.
+ +
+ + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads the player's display name into the given CharArrayBuffer.
+ +
+ + + + + + Uri + + getHiResImageUri() + +
Retrieves the URI for loading this player's hi-res profile image.
+ +
+ + + + + + Uri + + getIconImageUri() + +
Retrieves the URI for loading this player's icon-size profile image.
+ +
+ + + + + + String + + getPlayerId() + +
Retrieves the ID of this player.
+ +
+ + + + + + long + + getRetrievedTimestamp() + +
Retrieves the timestamp at which this player record was last updated locally.
+ +
+ + + + + + boolean + + hasHiResImage() + +
Indicates whether this player has a hi-res profile image to display.
+ +
+ + + + + + boolean + + hasIconImage() + +
Indicates whether this player has an icon-size profile image to display.
+ +
+ + + + + + int + + hashCode() + +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel dest, int flags) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.Player + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Creator<PlayerEntity> + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + equals + (Object obj) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Player + + freeze + () +

+
+
+ + + +
+
+ +

Freeze a volatile representation into an immutable representation. Objects returned from this + call are safe to cache. +

+ Note that the output of freeze may not be identical to the parent object, but should + be equal. In other words: + +

+ 
+ Freezable f1 = new Freezable();
+ Freezable f2 = f1.freeze();
+ f1 == f2 may not be true.
+ f1.equals(f2) will be true.
+ 
+ 

+
+
Returns
+
  • A concrete implementation of the data object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Retrieves the display name for this player.

+
+
Returns
+
  • The player's display name. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the player's display name into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getHiResImageUri + () +

+
+
+ + + +
+
+ +

Retrieves the URI for loading this player's hi-res profile image. Returns null if the player + has no profile image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The image URI for the player's hi-res profile image, or null if the player has none. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Retrieves the URI for loading this player's icon-size profile image. Returns null if the + player has no profile image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The image URI for the player's icon-size profile image, or null if the player has + none. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getPlayerId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of this player.

+
+
Returns
+
  • The player ID. +
+
+ +
+
+ + + + +
+

+ + public + + + + + long + + getRetrievedTimestamp + () +

+
+
+ + + +
+
+ +

Retrieves the timestamp at which this player record was last updated locally.

+
+
Returns
+
  • The timestamp (in ms since epoch) at which the player data was last updated locally. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + hasHiResImage + () +

+
+
+ + + +
+
+ +

Indicates whether this player has a hi-res profile image to display.

+
+
Returns
+
  • Whether the player has a hi-res profile image to display. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + hasIconImage + () +

+
+
+ + + +
+
+ +

Indicates whether this player has an icon-size profile image to display.

+
+
Returns
+
  • Whether the player has an icon-size profile image to display. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + hashCode + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel dest, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/RealTimeSocket.html b/docs/html/reference/com/google/android/gms/games/RealTimeSocket.html new file mode 100644 index 000000000000..b04c0bbc5352 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/RealTimeSocket.html @@ -0,0 +1,1128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RealTimeSocket | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

RealTimeSocket

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.RealTimeSocket
+ + + + + + + +
+ + +

Class Overview

+

Provides a Socket-like interface for a real-time data connection to a participant in a real-time + room. Use getRealTimeSocketForParticipant(String, String) to get an instance. +

+ Use getParcelFileDescriptor() to get a file descriptor for read/write, or + use getInputStream() / getOutputStream() to get + access to an instance of InputStream and OutputStream + respectively. +

+ Calling close() on any of (i) the returned ParcelFileDescriptor or, (ii) the + InputStream or OutputStream instances will close the socket. Note: The maximum + (unfragmented) packet size supported through this API is + MAX_UNRELIABLE_MESSAGE_LEN bytes (excluding internal protocol headers). Thus, + the byte[] data passed to write(byte[]) should honor this limit or the packet will + be dropped and an error message will be sent to the log. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + close() + +
Closes this real-time socket connection with the participant.
+ +
+ abstract + + + + + InputStream + + getInputStream() + +
Use this to read data from this socket.
+ +
+ abstract + + + + + OutputStream + + getOutputStream() + +
Instance of OutputStream to write data to.
+ +
+ abstract + + + + + ParcelFileDescriptor + + getParcelFileDescriptor() + +
Returns the underlying file descriptor for direct read/write access.
+ +
+ abstract + + + + + boolean + + isClosed() + +
Use this to check if the socket is closed.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + close + () +

+
+
+ + + +
+
+ +

Closes this real-time socket connection with the participant.

+
+
Throws
+ + + + +
IOException + on error. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + InputStream + + getInputStream + () +

+
+
+ + + +
+
+ +

Use this to read data from this socket. + Calling close() on the InputStream will close the socket.

+
+
Returns
+ +
+
+
Throws
+ + + + +
IOException + on error. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + OutputStream + + getOutputStream + () +

+
+
+ + + +
+
+ +

Instance of OutputStream to write data to. + Calling close() on the OutputStream will close the socket. + + Note: The maximum (unfragmented) packet size supported through this API is + MAX_UNRELIABLE_MESSAGE_LEN bytes (excluding internal protocol headers). + Thus, the byte[] data passed to write(byte[]) should honor this limit or the + packet will be dropped and an error message will be sent to the log.

+
+
Returns
+ +
+
+
Throws
+ + + + +
IOException + on error. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + ParcelFileDescriptor + + getParcelFileDescriptor + () +

+
+
+ + + +
+
+ +

Returns the underlying file descriptor for direct read/write access. + Calling close() on the returned ParcelFileDescriptor will close the socket.

+
+
Returns
+ +
+
+
Throws
+ + + + +
IOException + in case of error. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + boolean + + isClosed + () +

+
+
+ + + +
+
+ +

Use this to check if the socket is closed.

+
+
Returns
+
  • True if the socket is closed. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/achievement/Achievement.html b/docs/html/reference/com/google/android/gms/games/achievement/Achievement.html new file mode 100644 index 000000000000..ff8cfd063683 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/achievement/Achievement.html @@ -0,0 +1,1997 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Achievement | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Achievement

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.achievement.Achievement
+ + + + + + + +
+ + +

Class Overview

+

Data interface for retrieving achievement information. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intSTATE_HIDDENConstant returned by getState() indicating a hidden achievement.
intSTATE_REVEALEDConstant returned by getState() indicating a revealed achievement.
intSTATE_UNLOCKEDConstant returned by getState() indicating an unlocked achievement.
intTYPE_INCREMENTALConstant returned by getType() indicating an incremental achievement.
intTYPE_STANDARDConstant returned by getType() indicating a standard achievement.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + String + + getAchievementId() + +
Retrieves the ID of this achievement.
+ +
+ abstract + + + + + int + + getCurrentSteps() + +
Retrieves the number of steps this user has gone toward unlocking this achievement; only + applicable for TYPE_INCREMENTAL achievement types.
+ +
+ abstract + + + + + String + + getDescription() + +
Retrieves the description for this achievement.
+ +
+ abstract + + + + + void + + getDescription(CharArrayBuffer dataOut) + +
Loads the achievement description into the given CharArrayBuffer.
+ +
+ abstract + + + + + void + + getFormattedCurrentSteps(CharArrayBuffer dataOut) + +
Retrieves the number of steps this user has gone toward unlocking this achievement (formatted + for the user's locale) into the given CharArrayBuffer.
+ +
+ abstract + + + + + String + + getFormattedCurrentSteps() + +
Retrieves the number of steps this user has gone toward unlocking this achievement (formatted + for the user's locale); only applicable for TYPE_INCREMENTAL + achievement types.
+ +
+ abstract + + + + + void + + getFormattedTotalSteps(CharArrayBuffer dataOut) + +
Loads the total number of steps necessary to unlock this achievement (formatted for the + user's locale) into the given CharArrayBuffer; only applicable for + TYPE_INCREMENTAL achievement types.
+ +
+ abstract + + + + + String + + getFormattedTotalSteps() + +
Retrieves the total number of steps necessary to unlock this achievement, formatted for the + user's locale; only applicable for TYPE_INCREMENTAL achievement types.
+ +
+ abstract + + + + + long + + getLastUpdatedTimestamp() + +
Retrieves the timestamp (in millseconds since epoch) at which this achievement was last + updated.
+ +
+ abstract + + + + + void + + getName(CharArrayBuffer dataOut) + +
Loads the achievement name into the given CharArrayBuffer.
+ +
+ abstract + + + + + String + + getName() + +
Retrieves the name of this achievement.
+ +
+ abstract + + + + + Player + + getPlayer() + +
Retrieves the player information associated with this achievement.
+ +
+ abstract + + + + + Uri + + getRevealedImageUri() + +
Retrieves a URI that can be used to load the achievement's revealed image icon.
+ +
+ abstract + + + + + int + + getState() + +
Retrieves the state of the achievement - one of STATE_UNLOCKED, + STATE_REVEALED, or STATE_HIDDEN.
+ +
+ abstract + + + + + int + + getTotalSteps() + +
Retrieves the total number of steps necessary to unlock this achievement; only applicable for + TYPE_INCREMENTAL achievement types.
+ +
+ abstract + + + + + int + + getType() + +
Retrieves the type of this achievement - one of TYPE_STANDARD or + TYPE_INCREMENTAL.
+ +
+ abstract + + + + + Uri + + getUnlockedImageUri() + +
Retrieves a URI that can be used to load the achievement's unlocked image icon.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + STATE_HIDDEN +

+
+ + + + +
+
+ +

Constant returned by getState() indicating a hidden achievement. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATE_REVEALED +

+
+ + + + +
+
+ +

Constant returned by getState() indicating a revealed achievement. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATE_UNLOCKED +

+
+ + + + +
+
+ +

Constant returned by getState() indicating an unlocked achievement. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + TYPE_INCREMENTAL +

+
+ + + + +
+
+ +

Constant returned by getType() indicating an incremental achievement. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + TYPE_STANDARD +

+
+ + + + +
+
+ +

Constant returned by getType() indicating a standard achievement. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + String + + getAchievementId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of this achievement.

+
+
Returns
+
  • The achievement ID. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getCurrentSteps + () +

+
+
+ + + +
+
+ +

Retrieves the number of steps this user has gone toward unlocking this achievement; only + applicable for TYPE_INCREMENTAL achievement types.

+
+
Returns
+
  • The number of steps this user has gone toward unlocking this achievement. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDescription + () +

+
+
+ + + +
+
+ +

Retrieves the description for this achievement.

+
+
Returns
+
  • The achievement description. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDescription + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the achievement description into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getFormattedCurrentSteps + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Retrieves the number of steps this user has gone toward unlocking this achievement (formatted + for the user's locale) into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getFormattedCurrentSteps + () +

+
+
+ + + +
+
+ +

Retrieves the number of steps this user has gone toward unlocking this achievement (formatted + for the user's locale); only applicable for TYPE_INCREMENTAL + achievement types.

+
+
Returns
+
  • The formatted number of steps this user has gone toward unlocking this achievement, +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getFormattedTotalSteps + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the total number of steps necessary to unlock this achievement (formatted for the + user's locale) into the given CharArrayBuffer; only applicable for + TYPE_INCREMENTAL achievement types.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getFormattedTotalSteps + () +

+
+
+ + + +
+
+ +

Retrieves the total number of steps necessary to unlock this achievement, formatted for the + user's locale; only applicable for TYPE_INCREMENTAL achievement types.

+
+
Returns
+
  • The total number of steps necessary to unlock this achievement. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getLastUpdatedTimestamp + () +

+
+
+ + + +
+
+ +

Retrieves the timestamp (in millseconds since epoch) at which this achievement was last + updated. If the achievement has never been updated, this will return -1.

+
+
Returns
+
  • Timestamp at which this achievement was last updated. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the achievement name into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getName + () +

+
+
+ + + +
+
+ +

Retrieves the name of this achievement.

+
+
Returns
+
  • The achievement name. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Player + + getPlayer + () +

+
+
+ + + +
+
+ +

Retrieves the player information associated with this achievement. +

+ Note that this object is a volatile representation, so it is not safe to cache the output of + this directly. Instead, cache the result of freeze().

+
+
Returns
+
  • player associated with this achievement. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getRevealedImageUri + () +

+
+
+ + + +
+
+ +

Retrieves a URI that can be used to load the achievement's revealed image icon. Returns null + if the achievement has no revealed image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The image URI for the achievement's revealed image icon, or null if the achievement + has no revealed image. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getState + () +

+
+
+ + + +
+
+ +

Retrieves the state of the achievement - one of STATE_UNLOCKED, + STATE_REVEALED, or STATE_HIDDEN.

+
+
Returns
+
  • The state of this achievement. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getTotalSteps + () +

+
+
+ + + +
+
+ +

Retrieves the total number of steps necessary to unlock this achievement; only applicable for + TYPE_INCREMENTAL achievement types.

+
+
Returns
+
  • The total number of steps necessary to unlock this achievement. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getType + () +

+
+
+ + + +
+
+ +

Retrieves the type of this achievement - one of TYPE_STANDARD or + TYPE_INCREMENTAL.

+
+
Returns
+
  • The type of this achievement. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getUnlockedImageUri + () +

+
+
+ + + +
+
+ +

Retrieves a URI that can be used to load the achievement's unlocked image icon. Returns null + if the achievement has no unlocked image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The image URI for the achievement's unlocked image icon, or null if the achievement + has no unlocked image. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/achievement/AchievementBuffer.html b/docs/html/reference/com/google/android/gms/games/achievement/AchievementBuffer.html new file mode 100644 index 000000000000..da27acc91cd6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/achievement/AchievementBuffer.html @@ -0,0 +1,1321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +AchievementBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

AchievementBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.achievement.AchievementBuffer
+ + + + + + + +
+ + +

Class Overview

+

Data structure providing access to a list of achievements. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + Achievement + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + Achievement + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html b/docs/html/reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html new file mode 100644 index 000000000000..75acd135ec91 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html @@ -0,0 +1,904 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnAchievementUpdatedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnAchievementUpdatedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.achievement.OnAchievementUpdatedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when achievement data has been updated + (revealed, unlocked or incremented). +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onAchievementUpdated(int statusCode, String achievementId) + +
Called when achievement data has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onAchievementUpdated + (int statusCode, String achievementId) +

+
+
+ + + +
+
+ +

Called when achievement data has been loaded. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
achievementId + id of the achievement that was updated. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html b/docs/html/reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html new file mode 100644 index 000000000000..011e81b09150 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html @@ -0,0 +1,891 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnAchievementsLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnAchievementsLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.achievement.OnAchievementsLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when achievement data has been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onAchievementsLoaded(int statusCode, AchievementBuffer buffer) + +
Called when achievement data has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onAchievementsLoaded + (int statusCode, AchievementBuffer buffer) +

+
+
+ + + +
+
+ +

Called when achievement data has been loaded. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
buffer + The achievement data that was requested. This is guaranteed to be non-null, + though it may be empty. The listener must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/achievement/package-summary.html b/docs/html/reference/com/google/android/gms/games/achievement/package-summary.html new file mode 100644 index 000000000000..fc240bba2539 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/achievement/package-summary.html @@ -0,0 +1,710 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.games.achievement | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.games.achievement

+
+ +
+ +
+ + +
+ Contains classes for loading and updating achievements. + +
+ + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + +
AchievementData interface for retrieving achievement information. 
OnAchievementsLoadedListenerListener for receiving callbacks when achievement data has been loaded. 
OnAchievementUpdatedListenerListener for receiving callbacks when achievement data has been updated + (revealed, unlocked or incremented). 
+
+ + + + +

Classes

+
+ + + + + + +
AchievementBufferData structure providing access to a list of achievements. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/Leaderboard.html b/docs/html/reference/com/google/android/gms/games/leaderboard/Leaderboard.html new file mode 100644 index 000000000000..de2a66a41fb1 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/Leaderboard.html @@ -0,0 +1,1248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Leaderboard | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Leaderboard

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.leaderboard.Leaderboard
+ + + + + + + +
+ + +

Class Overview

+

Data interface for leaderboard metadata. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intSCORE_ORDER_LARGER_IS_BETTERScore order constant for leaderboards where scores are sorted in descending order.
intSCORE_ORDER_SMALLER_IS_BETTERScore order constant for leaderboards where scores are sorted in ascending order.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + String + + getDisplayName() + +
Retrieves the display name of this leaderboard.
+ +
+ abstract + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads this leaderboard's display name into the given CharArrayBuffer.
+ +
+ abstract + + + + + Uri + + getIconImageUri() + +
Retrieves an image URI that can be used to load this leaderboard's icon, or null if there was + a problem retrieving the icon.
+ +
+ abstract + + + + + String + + getLeaderboardId() + +
Retrieves the ID of this leaderboard.
+ +
+ abstract + + + + + int + + getScoreOrder() + +
Retrieves the sort order of scores for this leaderboard.
+ +
+ abstract + + + + + ArrayList<LeaderboardVariant> + + getVariants() + +
Retrieves the LeaderboardVariants for this leaderboard.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + SCORE_ORDER_LARGER_IS_BETTER +

+
+ + + + +
+
+ +

Score order constant for leaderboards where scores are sorted in descending order. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + SCORE_ORDER_SMALLER_IS_BETTER +

+
+ + + + +
+
+ +

Score order constant for leaderboards where scores are sorted in ascending order. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Retrieves the display name of this leaderboard.

+
+
Returns
+
  • Display name of this leaderboard. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads this leaderboard's display name into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Retrieves an image URI that can be used to load this leaderboard's icon, or null if there was + a problem retrieving the icon. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • A URI that can be used to load this leaderboard's icon, or null if there was a + problem retrieving the icon. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getLeaderboardId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of this leaderboard.

+
+
Returns
+
  • The ID of this leaderboard. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getScoreOrder + () +

+
+
+ + + +
+
+ +

Retrieves the sort order of scores for this leaderboard. Possible values are + SCORE_ORDER_LARGER_IS_BETTER or SCORE_ORDER_SMALLER_IS_BETTER.

+
+
Returns
+
  • The score order used by this leaderboard. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + ArrayList<LeaderboardVariant> + + getVariants + () +

+
+
+ + + +
+
+ +

Retrieves the LeaderboardVariants for this leaderboard. These will be returned + sorted by time span first, then by variant type. +

+ Note that these variants are volatile, and are tied to the lifetime of the original buffer.

+
+
Returns
+ +
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html new file mode 100644 index 000000000000..88e6eb3a21fc --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html @@ -0,0 +1,1505 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LeaderboardBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

LeaderboardBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.leaderboard.LeaderboardBuffer
+ + + + + + + +
+ + +

Class Overview

+

DataBuffer containing Leaderboard data. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + final + + + T + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + int + + getCount() + +
+ + + + + + + + + + + + + + + + + + + + + + +
Protected Methods
+ + + + + + Leaderboard + + getEntry(int rowIndex, int numChildren) + +
Subclasses must implement this method to get an entry for the provided rowIndex.
+ +
+ + + + + + String + + getPrimaryDataMarkerColumn() + +
Subclasses must implement this method to indicate a column in the data holder that can be + used to determine where the boundaries between the primary data entities occur.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + final + + + T + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getCount + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + +

Protected Methods

+ + + + + +
+

+ + protected + + + + + Leaderboard + + getEntry + (int rowIndex, int numChildren) +

+
+
+ + + +
+
+ +

Subclasses must implement this method to get an entry for the provided rowIndex.

+
+
Parameters
+ + + + + + + +
rowIndex + Row index of underlying DataHolder to construct an entry for.
numChildren + The number of children underneath the given entry.
+
+
+
Returns
+
  • Appropriate entry for this row. +
+
+ +
+
+ + + + +
+

+ + protected + + + + + String + + getPrimaryDataMarkerColumn + () +

+
+
+ + + +
+
+ +

Subclasses must implement this method to indicate a column in the data holder that can be + used to determine where the boundaries between the primary data entities occur. +

+ Note that the column must contain a String value.

+
+
Returns
+
  • The name of a column in the data holder that is guaranteed to change when the primary + data type transitions to another instance (typically an ID of the primary data type). +
+
+ +
+
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html new file mode 100644 index 000000000000..a7da39ea25f2 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html @@ -0,0 +1,1557 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LeaderboardScore | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

LeaderboardScore

+ + + + + + implements + + Freezable<T> + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.leaderboard.LeaderboardScore
+ + + + + + + +
+ + +

Class Overview

+

Data interface representing a single score on a leaderboard. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + getDisplayRank(CharArrayBuffer dataOut) + +
Load the formatted display rank into the given CharArrayBuffer.
+ +
+ abstract + + + + + String + + getDisplayRank() + +
Retrieves a formatted string to display for this rank.
+ +
+ abstract + + + + + String + + getDisplayScore() + +
Retrieves a formatted string to display for this score.
+ +
+ abstract + + + + + void + + getDisplayScore(CharArrayBuffer dataOut) + +
Loads the formatted display score into the given CharArrayBuffer.
+ +
+ abstract + + + + + long + + getRank() + +
Retrieves the rank returned from the server for this score.
+ +
+ abstract + + + + + long + + getRawScore() + +
Retrieves the raw score value.
+ +
+ abstract + + + + + Player + + getScoreHolder() + +
Retrieves the player that scored this particular score.
+ +
+ abstract + + + + + String + + getScoreHolderDisplayName() + +
Retrieves the name to display for the player who scored this score.
+ +
+ abstract + + + + + void + + getScoreHolderDisplayName(CharArrayBuffer dataOut) + +
Load the display name of the player who scored this score into the provided + CharArrayBuffer.
+ +
+ abstract + + + + + Uri + + getScoreHolderHiResImageUri() + +
Retrieves the URI of the hi-res image to display for the player who scored this score.
+ +
+ abstract + + + + + Uri + + getScoreHolderIconImageUri() + +
Retrieves the URI of the icon image to display for the player who scored this score.
+ +
+ abstract + + + + + long + + getTimestampMillis() + +
Retrieves the timestamp (in milliseconds from epoch) at which this score was achieved.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + getDisplayRank + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Load the formatted display rank into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDisplayRank + () +

+
+
+ + + +
+
+ +

Retrieves a formatted string to display for this rank. This handles appropriate localization + and formatting.

+
+
Returns
+
  • Formatted string to display. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDisplayScore + () +

+
+
+ + + +
+
+ +

Retrieves a formatted string to display for this score. The details of the formatting are + specified by the developer in their dev console.

+
+
Returns
+
  • Formatted string to display. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDisplayScore + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the formatted display score into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getRank + () +

+
+
+ + + +
+
+ +

Retrieves the rank returned from the server for this score. Note that this may not be exact + and that multiple scores can have identical ranks. Lower ranks indicate a better score, with + rank 1 being the best score on the board.

+
+
Returns
+
  • Rank of score. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getRawScore + () +

+
+
+ + + +
+
+ +

Retrieves the raw score value.

+
+
Returns
+
  • The raw score value. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Player + + getScoreHolder + () +

+
+
+ + + +
+
+ +

Retrieves the player that scored this particular score. The return value here may be null if + the current player is not authorized to see information about the holder of this score. +

+ Note that this object is a volatile representation, so it is not safe to cache the output of + this directly. Instead, cache the result of freeze().

+
+
Returns
+
  • player associated with this leaderboard score. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getScoreHolderDisplayName + () +

+
+
+ + + +
+
+ +

Retrieves the name to display for the player who scored this score. If the identity of the + player is unknown, this will return an anonymous name to display.

+
+
Returns
+
  • The display name of the holder of this score. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getScoreHolderDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Load the display name of the player who scored this score into the provided + CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getScoreHolderHiResImageUri + () +

+
+
+ + + +
+
+ +

Retrieves the URI of the hi-res image to display for the player who scored this score. If the + identity of the player is unknown, this will return null. It may also be null if the player + simply has no image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The URI of the hi-res image to display for this score. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getScoreHolderIconImageUri + () +

+
+
+ + + +
+
+ +

Retrieves the URI of the icon image to display for the player who scored this score. If the + identity of the player is unknown, this will return an anonymous image for the player. It may + also be null if the player simply has no image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The URI of the icon image to display for this score. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getTimestampMillis + () +

+
+
+ + + +
+
+ +

Retrieves the timestamp (in milliseconds from epoch) at which this score was achieved.

+
+
Returns
+
  • Timestamp when this score was achieved. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html new file mode 100644 index 000000000000..f20c5299e3cc --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html @@ -0,0 +1,1321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LeaderboardScoreBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

LeaderboardScoreBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.leaderboard.LeaderboardScoreBuffer
+ + + + + + + +
+ + +

Class Overview

+

DataBuffer containing LeaderboardScore data. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + LeaderboardScore + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + LeaderboardScore + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html new file mode 100644 index 000000000000..f2801a455d78 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html @@ -0,0 +1,1683 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LeaderboardVariant | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

LeaderboardVariant

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.leaderboard.LeaderboardVariant
+ + + + + + + +
+ + +

Class Overview

+

Data interface for a specific variant of a leaderboard; a variant is defined by the combination + of the leaderboard's collection (public or social) and time span (daily, weekly, or all-time). +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intCOLLECTION_PUBLICCollection constant for public leaderboards.
intCOLLECTION_SOCIALCollection constant for social leaderboards.
intNUM_SCORES_UNKNOWNConstant returned when the total number of scores for this variant is unknown.
intNUM_TIME_SPANSNumber of time spans that exist.
intPLAYER_RANK_UNKNOWNConstant returned when a player's rank for this variant is unknown.
intPLAYER_SCORE_UNKNOWNConstant returned when a player's score for this variant is unknown.
intTIME_SPAN_ALL_TIMEScores are never reset.
intTIME_SPAN_DAILYScores are reset every day.
intTIME_SPAN_WEEKLYScores are reset once per week.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + int + + getCollection() + +
Retrieves the collection of scores contained by this variant.
+ +
+ abstract + + + + + String + + getDisplayPlayerRank() + +
Retrieves the viewing player's formatted rank for this variant, if any.
+ +
+ abstract + + + + + String + + getDisplayPlayerScore() + +
Retrieves the viewing player's score for this variant, if any.
+ +
+ abstract + + + + + long + + getNumScores() + +
Retrieves the total number of scores for this variant.
+ +
+ abstract + + + + + long + + getPlayerRank() + +
Retrieves the viewing player's rank for this variant, if any.
+ +
+ abstract + + + + + long + + getRawPlayerScore() + +
Retrieves the viewing player's score for this variant, if any.
+ +
+ abstract + + + + + int + + getTimeSpan() + +
Retrieves the time span that the scores for this variant are drawn from.
+ +
+ abstract + + + + + boolean + + hasPlayerInfo() + +
Get whether or not this variant contains score information for the viewing player or not.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + COLLECTION_PUBLIC +

+
+ + + + +
+
+ +

Collection constant for public leaderboards. Public leaderboards contain the scores of + players who are sharing their gameplay activity publicly. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + COLLECTION_SOCIAL +

+
+ + + + +
+
+ +

Collection constant for social leaderboards. Social leaderboards contain the scores of + players in the viewing player's circles. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + NUM_SCORES_UNKNOWN +

+
+ + + + +
+
+ +

Constant returned when the total number of scores for this variant is unknown. +

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + NUM_TIME_SPANS +

+
+ + + + +
+
+ +

Number of time spans that exist. Needs to be updated if we ever have more. +

+ + +
+ Constant Value: + + + 3 + (0x00000003) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + PLAYER_RANK_UNKNOWN +

+
+ + + + +
+
+ +

Constant returned when a player's rank for this variant is unknown. +

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + PLAYER_SCORE_UNKNOWN +

+
+ + + + +
+
+ +

Constant returned when a player's score for this variant is unknown. +

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + TIME_SPAN_ALL_TIME +

+
+ + + + +
+
+ +

Scores are never reset. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + TIME_SPAN_DAILY +

+
+ + + + +
+
+ +

Scores are reset every day. The reset occurs at 11:59PM PST. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + TIME_SPAN_WEEKLY +

+
+ + + + +
+
+ +

Scores are reset once per week. The reset occurs at 11:59PM PST on Sunday. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + int + + getCollection + () +

+
+
+ + + +
+
+ +

Retrieves the collection of scores contained by this variant. Possible values are + COLLECTION_PUBLIC or COLLECTION_SOCIAL.

+
+
Returns
+
  • The collection of scores contained by this variant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDisplayPlayerRank + () +

+
+
+ + + +
+
+ +

Retrieves the viewing player's formatted rank for this variant, if any. Note that this value + is only accurate if hasPlayerInfo() returns true.

+
+
Returns
+
  • the String representation of the viewing player's rank, or {@code null) + if the player has no rank for this variant. + +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDisplayPlayerScore + () +

+
+
+ + + +
+
+ +

Retrieves the viewing player's score for this variant, if any. Note that this value is only + accurate if hasPlayerInfo() returns true.

+
+
Returns
+
  • the String representation of the viewing player's score, or null if the + player has no score for this variant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getNumScores + () +

+
+
+ + + +
+
+ +

Retrieves the total number of scores for this variant. Not all of these scores will always + be present on the local device. Note that if scores for this variant have not been loaded, + this method will return NUM_SCORES_UNKNOWN.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getPlayerRank + () +

+
+
+ + + +
+
+ +

Retrieves the viewing player's rank for this variant, if any. Note that this value is only + accurate if hasPlayerInfo() returns true.

+
+
Returns
+
  • the long representation of the viewing player's rank, or PLAYER_RANK_UNKNOWN + if the player has no rank for this variant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getRawPlayerScore + () +

+
+
+ + + +
+
+ +

Retrieves the viewing player's score for this variant, if any. Note that this value is only + accurate if hasPlayerInfo() returns true.

+
+
Returns
+
  • the long representation of the viewing player's score, or + PLAYER_SCORE_UNKNOWN if the player has no score for this variant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getTimeSpan + () +

+
+
+ + + +
+
+ +

Retrieves the time span that the scores for this variant are drawn from. Possible values are + TIME_SPAN_ALL_TIME, TIME_SPAN_WEEKLY, or TIME_SPAN_DAILY.

+
+
Returns
+
  • The time span that the scores for this variant are drawn from. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + boolean + + hasPlayerInfo + () +

+
+
+ + + +
+
+ +

Get whether or not this variant contains score information for the viewing player or not. + There are several possible reasons why this might be false. If the scores for this variant + have never been loaded, we won't know if the player has a score or not. Similarly, if the + player has not submitted a score for this variant, this will return false. +

+ It is possible to have a score but no rank. For instance, on leaderboard variants of + COLLECTION_PUBLIC, players who are not sharing their scores publicly will never have + a rank.

+
+
Returns
+
  • whether or not this variant contains score information for the viewing player. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html b/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html new file mode 100644 index 000000000000..1ccfc8f3070f --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html @@ -0,0 +1,889 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnLeaderboardMetadataLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnLeaderboardMetadataLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.leaderboard.OnLeaderboardMetadataLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when leaderboard metadata has been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onLeaderboardMetadataLoaded(int statusCode, LeaderboardBuffer buffer) + +
Called when leaderboard metadata has been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onLeaderboardMetadataLoaded + (int statusCode, LeaderboardBuffer buffer) +

+
+
+ + + +
+
+ +

Called when leaderboard metadata has been loaded. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
buffer + The leaderboard metadata that was requested. This is guaranteed to be non-null, + though it may be empty. The listener must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html b/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html new file mode 100644 index 000000000000..2a7b28b1d7db --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html @@ -0,0 +1,895 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnLeaderboardScoresLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnLeaderboardScoresLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.leaderboard.OnLeaderboardScoresLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when leaderboard scores have been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onLeaderboardScoresLoaded(int statusCode, LeaderboardBuffer leaderboard, LeaderboardScoreBuffer scores) + +
Called when leaderboard scores have been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onLeaderboardScoresLoaded + (int statusCode, LeaderboardBuffer leaderboard, LeaderboardScoreBuffer scores) +

+
+
+ + + +
+
+ +

Called when leaderboard scores have been loaded. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + + + + +
statusCode + A status code indicating the result of the operation.
leaderboard + The leaderboard that the requested scores belong to. This is guaranteed to + be non-null, and to contain at most one element. The listener must close this + object when finished.
scores + The leaderboard scores that were requested. This is guaranteed to be non-null, + though it may be empty. The listener must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html b/docs/html/reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html new file mode 100644 index 000000000000..5dd1acf7d0e0 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html @@ -0,0 +1,893 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnScoreSubmittedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnScoreSubmittedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.leaderboard.OnScoreSubmittedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for getting status back after submitting a score to a leaderboard. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onScoreSubmitted(int statusCode, SubmitScoreResult result) + +
Called when a leaderboard score has been submitted.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onScoreSubmitted + (int statusCode, SubmitScoreResult result) +

+
+
+ + + +
+
+ +

Called when a leaderboard score has been submitted. The statusCode indicates whether or not + the score was successfully submitted to the servers. +

+ Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
result + Detailed results of the operation, which includes data regarding whether this + was the new high score for any of the supported time spans. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html b/docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html new file mode 100644 index 000000000000..7bab3e9c6467 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html @@ -0,0 +1,1316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SubmitScoreResult.Result | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

SubmitScoreResult.Result

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.leaderboard.SubmitScoreResult.Result
+ + + + + + + +
+ + +

Class Overview

+

Simple data class containing the result data for a particular time span. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields
+ public + + final + StringformattedScoreString containing the score data in a display-appropriate format.
+ public + + final + booleannewBestBoolean indicating whether or not this score was the player's new best score for this + time span.
+ public + + final + longrawScoreThe raw score value of this score result.
+ + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + SubmitScoreResult.Result(long rawScore, String formattedScore, boolean newBest) + +
+ + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + String + + toString() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + + final + String + + formattedScore +

+
+ + + + +
+
+ +

String containing the score data in a display-appropriate format. +

+ + +
+
+ + + + + +
+

+ + public + + final + boolean + + newBest +

+
+ + + + +
+
+ +

Boolean indicating whether or not this score was the player's new best score for this + time span. +

+ + +
+
+ + + + + +
+

+ + public + + final + long + + rawScore +

+
+ + + + +
+
+ +

The raw score value of this score result. +

+ + +
+
+ + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + SubmitScoreResult.Result + (long rawScore, String formattedScore, boolean newBest) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html b/docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html new file mode 100644 index 000000000000..607ad6f17ce4 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html @@ -0,0 +1,1496 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SubmitScoreResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

SubmitScoreResult

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.leaderboard.SubmitScoreResult
+ + + + + + + +
+ + +

Class Overview

+

Data object representing the result of submitting a score to a leaderboard. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classSubmitScoreResult.ResultSimple data class containing the result data for a particular time span. 
+ + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + SubmitScoreResult(int statusCode, String leaderboardId, String playerId, HashMap<Integer, SubmitScoreResult.Result> results) + +
Construct a new result describing a SubmitScore operation.
+ +
+ + + + + + + + SubmitScoreResult(int statusCode, String leaderboardId, String playerId) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + String + + getLeaderboardId() + +
Retrieves the ID of the leaderboard the score was submitted to.
+ +
+ + + + + + String + + getPlayerId() + +
Retrieves the ID of the player the score was submitted for.
+ +
+ + + + + + SubmitScoreResult.Result + + getScoreResult(int timeSpan) + +
Retrieves the SubmitScoreResult.Result object for the given time span, if any.
+ +
+ + + + + + int + + getStatusCode() + +
Retrieve the status code of the submit score operation.
+ +
+ + + + + + String + + toString() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + SubmitScoreResult + (int statusCode, String leaderboardId, String playerId, HashMap<Integer, SubmitScoreResult.Result> results) +

+
+
+ + + +
+
+ +

Construct a new result describing a SubmitScore operation.

+
+
Parameters
+ + + + + + + + + + + + + +
statusCode + The status code (from GamesClient) to report to the client.
leaderboardId + The leaderboard ID the score was submitted to.
playerId + The player whose score was submitted.
results + A map from timespan to result for that timespan. +
+
+ +
+
+ + + + +
+

+ + public + + + + + + + SubmitScoreResult + (int statusCode, String leaderboardId, String playerId) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + String + + getLeaderboardId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of the leaderboard the score was submitted to.

+
+
Returns
+
  • the ID of the leaderboard. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getPlayerId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of the player the score was submitted for.

+
+
Returns
+
  • the ID of submitting player. +
+
+ +
+
+ + + + +
+

+ + public + + + + + SubmitScoreResult.Result + + getScoreResult + (int timeSpan) +

+
+
+ + + +
+
+ +

Retrieves the SubmitScoreResult.Result object for the given time span, if any.

+
+
Parameters
+ + + + +
timeSpan + Time span to retrieve result for. Valid values are + TIME_SPAN_DAILY, + TIME_SPAN_WEEKLY, or + TIME_SPAN_ALL_TIME.
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + int + + getStatusCode + () +

+
+
+ + + +
+
+ +

Retrieve the status code of the submit score operation. This will be one of the following + values: +

+
+
Returns
+
  • the status code of the submit score operation. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/leaderboard/package-summary.html b/docs/html/reference/com/google/android/gms/games/leaderboard/package-summary.html new file mode 100644 index 000000000000..e02a17b5c990 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/package-summary.html @@ -0,0 +1,734 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.games.leaderboard | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.games.leaderboard

+
+ +
+ +
+ + +
+ Contains data classes for leaderboards. + +
+ + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
LeaderboardData interface for leaderboard metadata. 
LeaderboardScoreData interface representing a single score on a leaderboard. 
LeaderboardVariantData interface for a specific variant of a leaderboard; a variant is defined by the combination + of the leaderboard's collection (public or social) and time span (daily, weekly, or all-time). 
OnLeaderboardMetadataLoadedListenerListener for receiving callbacks when leaderboard metadata has been loaded. 
OnLeaderboardScoresLoadedListenerListener for receiving callbacks when leaderboard scores have been loaded. 
OnScoreSubmittedListenerListener for getting status back after submitting a score to a leaderboard. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + + + + + +
LeaderboardBufferDataBuffer containing Leaderboard data. 
LeaderboardScoreBufferDataBuffer containing LeaderboardScore data. 
SubmitScoreResultData object representing the result of submitting a score to a leaderboard. 
SubmitScoreResult.ResultSimple data class containing the result data for a particular time span. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/Invitation.html b/docs/html/reference/com/google/android/gms/games/multiplayer/Invitation.html new file mode 100644 index 000000000000..6d759e7a5c15 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/Invitation.html @@ -0,0 +1,1313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Invitation | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Invitation

+ + + + + + implements + + Parcelable + + Freezable<T> + + Participatable + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.Invitation
+ + + + + + +
+ + Known Indirect Subclasses + +
+ + +
+
+ + +
+ + +

Class Overview

+

Data interface for an invitation object. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + long + + getCreationTimestamp() + +
Retrieve the server timestamp at which this Invitation was created.
+ +
+ abstract + + + + + Game + + getGame() + +
Retrieve the Game object that this Invitation is associated with.
+ +
+ abstract + + + + + String + + getInvitationId() + +
Retrieve the ID of this Invitation.
+ +
+ abstract + + + + + Participant + + getInviter() + +
Retrieve the Participant who created this Invitation.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.Participatable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + long + + getCreationTimestamp + () +

+
+
+ + + +
+
+ +

Retrieve the server timestamp at which this Invitation was created.

+
+
Returns
+
  • the server timestamp at which this Invitation was created. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Game + + getGame + () +

+
+
+ + + +
+
+ +

Retrieve the Game object that this Invitation is associated with.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getInvitationId + () +

+
+
+ + + +
+
+ +

Retrieve the ID of this Invitation.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + abstract + + Participant + + getInviter + () +

+
+
+ + + +
+
+ +

Retrieve the Participant who created this Invitation.

+
+
Returns
+ +
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html b/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html new file mode 100644 index 000000000000..822714d1a593 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html @@ -0,0 +1,1505 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +InvitationBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

InvitationBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.multiplayer.InvitationBuffer
+ + + + + + + +
+ + +

Class Overview

+

DataBuffer implementation containing Invitation data. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + final + + + T + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + int + + getCount() + +
+ + + + + + + + + + + + + + + + + + + + + + +
Protected Methods
+ + + + + + Invitation + + getEntry(int rowIndex, int numChildren) + +
Subclasses must implement this method to get an entry for the provided rowIndex.
+ +
+ + + + + + String + + getPrimaryDataMarkerColumn() + +
Subclasses must implement this method to indicate a column in the data holder that can be + used to determine where the boundaries between the primary data entities occur.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + final + + + T + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getCount + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + +

Protected Methods

+ + + + + +
+

+ + protected + + + + + Invitation + + getEntry + (int rowIndex, int numChildren) +

+
+
+ + + +
+
+ +

Subclasses must implement this method to get an entry for the provided rowIndex.

+
+
Parameters
+ + + + + + + +
rowIndex + Row index of underlying DataHolder to construct an entry for.
numChildren + The number of children underneath the given entry.
+
+
+
Returns
+
  • Appropriate entry for this row. +
+
+ +
+
+ + + + +
+

+ + protected + + + + + String + + getPrimaryDataMarkerColumn + () +

+
+
+ + + +
+
+ +

Subclasses must implement this method to indicate a column in the data holder that can be + used to determine where the boundaries between the primary data entities occur. +

+ Note that the column must contain a String value.

+
+
Returns
+
  • The name of a column in the data holder that is guaranteed to change when the primary + data type transitions to another instance (typically an ID of the primary data type). +
+
+ +
+
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationEntity.html b/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationEntity.html new file mode 100644 index 000000000000..6da4e396fdee --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationEntity.html @@ -0,0 +1,2059 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +InvitationEntity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

InvitationEntity

+ + + + + extends Object
+ + + + + + + implements + + Invitation + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.InvitationEntity
+ + + + + + + +
+ + +

Class Overview

+

Data object representing the data for a multiplayer invitation. This is immutable, and therefore + safe to cache or store. Note, however, that the data it represents may grow stale. +

+ This class exists solely to support parceling these objects and should not be used directly. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<InvitationEntity>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + boolean + + equals(Object obj) + +
+ + + + + + Invitation + + freeze() + +
Freeze a volatile representation into an immutable representation.
+ +
+ + + + + + long + + getCreationTimestamp() + +
Retrieve the server timestamp at which this Invitation was created.
+ +
+ + + + + + Game + + getGame() + +
Retrieve the Game object that this Invitation is associated with.
+ +
+ + + + + + String + + getInvitationId() + +
Retrieve the ID of this Invitation.
+ +
+ + + + + + int + + getInvitationType() + +
+ + + + + + Participant + + getInviter() + +
Retrieve the Participant who created this Invitation.
+ +
+ + + + + + ArrayList<Participant> + + getParticipants() + +
Retrieve the Participants for this object.
+ +
+ + + + + + int + + hashCode() + +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel dest, int flags) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.Invitation + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.Participatable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Creator<InvitationEntity> + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + equals + (Object obj) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Invitation + + freeze + () +

+
+
+ + + +
+
+ +

Freeze a volatile representation into an immutable representation. Objects returned from this + call are safe to cache. +

+ Note that the output of freeze may not be identical to the parent object, but should + be equal. In other words: + +

+ 
+ Freezable f1 = new Freezable();
+ Freezable f2 = f1.freeze();
+ f1 == f2 may not be true.
+ f1.equals(f2) will be true.
+ 
+ 

+
+
Returns
+
  • A concrete implementation of the data object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + long + + getCreationTimestamp + () +

+
+
+ + + +
+
+ +

Retrieve the server timestamp at which this Invitation was created.

+
+
Returns
+
  • the server timestamp at which this Invitation was created. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Game + + getGame + () +

+
+
+ + + +
+
+ +

Retrieve the Game object that this Invitation is associated with.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + String + + getInvitationId + () +

+
+
+ + + +
+
+ +

Retrieve the ID of this Invitation.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + int + + getInvitationType + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Participant + + getInviter + () +

+
+
+ + + +
+
+ +

Retrieve the Participant who created this Invitation.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + ArrayList<Participant> + + getParticipants + () +

+
+
+ + + +
+
+ +

Retrieve the Participants for this object. This is a list of all Participants + applicable to the given object.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + int + + hashCode + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel dest, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html b/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html new file mode 100644 index 000000000000..997c11eb0cd6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html @@ -0,0 +1,873 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnInvitationReceivedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnInvitationReceivedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.OnInvitationReceivedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener to invoke when a new invitation is received. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onInvitationReceived(Invitation invitation) + +
Callback invoked when a new invitation is received.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onInvitationReceived + (Invitation invitation) +

+
+
+ + + +
+
+ +

Callback invoked when a new invitation is received. This allows an app to respond to the + invitation as appropriate. If the app receives this callback, the system will not display a + notification for this invitation.

+
+
Parameters
+ + + + +
invitation + The invitation that was received. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html b/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html new file mode 100644 index 000000000000..a94261558d2e --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html @@ -0,0 +1,885 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnInvitationsLoadedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnInvitationsLoadedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.OnInvitationsLoadedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for receiving callbacks when invitations have been loaded. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onInvitationsLoaded(int statusCode, InvitationBuffer buffer) + +
Called when invitations have been loaded.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onInvitationsLoaded + (int statusCode, InvitationBuffer buffer) +

+
+
+ + + +
+
+ +

Called when invitations have been loaded. Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
buffer + The invitations that were requested. This is guaranteed to be non-null, though + it may be empty. The listener must close this object when finished. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/Participant.html b/docs/html/reference/com/google/android/gms/games/multiplayer/Participant.html new file mode 100644 index 000000000000..982bd0512798 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/Participant.html @@ -0,0 +1,1687 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Participant | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Participant

+ + + + + + implements + + Parcelable + + Freezable<T> + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.Participant
+ + + + + + +
+ + Known Indirect Subclasses + +
+ + +
+
+ + +
+ + +

Class Overview

+

Data interface for multiplayer participants. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intSTATUS_DECLINEDConstant indicating that this participant has declined the invitation.
intSTATUS_INVITEDConstant indicating that this participant has been sent an invitation.
intSTATUS_JOINEDConstant indicating that this participant has accepted the invitation and is joined.
intSTATUS_LEFTConstant indicating that this participant joined a multiplayer game and subsequently left.
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + String + + getDisplayName() + +
Return the name to display for this participant.
+ +
+ abstract + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads the display name for this participant into the provided CharArrayBuffer.
+ +
+ abstract + + + + + Uri + + getHiResImageUri() + +
Returns the URI of the hi-res image to display for this participant.
+ +
+ abstract + + + + + Uri + + getIconImageUri() + +
Returns the URI of the icon-sized image to display for this participant.
+ +
+ abstract + + + + + String + + getParticipantId() + +
Returns the ID of this participant.
+ +
+ abstract + + + + + Player + + getPlayer() + +
Returns the Player that this participant represents.
+ +
+ abstract + + + + + int + + getStatus() + +
Retrieve the status of this participant.
+ +
+ abstract + + + + + boolean + + isConnectedToRoom() + +
Retrieves the connected status of the participant.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + STATUS_DECLINED +

+
+ + + + +
+
+ +

Constant indicating that this participant has declined the invitation. +

+ + +
+ Constant Value: + + + 3 + (0x00000003) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_INVITED +

+
+ + + + +
+
+ +

Constant indicating that this participant has been sent an invitation. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_JOINED +

+
+ + + + +
+
+ +

Constant indicating that this participant has accepted the invitation and is joined. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STATUS_LEFT +

+
+ + + + +
+
+ +

Constant indicating that this participant joined a multiplayer game and subsequently left. +

+ + +
+ Constant Value: + + + 4 + (0x00000004) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Return the name to display for this participant. If the identity of the player is unknown, + this will be a generic handle to describe the player.

+
+
Returns
+
  • Display name of the participant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the display name for this participant into the provided CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getHiResImageUri + () +

+
+
+ + + +
+
+ +

Returns the URI of the hi-res image to display for this participant. If the identity of the + player is unknown, this will be null. It may also be null if the player simply has no image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The URI of the hi-res image to display for this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Returns the URI of the icon-sized image to display for this participant. If the identity of + the player is unknown, this will be the automatch avatar icon image for the player. It may + also be null if the player simply has no image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The URI of the icon image to display for this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getParticipantId + () +

+
+
+ + + +
+
+ +

Returns the ID of this participant. Note that this is only valid for use in the current + multiplayer room: a participant will not have the same ID across multiple rooms.

+
+
Returns
+
  • The ID of this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + Player + + getPlayer + () +

+
+
+ + + +
+
+ +

Returns the Player that this participant represents. Note that this may be null if + the identity of the player is unknown. This occurs in automatching scenarios where some + players are not permitted to see the real identity of others.

+
+
Returns
+
  • The Player corresponding to this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getStatus + () +

+
+
+ + + +
+
+ +

Retrieve the status of this participant. Possible values are STATUS_INVITED, + STATUS_JOINED, STATUS_DECLINED, or STATUS_LEFT.

+
+
Returns
+
  • Status of this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + boolean + + isConnectedToRoom + () +

+
+
+ + + +
+
+ +

Retrieves the connected status of the participant. If true indicates that participant is in + the connected set of the room.

+
+
Returns
+
  • Connected status of the participant. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html new file mode 100644 index 000000000000..f5a6abad81ad --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html @@ -0,0 +1,1321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ParticipantBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

ParticipantBuffer

+ + + + + + + + + extends DataBuffer<T>
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.common.data.DataBuffer<T>
    ↳com.google.android.gms.games.multiplayer.ParticipantBuffer
+ + + + + + + +
+ + +

Class Overview

+

DataBuffer implementation containing match participant data. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + Participant + + get(int position) + +
Get the item at the specified position.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.android.gms.common.data.DataBuffer + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + java.lang.Iterable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + Participant + + get + (int position) +

+
+
+ + + +
+
+ +

Get the item at the specified position. Note that the objects returned from subsequent + invocations of this method for the same position may not be identical objects, but will be + equal in value. In other words: + +

+ 
+ buffer.get(i) == buffer.get(i) may return false.
+ buffer.get(i).equals(buffer.get(i)) will return true.
+ 
+ 

+
+
Returns
+
  • the item at position in this buffer. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html new file mode 100644 index 000000000000..93afdfa1f368 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html @@ -0,0 +1,2305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ParticipantEntity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

ParticipantEntity

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + Participant + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.ParticipantEntity
+ + + + + + + +
+ + +

Class Overview

+

Data object representing a Participant in a match. This is immutable, and therefore safe to cache + or store. Note, however, that the data it represents may grow stale. +

+ This class exists solely to support parceling these objects and should not be used directly. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + From interface +com.google.android.gms.games.multiplayer.Participant +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<ParticipantEntity>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + boolean + + equals(Object obj) + +
+ + + + + + Participant + + freeze() + +
Freeze a volatile representation into an immutable representation.
+ +
+ + + + + + String + + getClientAddress() + +
+ + + + + + String + + getDisplayName() + +
Return the name to display for this participant.
+ +
+ + + + + + void + + getDisplayName(CharArrayBuffer dataOut) + +
Loads the display name for this participant into the provided CharArrayBuffer.
+ +
+ + + + + + Uri + + getHiResImageUri() + +
Returns the URI of the hi-res image to display for this participant.
+ +
+ + + + + + Uri + + getIconImageUri() + +
Returns the URI of the icon-sized image to display for this participant.
+ +
+ + + + + + String + + getParticipantId() + +
Returns the ID of this participant.
+ +
+ + + + + + Player + + getPlayer() + +
Returns the Player that this participant represents.
+ +
+ + + + + + int + + getStatus() + +
Retrieve the status of this participant.
+ +
+ + + + + + int + + hashCode() + +
+ + + + + + boolean + + isConnectedToRoom() + +
Retrieves the connected status of the participant.
+ +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel dest, int flags) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.Participant + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Creator<ParticipantEntity> + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + equals + (Object obj) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Participant + + freeze + () +

+
+
+ + + +
+
+ +

Freeze a volatile representation into an immutable representation. Objects returned from this + call are safe to cache. +

+ Note that the output of freeze may not be identical to the parent object, but should + be equal. In other words: + +

+ 
+ Freezable f1 = new Freezable();
+ Freezable f2 = f1.freeze();
+ f1 == f2 may not be true.
+ f1.equals(f2) will be true.
+ 
+ 

+
+
Returns
+
  • A concrete implementation of the data object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getClientAddress + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getDisplayName + () +

+
+
+ + + +
+
+ +

Return the name to display for this participant. If the identity of the player is unknown, + this will be a generic handle to describe the player.

+
+
Returns
+
  • Display name of the participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + getDisplayName + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the display name for this participant into the provided CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getHiResImageUri + () +

+
+
+ + + +
+
+ +

Returns the URI of the hi-res image to display for this participant. If the identity of the + player is unknown, this will be null. It may also be null if the player simply has no image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The URI of the hi-res image to display for this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Uri + + getIconImageUri + () +

+
+
+ + + +
+
+ +

Returns the URI of the icon-sized image to display for this participant. If the identity of + the player is unknown, this will be the automatch avatar icon image for the player. It may + also be null if the player simply has no image. +

+ To retrieve the Image from the Uri, use ImageManager.

+
+
Returns
+
  • The URI of the icon image to display for this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getParticipantId + () +

+
+
+ + + +
+
+ +

Returns the ID of this participant. Note that this is only valid for use in the current + multiplayer room: a participant will not have the same ID across multiple rooms.

+
+
Returns
+
  • The ID of this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Player + + getPlayer + () +

+
+
+ + + +
+
+ +

Returns the Player that this participant represents. Note that this may be null if + the identity of the player is unknown. This occurs in automatching scenarios where some + players are not permitted to see the real identity of others.

+
+
Returns
+
  • The Player corresponding to this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getStatus + () +

+
+
+ + + +
+
+ +

Retrieve the status of this participant. Possible values are STATUS_INVITED, + STATUS_JOINED, STATUS_DECLINED, or STATUS_LEFT.

+
+
Returns
+
  • Status of this participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + hashCode + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectedToRoom + () +

+
+
+ + + +
+
+ +

Retrieves the connected status of the participant. If true indicates that participant is in + the connected set of the room.

+
+
Returns
+
  • Connected status of the participant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel dest, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html new file mode 100644 index 000000000000..a24d4aa16eee --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html @@ -0,0 +1,1132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ParticipantUtils | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

ParticipantUtils

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.ParticipantUtils
+ + + + + + + +
+ + +

Class Overview

+

Utilities for working with multiplayer participants. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + static + + String + + getParticipantId(ArrayList<Participant> participants, String playerId) + +
Get the participant ID corresponding to a given player ID.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + static + + + + String + + getParticipantId + (ArrayList<Participant> participants, String playerId) +

+
+
+ + + +
+
+ +

Get the participant ID corresponding to a given player ID. If none of the provided + participants represent the provided player, the return value will be null.

+
+
Parameters
+ + + + + + + +
participants + List of Participants to check.
playerId + The player ID to find participant ID for.
+
+
+
Returns
+
  • The participant ID of the given player, or null if not found. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/Participatable.html b/docs/html/reference/com/google/android/gms/games/multiplayer/Participatable.html new file mode 100644 index 000000000000..1aef5e94f120 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/Participatable.html @@ -0,0 +1,935 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Participatable | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Participatable

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.Participatable
+ + + + + + +
+ + Known Indirect Subclasses + +
+ + +
+
+ + +
+ + +

Class Overview

+

Interface defining methods for an object which can have participants. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + ArrayList<Participant> + + getParticipants() + +
Retrieve the Participants for this object.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + ArrayList<Participant> + + getParticipants + () +

+
+
+ + + +
+
+ +

Retrieve the Participants for this object. This is a list of all Participants + applicable to the given object.

+
+
Returns
+ +
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/package-summary.html b/docs/html/reference/com/google/android/gms/games/multiplayer/package-summary.html new file mode 100644 index 000000000000..9f719b1c9fb4 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/package-summary.html @@ -0,0 +1,733 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.games.multiplayer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.games.multiplayer

+
+ +
+ +
+ + +
+ Contains data classes for multiplayer functionality. + +
+ + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + +
InvitationData interface for an invitation object. 
OnInvitationReceivedListenerListener to invoke when a new invitation is received. 
OnInvitationsLoadedListenerListener for receiving callbacks when invitations have been loaded. 
ParticipantData interface for multiplayer participants. 
ParticipatableInterface defining methods for an object which can have participants. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + + + + + + + + + +
InvitationBufferDataBuffer implementation containing Invitation data. 
InvitationEntityData object representing the data for a multiplayer invitation. 
ParticipantBufferDataBuffer implementation containing match participant data. 
ParticipantEntityData object representing a Participant in a match. 
ParticipantUtilsUtilities for working with multiplayer participants. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html new file mode 100644 index 000000000000..bb1c03da3556 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html @@ -0,0 +1,1596 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RealTimeMessage | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

RealTimeMessage

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.realtime.RealTimeMessage
+ + + + + + + +
+ + +

Class Overview

+

Message received from participants in a real-time room, which is passed to the client. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intRELIABLE
intUNRELIABLE
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<RealTimeMessage>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + byte[] + + getMessageData() + +
+ + + + + + String + + getSenderParticipantId() + +
+ + + + + + boolean + + isReliable() + +
+ + + + + + void + + writeToParcel(Parcel parcel, int flag) + +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + RELIABLE +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + UNRELIABLE +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Creator<RealTimeMessage> + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + byte[] + + getMessageData + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • The message data. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getSenderParticipantId + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • The participant ID of the message sender. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isReliable + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • Whether this message was sent over a reliable channel. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel parcel, int flag) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html new file mode 100644 index 000000000000..fc8df599fc06 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html @@ -0,0 +1,874 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RealTimeMessageReceivedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

RealTimeMessageReceivedListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.realtime.RealTimeMessageReceivedListener
+ + + + + + + +
+ + +

Class Overview

+

Listener for message received callback, which is called when the client receives a message + from a peer. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onRealTimeMessageReceived(RealTimeMessage message) + +
Called to notify the client that a reliable or unreliable message was received for a + room.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onRealTimeMessageReceived + (RealTimeMessage message) +

+
+
+ + + +
+
+ +

Called to notify the client that a reliable or unreliable message was received for a + room.

+
+
Parameters
+ + + + +
message + The message that was received. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html new file mode 100644 index 000000000000..f07323262a2a --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html @@ -0,0 +1,888 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RealTimeReliableMessageSentListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

RealTimeReliableMessageSentListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.realtime.RealTimeReliableMessageSentListener
+ + + + + + + +
+ + +

Class Overview

+

The listener for callback that is called when a reliable message is sent successfully. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onRealTimeMessageSent(int statusCode, int tokenId, String recipientParticipantId) + +
Called to notify the client that a reliable message was sent for a room.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onRealTimeMessageSent + (int statusCode, int tokenId, String recipientParticipantId) +

+
+
+ + + +
+
+ +

Called to notify the client that a reliable message was sent for a room. + + Possible status codes include: +

+
+
Parameters
+ + + + + + + + + + +
statusCode + A status code indicating the result of the operation.
tokenId + The ID of the message which was sent.
recipientParticipantId + The participant ID of the peer to whom the message was sent. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + 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 new file mode 100644 index 000000000000..4186df0b85f7 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html @@ -0,0 +1,1964 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Room | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Room

+ + + + + + implements + + Parcelable + + Freezable<T> + + Participatable + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.realtime.Room
+ + + + + + +
+ + Known Indirect Subclasses + +
+ + +
+
+ + +
+ + +

Class Overview

+

Data interface for room functionality. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intROOM_STATUS_ACTIVEConstant returned by getStatus() indicating that the room is active and connections + are established.
intROOM_STATUS_AUTO_MATCHINGConstant returned by getStatus() indicating that one or more slots are waiting to be + filled by auto-matching.
intROOM_STATUS_CONNECTINGConstant returned by getStatus() indicating that this room is waiting for clients to + connect to each other.
intROOM_STATUS_INVITINGConstant returned by getStatus() indicating that the room has one or more players + that have been invited and have not responded yet.
intROOM_VARIANT_ANYConstant used to indicate that the variant for a room is unspecified.
+ + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + Bundle + + getAutoMatchCriteria() + +
Retrieves the automatch criteria used to create or join this room, if any.
+ +
+ abstract + + + + + long + + getCreationTimestamp() + +
+ abstract + + + + + String + + getCreatorId() + +
+ abstract + + + + + String + + getDescription() + +
+ abstract + + + + + void + + getDescription(CharArrayBuffer dataOut) + +
Loads the room description into the given CharArrayBuffer.
+ +
+ abstract + + + + + String + + getParticipantId(String playerId) + +
Get the participant ID for a given player.
+ +
+ abstract + + + + + ArrayList<String> + + getParticipantIds() + +
+ abstract + + + + + int + + getParticipantStatus(String participantId) + +
Get the status of a participant in a room.
+ +
+ abstract + + + + + String + + getRoomId() + +
+ abstract + + + + + int + + getStatus() + +
+ abstract + + + + + int + + getVariant() + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.Participatable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + ROOM_STATUS_ACTIVE +

+
+ + + + +
+
+ +

Constant returned by getStatus() indicating that the room is active and connections + are established. +

+ + +
+ Constant Value: + + + 3 + (0x00000003) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + ROOM_STATUS_AUTO_MATCHING +

+
+ + + + +
+
+ +

Constant returned by getStatus() indicating that one or more slots are waiting to be + filled by auto-matching. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + ROOM_STATUS_CONNECTING +

+
+ + + + +
+
+ +

Constant returned by getStatus() indicating that this room is waiting for clients to + connect to each other. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + ROOM_STATUS_INVITING +

+
+ + + + +
+
+ +

Constant returned by getStatus() indicating that the room has one or more players + that have been invited and have not responded yet. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + ROOM_VARIANT_ANY +

+
+ + + + +
+
+ +

Constant used to indicate that the variant for a room is unspecified. +

+ + +
+ Constant Value: + + + -1 + (0xffffffff) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + Bundle + + getAutoMatchCriteria + () +

+
+
+ + + +
+
+ +

Retrieves the automatch criteria used to create or join this room, if any. May be null if the + room has no automatch properties.

+
+
Returns
+
  • bundle containing the automatch criteria for this room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + long + + getCreationTimestamp + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • The server timestamp at which the room was created. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getCreatorId + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • The ID of the participant who created this Room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getDescription + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • Description of this room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + getDescription + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the room description into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getParticipantId + (String playerId) +

+
+
+ + + +
+
+ +

Get the participant ID for a given player. This will only return a non-null ID if the player + is actually a participant in the room and that player's identity is visible to the current + player. Note that this will always return non-null for the current player.

+
+
Parameters
+ + + + +
playerId + Player ID to find participant ID for.
+
+
+
Returns
+
  • The participant ID corresponding to given player, or null if none found. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + ArrayList<String> + + getParticipantIds + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • The IDs of the participants in this room. These are returned in the participant + order of the room. Note that these are not stable across rooms. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getParticipantStatus + (String participantId) +

+
+
+ + + +
+
+ +

Get the status of a participant in a room. Note that the participant ID must correspond to a + participant in this room, or this method will throw an exception.

+
+
Parameters
+ + + + +
participantId + Room-local ID of the participant to retrieve status for.
+
+
+
Returns
+ +
+
+
Throws
+ + + + +
+ IllegalStateException} if the participant is not a participant in this room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + String + + getRoomId + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • The ID of this Room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getStatus + () +

+
+
+ + + +
+
+ +

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + abstract + + int + + getVariant + () +

+
+
+ + + +
+
+ +

+
+
Returns
+
  • Variant specified for this room, if any. A variant is an optional + developer-controlled parameter describing the type of game to play, ranging from + 1-1023 (inclusive). If this room had no variant specified, returns + ROOM_VARIANT_ANY. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html new file mode 100644 index 000000000000..0374b5508aa3 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html @@ -0,0 +1,1614 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RoomConfig.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

RoomConfig.Builder

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.realtime.RoomConfig.Builder
+ + + + + + + +
+ + +

Class Overview

+

Builder class for RoomConfig. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + RoomConfig.Builder + + addPlayersToInvite(String... playerIds) + +
Add one or more player IDs to invite to the room.
+ +
+ + + + + + RoomConfig.Builder + + addPlayersToInvite(ArrayList<String> playerIds) + +
Add a list of player IDs to invite to the room.
+ +
+ + + + + + RoomConfig + + build() + +
Builds a new RoomConfig object.
+ +
+ + + + + + RoomConfig.Builder + + setAutoMatchCriteria(Bundle autoMatchCriteria) + +
Sets the auto-match criteria for the room.
+ +
+ + + + + + RoomConfig.Builder + + setInvitationIdToAccept(String invitationId) + +
Set the ID of the invitation to accept.
+ +
+ + + + + + RoomConfig.Builder + + setMessageReceivedListener(RealTimeMessageReceivedListener listener) + +
Set the listener for message received from a connected peer in a room.
+ +
+ + + + + + RoomConfig.Builder + + setRoomStatusUpdateListener(RoomStatusUpdateListener listener) + +
Set the listener for room status changes.
+ +
+ + + + + + RoomConfig.Builder + + setSocketCommunicationEnabled(boolean enableSockets) + +
Sets whether to enable sockets for sending and receiving data.
+ +
+ + + + + + RoomConfig.Builder + + setVariant(int variant) + +
Sets the variant for the room when calling createRoom(RoomConfig).
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + RoomConfig.Builder + + addPlayersToInvite + (String... playerIds) +

+
+
+ + + +
+
+ +

Add one or more player IDs to invite to the room. This should be set only when calling + createRoom(RoomConfig)

+
+
Parameters
+ + + + +
playerIds + One or more player IDs to invite to the room.
+
+
+
Returns
+
  • The builder instance. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + addPlayersToInvite + (ArrayList<String> playerIds) +

+
+
+ + + +
+
+ +

Add a list of player IDs to invite to the room. This should be set only when calling + createRoom(RoomConfig)

+
+
Parameters
+ + + + +
playerIds + One or more player IDs to invite to the room.
+
+
+
Returns
+
  • The builder instance. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig + + build + () +

+
+
+ + + +
+
+ +

Builds a new RoomConfig object.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + setAutoMatchCriteria + (Bundle autoMatchCriteria) +

+
+
+ + + +
+
+ +

Sets the auto-match criteria for the room. See createAutoMatchCriteria(int, int, long).

+
+
Parameters
+ + + + +
autoMatchCriteria + The criteria for auto-matching one or more players for the + match. If null, the match is created with the invited players only.
+
+
+
Returns
+
  • The builder instance. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + setInvitationIdToAccept + (String invitationId) +

+
+
+ + + +
+
+ +

Set the ID of the invitation to accept. This is required and should be set only when + calling joinRoom(RoomConfig).

+
+
Parameters
+ + + + +
invitationId + the ID of the invitation to accept. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + setMessageReceivedListener + (RealTimeMessageReceivedListener listener) +

+
+
+ + + +
+
+ +

Set the listener for message received from a connected peer in a room. +

+ If not using socket-based communication, a non-null listener must be provided here before + constructing the RoomConfig object.

+
+
Parameters
+ + + + +
listener + the message received listener that is called to notify the client when it + receives a message in a room. The listener is called on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + setRoomStatusUpdateListener + (RoomStatusUpdateListener listener) +

+
+
+ + + +
+
+ +

Set the listener for room status changes.

+
+
Parameters
+ + + + +
listener + the listener that is called to notify the client when the status of the + room has changed. The listener is called on the main thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + setSocketCommunicationEnabled + (boolean enableSockets) +

+
+
+ + + +
+
+ +

Sets whether to enable sockets for sending and receiving data. The socket for each + participant can be obtained using getRealTimeSocketForParticipant(String, String). If + false the sendUnreliableRealTimeMessage(byte[], String, String) API should be used to send + messages. +

+ Note that for reliable messages, the sendReliableRealTimeMessage(RealTimeReliableMessageSentListener, byte[], String, String) API + should still be used. Reliable messages will be delivered via the + RealTimeMessageReceivedListener registered with + setMessageReceivedListener(RealTimeMessageReceivedListener).

+
+
Parameters
+ + + + +
enableSockets + Whether to enable the use of sockets for sending/receiving data.
+
+
+
Returns
+
  • The builder instance. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RoomConfig.Builder + + setVariant + (int variant) +

+
+
+ + + +
+
+ +

Sets the variant for the room when calling createRoom(RoomConfig). This is an + optional, developer-controlled parameter describing the type of game to play, and is + used for auto-matching criteria. Must be either a value from 1 to 1023 (inclusive), or + ROOM_VARIANT_ANY (the default) if not desired.

+
+
Parameters
+ + + + +
variant + The variant for the match.
+
+
+
Returns
+
  • The builder instance. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html new file mode 100644 index 000000000000..a03919cae52d --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html @@ -0,0 +1,1643 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RoomConfig | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

RoomConfig

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.realtime.RoomConfig
+ + + + + + + +
+ + +

Class Overview

+

Configuration for a new room. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classRoomConfig.BuilderBuilder class for RoomConfig
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + static + + RoomConfig.Builder + + builder(RoomUpdateListener listener) + +
Creates a builder for assembling a RoomConfig.
+ +
+ + + + static + + Bundle + + createAutoMatchCriteria(int minAutoMatchPlayers, int maxAutoMatchPlayers, long exclusiveBitMask) + +
Creates an auto-match criteria Bundle for a new invitation.
+ +
+ + + + + + Bundle + + getAutoMatchCriteria() + +
Retrieves the criteria for auto-matching one or more players for the room.
+ +
+ + + + + + String + + getInvitationId() + +
Retrieves the ID of the invitation to accept, if any.
+ +
+ + + + + + String[] + + getInvitedPlayerIds() + +
Retrieves the player IDs to invite to the room.
+ +
+ + + + + + RealTimeMessageReceivedListener + + getMessageReceivedListener() + +
Retrieves the listener for message received from a peer.
+ +
+ + + + + + RoomStatusUpdateListener + + getRoomStatusUpdateListener() + +
Retrieves the listener for the room status changes.
+ +
+ + + + + + RoomUpdateListener + + getRoomUpdateListener() + +
Retrieves the listener that is called when operations complete.
+ +
+ + + + + + int + + getVariant() + +
Retrieves the (optional) developer-controlled parameter describing the type of game to play.
+ +
+ + + + + + boolean + + isSocketEnabled() + +
Indicates whether to enable the use of sockets for sending/receiving data.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + static + + + + RoomConfig.Builder + + builder + (RoomUpdateListener listener) +

+
+
+ + + +
+
+ +

Creates a builder for assembling a RoomConfig. The provided listener is required, and + must not be null. It will be invoked on the main thread when appropriate.

+
+
Parameters
+ + + + +
listener + The listener to be invoked when the primary state of the room changes.
+
+
+
Returns
+
  • An instance of a builder. +
+
+ +
+
+ + + + +
+

+ + public + static + + + + Bundle + + createAutoMatchCriteria + (int minAutoMatchPlayers, int maxAutoMatchPlayers, long exclusiveBitMask) +

+
+
+ + + +
+
+ +

Creates an auto-match criteria Bundle for a new invitation. Can be passed to + setAutoMatchCriteria(Bundle).

+
+
Parameters
+ + + + + + + + + + +
minAutoMatchPlayers + min number of auto-matched players.
maxAutoMatchPlayers + max number of auto-matched players.
exclusiveBitMask + exclusive bitmasks for the automatching request. The logical AND of + each pairing of automatching requests must equal zero for auto-match. If there + are no exclusivity requirements for the game, this value should just be set to 0.
+
+
+
Returns
+
  • bundle of auto-match criteria data. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Bundle + + getAutoMatchCriteria + () +

+
+
+ + + +
+
+ +

Retrieves the criteria for auto-matching one or more players for the room.

+
+
Returns
+
  • The criteria for auto-matching one or more players for the room. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getInvitationId + () +

+
+
+ + + +
+
+ +

Retrieves the ID of the invitation to accept, if any. This is necessary when calling + joinRoom(RoomConfig).

+
+
Returns
+
  • The ID of the invitation to accept. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String[] + + getInvitedPlayerIds + () +

+
+
+ + + +
+
+ +

Retrieves the player IDs to invite to the room.

+
+
Returns
+
  • The player IDs to invite to the room. +
+
+ +
+
+ + + + +
+

+ + public + + + + + RealTimeMessageReceivedListener + + getMessageReceivedListener + () +

+
+
+ + + +
+
+ +

Retrieves the listener for message received from a peer.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + RoomStatusUpdateListener + + getRoomStatusUpdateListener + () +

+
+
+ + + +
+
+ +

Retrieves the listener for the room status changes.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + RoomUpdateListener + + getRoomUpdateListener + () +

+
+
+ + + +
+
+ +

Retrieves the listener that is called when operations complete.

+
+
Returns
+
  • The listener that is called when operations complete. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getVariant + () +

+
+
+ + + +
+
+ +

Retrieves the (optional) developer-controlled parameter describing the type of game to play. + Must be either a value from 1 to 1023 (inclusive), or ROOM_VARIANT_ANY if not + desired.

+
+
Returns
+
  • The developer-specified game variant. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isSocketEnabled + () +

+
+
+ + + +
+
+ +

Indicates whether to enable the use of sockets for sending/receiving data.

+
+
Returns
+
  • Whether to enable the use of sockets for sending/receiving data. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html new file mode 100644 index 000000000000..542eb2bf420b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html @@ -0,0 +1,2532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RoomEntity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

RoomEntity

+ + + + + extends Object
+ + + + + + + implements + + Room + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.games.multiplayer.realtime.RoomEntity
+ + + + + + + +
+ + +

Class Overview

+

Data object representing the data for a room. This is immutable, andtherefore safe to cache or + store. Note, however, that the data it represents may grow stale. +

+ This class exists solely to support parceling these objects and should not be used directly. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + From interface +com.google.android.gms.games.multiplayer.realtime.Room +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<RoomEntity>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + boolean + + equals(Object obj) + +
+ + + + + + Room + + freeze() + +
Freeze a volatile representation into an immutable representation.
+ +
+ + + + + + Bundle + + getAutoMatchCriteria() + +
Retrieves the automatch criteria used to create or join this room, if any.
+ +
+ + + + + + long + + getCreationTimestamp() + +
+ + + + + + String + + getCreatorId() + +
+ + + + + + String + + getDescription() + +
+ + + + + + void + + getDescription(CharArrayBuffer dataOut) + +
Loads the room description into the given CharArrayBuffer.
+ +
+ + + + + + String + + getParticipantId(String playerId) + +
Get the participant ID for a given player.
+ +
+ + + + + + ArrayList<String> + + getParticipantIds() + +
+ + + + + + int + + getParticipantStatus(String participantId) + +
Get the status of a participant in a room.
+ +
+ + + + + + ArrayList<Participant> + + getParticipants() + +
Retrieve the Participants for this object.
+ +
+ + + + + + String + + getRoomId() + +
+ + + + + + int + + getStatus() + +
+ + + + + + int + + getVariant() + +
+ + + + + + int + + hashCode() + +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel dest, int flags) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ +From interface + + com.google.android.gms.common.data.Freezable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.Participatable + +
+ + +
+
+ +From interface + + com.google.android.gms.games.multiplayer.realtime.Room + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Creator<RoomEntity> + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + equals + (Object obj) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + Room + + freeze + () +

+
+
+ + + +
+
+ +

Freeze a volatile representation into an immutable representation. Objects returned from this + call are safe to cache. +

+ Note that the output of freeze may not be identical to the parent object, but should + be equal. In other words: + +

+ 
+ Freezable f1 = new Freezable();
+ Freezable f2 = f1.freeze();
+ f1 == f2 may not be true.
+ f1.equals(f2) will be true.
+ 
+ 

+
+
Returns
+
  • A concrete implementation of the data object. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Bundle + + getAutoMatchCriteria + () +

+
+
+ + + +
+
+ +

Retrieves the automatch criteria used to create or join this room, if any. May be null if the + room has no automatch properties.

+
+
Returns
+
  • bundle containing the automatch criteria for this room. +
+
+ +
+
+ + + + +
+

+ + public + + + + + long + + getCreationTimestamp + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getCreatorId + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getDescription + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + getDescription + (CharArrayBuffer dataOut) +

+
+
+ + + +
+
+ +

Loads the room description into the given CharArrayBuffer.

+
+
Parameters
+ + + + +
dataOut + The buffer to load the data into. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + getParticipantId + (String playerId) +

+
+
+ + + +
+
+ +

Get the participant ID for a given player. This will only return a non-null ID if the player + is actually a participant in the room and that player's identity is visible to the current + player. Note that this will always return non-null for the current player.

+
+
Parameters
+ + + + +
playerId + Player ID to find participant ID for.
+
+
+
Returns
+
  • The participant ID corresponding to given player, or null if none found. +
+
+ +
+
+ + + + +
+

+ + public + + + + + ArrayList<String> + + getParticipantIds + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getParticipantStatus + (String participantId) +

+
+
+ + + +
+
+ +

Get the status of a participant in a room. Note that the participant ID must correspond to a + participant in this room, or this method will throw an exception.

+
+
Parameters
+ + + + +
participantId + Room-local ID of the participant to retrieve status for.
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + ArrayList<Participant> + + getParticipants + () +

+
+
+ + + +
+
+ +

Retrieve the Participants for this object. This is a list of all Participants + applicable to the given object.

+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + + + + + String + + getRoomId + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getStatus + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getVariant + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + int + + hashCode + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel dest, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html new file mode 100644 index 000000000000..8403017bd73b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html @@ -0,0 +1,1370 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RoomStatusUpdateListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

RoomStatusUpdateListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener
+ + + + + + + +
+ + +

Class Overview

+

Listener invoked when the status of a room, status of its participants or connection status of + the participants has changed. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onConnectedToRoom(Room room) + +
Called when the client is connected to the connected set in a room.
+ +
+ abstract + + + + + void + + onDisconnectedFromRoom(Room room) + +
Called when the client is disconnected from the connected set in a room.
+ +
+ abstract + + + + + void + + onPeerDeclined(Room room, List<String> participantIds) + +
Called when one or more peers decline the invitation to a room.
+ +
+ abstract + + + + + void + + onPeerInvitedToRoom(Room room, List<String> participantIds) + +
Called when one or more peers are invited to a room.
+ +
+ abstract + + + + + void + + onPeerJoined(Room room, List<String> participantIds) + +
Called when one or more peer participants join a room.
+ +
+ abstract + + + + + void + + onPeerLeft(Room room, List<String> participantIds) + +
Called when one or more peer participant leave a room.
+ +
+ abstract + + + + + void + + onPeersConnected(Room room, List<String> participantIds) + +
Called when one or more peer participants are connected to a room.
+ +
+ abstract + + + + + void + + onPeersDisconnected(Room room, List<String> participantIds) + +
Called when one or more peer participants are disconnected from a room.
+ +
+ abstract + + + + + void + + onRoomAutoMatching(Room room) + +
Called when the server has started the process of auto-matching.
+ +
+ abstract + + + + + void + + onRoomConnecting(Room room) + +
Called when one or more participants have joined the room and have started + the process of establishing peer connections.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onConnectedToRoom + (Room room) +

+
+
+ + + +
+
+ +

Called when the client is connected to the connected set in a room. +

+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onDisconnectedFromRoom + (Room room) +

+
+
+ + + +
+
+ +

Called when the client is disconnected from the connected set in a room. +

+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onPeerDeclined + (Room room, List<String> participantIds) +

+
+
+ + + +
+
+ +

Called when one or more peers decline the invitation to a room.

+
+
Parameters
+ + + + +
participantIds + ID of the peers invited to a room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onPeerInvitedToRoom + (Room room, List<String> participantIds) +

+
+
+ + + +
+
+ +

Called when one or more peers are invited to a room.

+
+
Parameters
+ + + + +
participantIds + ID of the peers invited to a room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onPeerJoined + (Room room, List<String> participantIds) +

+
+
+ + + +
+
+ +

Called when one or more peer participants join a room.

+
+
Parameters
+ + + + +
participantIds + IDs of peer participants who joined a room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onPeerLeft + (Room room, List<String> participantIds) +

+
+
+ + + +
+
+ +

Called when one or more peer participant leave a room.

+
+
Parameters
+ + + + +
participantIds + IDs of peer participants who left the room. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onPeersConnected + (Room room, List<String> participantIds) +

+
+
+ + + +
+
+ +

Called when one or more peer participants are connected to a room.

+
+
Parameters
+ + + + +
participantIds + IDs of peer participants who were connected. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onPeersDisconnected + (Room room, List<String> participantIds) +

+
+
+ + + +
+
+ +

Called when one or more peer participants are disconnected from a room.

+
+
Parameters
+ + + + +
participantIds + IDs of peer participants who were disconnected. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onRoomAutoMatching + (Room room) +

+
+
+ + + +
+
+ +

Called when the server has started the process of auto-matching. Any invited participants + must have joined and fully connected to each other before this will occur.

+
+
Parameters
+ + + + +
room + The room data with the status of a room and its participants. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onRoomConnecting + (Room room) +

+
+
+ + + +
+
+ +

Called when one or more participants have joined the room and have started + the process of establishing peer connections.

+
+
Parameters
+ + + + +
room + The room data with the status of a room and its participants. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html new file mode 100644 index 000000000000..37cbfc81d854 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html @@ -0,0 +1,1083 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +RoomUpdateListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

RoomUpdateListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.games.multiplayer.realtime.RoomUpdateListener
+ + + + + + + +
+ + +

Class Overview

+

The listener invoked when the state of the room has changed. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onJoinedRoom(int statusCode, Room room) + +
Called when the client attempts to join a real-time room.
+ +
+ abstract + + + + + void + + onLeftRoom(int statusCode, String roomId) + +
Called when the client attempts to leaves the real-time room.
+ +
+ abstract + + + + + void + + onRoomConnected(int statusCode, Room room) + +
Called when all the participants in a real-time room are fully connected.
+ +
+ abstract + + + + + void + + onRoomCreated(int statusCode, Room room) + +
Called when the client attempts to create a real-time room.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onJoinedRoom + (int statusCode, Room room) +

+
+
+ + + +
+
+ +

Called when the client attempts to join a real-time room. The real-time room can be joined + by calling the joinRoom(RoomConfig) operation. + Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
room + The data of the real-time room that was joined. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onLeftRoom + (int statusCode, String roomId) +

+
+
+ + + +
+
+ +

Called when the client attempts to leaves the real-time room. + Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
roomId + ID of the real-time room which was left. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onRoomConnected + (int statusCode, Room room) +

+
+
+ + + +
+
+ +

Called when all the participants in a real-time room are fully connected. This gets called + once all invitations are accepted and any necessary automatching has been completed

+
+
Parameters
+ + + + +
room + The fully connected room object. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onRoomCreated + (int statusCode, Room room) +

+
+
+ + + +
+
+ +

Called when the client attempts to create a real-time room. The real-time room can be created + by calling the createRoom(RoomConfig) operation. + Possible status codes include: +

+
+
Parameters
+ + + + + + + +
statusCode + A status code indicating the result of the operation.
room + The real-time room data that was created. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html new file mode 100644 index 000000000000..8adf5af13432 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.games.multiplayer.realtime | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.games.multiplayer.realtime

+
+ +
+ +
+ + +
+ Contains data classes for real-time multiplayer functionality. + +
+ + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + +
RealTimeMessageReceivedListenerListener for message received callback, which is called when the client receives a message + from a peer. 
RealTimeReliableMessageSentListenerThe listener for callback that is called when a reliable message is sent successfully. 
RoomData interface for room functionality. 
RoomStatusUpdateListenerListener invoked when the status of a room, status of its participants or connection status of + the participants has changed. 
RoomUpdateListenerThe listener invoked when the state of the room has changed. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + + + + + +
RealTimeMessageMessage received from participants in a real-time room, which is passed to the client. 
RoomConfigConfiguration for a new room. 
RoomConfig.BuilderBuilder class for RoomConfig
RoomEntityData object representing the data for a room. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/package-summary.html b/docs/html/reference/com/google/android/gms/games/package-summary.html new file mode 100644 index 000000000000..35eeb40747f1 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/package-summary.html @@ -0,0 +1,755 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.games | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.games

+
+ +
+ +
+ + +
+ Contains the games client class. + +
+ + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
GameData interface for retrieving game information. 
OnGamesLoadedListenerListener for receiving callbacks when game metadata has been loaded. 
OnPlayersLoadedListenerListener for receiving callbacks when player data has been loaded. 
OnSignOutCompleteListenerListener for receiving a callback when a sign-out is complete. 
PlayerData interface for retrieving player information. 
RealTimeSocketProvides a Socket-like interface for a real-time data connection to a participant in a real-time + room. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GameBufferData structure providing access to a list of games. 
GameEntityData object representing a set of Game data. 
GamesActivityResultCodesResult codes that can be set as result in Activities from the Client UI started with + startActivityForResult(Intent, int)
GamesClientMain public API entry point for the games client. 
GamesClient.BuilderBuilder class for GamesClient. 
GamesClientSettingsSettings for GamesClient
PageDirectionDirection constants for pagination over data sets. 
PlayerBufferData structure providing access to a list of players. 
PlayerEntityData object representing a set of Player data. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html b/docs/html/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html new file mode 100644 index 000000000000..c67c8d6a3f7f --- /dev/null +++ b/docs/html/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html @@ -0,0 +1,1901 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +GoogleCloudMessaging | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

GoogleCloudMessaging

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.gcm.GoogleCloudMessaging
+ + + + + + + +
+ + +

Class Overview

+

Interface for Google Cloud Messaging for Android. + +

This class requires Google Play Services version 3.1. + +

In order to receive GCM messages you need to declare a permission and a BroadcastReceiver + in your manifest. This is a backward-compatible subset of what was required in previous + versions. + +

To allow the application to use GCM, add this permission to the manifest: +

+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
+ +

GCM delivers messages as a broadcast. The receivers must be registered in the manifest in + order to wake up the application. + +

The com.google.android.c2dm.permission.SEND permission is held by + Google Play Services. + This prevents other code from invoking the broadcast receiver. + Here is an excerpt from the manifest: + +

+ <receiver android:name=".MyReceiver" android:exported="true"
+     android:permission="com.google.android.c2dm.permission.SEND" >
+     <intent-filter>
+        <action android:name="com.google.android.c2dm.intent.RECEIVE" />
+        <category android:name="YOUR_PACKAGE_NAME" />
+     </intent-filter>
+ </receiver>
+ +

To send or receive messages, you first need to get a registration ID. The registration ID + identifies the device and application, as well as which servers are allowed to send messages. + +

+ GoogleCloudMessaging gcm = GoogleCloudMessaging.getInstance(context);
+
+ String registrationId = gcm.register(sender1, sender2);
+ // Upload the registrationId to your own server
+ // The request to your server should be authenticated if your app is using accounts.
+ 
+ +

The BroadcastReceiver will be invoked whenever a message is received, as well as for special + messages generated by GCM. Within the BroadcastReceiver you can call + getMessageType(Intent). + +

To send messages, call send(): +

+ gcm.send(to, msgId, data);
+ 
+

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
StringERROR_MAIN_THREADGCM methods are blocking.
StringERROR_SERVICE_NOT_AVAILABLEThe device can't read the response, or there was a 500/503 from the + server that can be retried later.
StringMESSAGE_TYPE_DELETEDReturned by getMessageType(Intent) to indicate that the server deleted + some pending messages because they were collapsible.
StringMESSAGE_TYPE_MESSAGEReturned by getMessageType(Intent) to indicate a regular message.
StringMESSAGE_TYPE_SEND_ERRORReturned by getMessageType(Intent) to indicate a send error.
+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + GoogleCloudMessaging() + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + close() + +
Must be called when your application is done using GCM, to release + internal resources.
+ +
+ + synchronized + + static + + GoogleCloudMessaging + + getInstance(Context context) + +
Return the singleton instance of GCM.
+ +
+ + + + + + String + + getMessageType(Intent intent) + +
Return the message type.
+ +
+ + + + + + String + + register(String... senderIds) + +
Register the application for GCM and return the registration ID.
+ +
+ + + + + + void + + send(String to, String msgId, long timeToLive, Bundle data) + +
Send a "device to cloud" message.
+ +
+ + + + + + void + + send(String to, String msgId, Bundle data) + +
Send a "device to cloud" message.
+ +
+ + + + + + void + + unregister() + +
Unregister the application.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + ERROR_MAIN_THREAD +

+
+ + + + +
+
+ +

GCM methods are blocking. You should not run them in the main thread or in broadcast + receivers. +

+ + +
+ Constant Value: + + + "MAIN_THREAD" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + ERROR_SERVICE_NOT_AVAILABLE +

+
+ + + + +
+
+ +

The device can't read the response, or there was a 500/503 from the + server that can be retried later. The application should use exponential + back off and retry. +

+ + +
+ Constant Value: + + + "SERVICE_NOT_AVAILABLE" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + MESSAGE_TYPE_DELETED +

+
+ + + + +
+
+ +

Returned by getMessageType(Intent) to indicate that the server deleted + some pending messages because they were collapsible. +

+ + +
+ Constant Value: + + + "deleted_messages" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + MESSAGE_TYPE_MESSAGE +

+
+ + + + +
+
+ +

Returned by getMessageType(Intent) to indicate a regular message. +

+ + +
+ Constant Value: + + + "gcm" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + MESSAGE_TYPE_SEND_ERROR +

+
+ + + + +
+
+ +

Returned by getMessageType(Intent) to indicate a send error. + The intent includes the message ID of the message and an error code. +

+ + +
+ Constant Value: + + + "send_error" + + +
+ +
+
+ + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + GoogleCloudMessaging + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + void + + close + () +

+
+
+ + + +
+
+ +

Must be called when your application is done using GCM, to release + internal resources. +

+ +
+
+ + + + +
+

+ + public + static + + + synchronized + GoogleCloudMessaging + + getInstance + (Context context) +

+
+
+ + + +
+
+ +

Return the singleton instance of GCM.

+ +
+
+ + + + +
+

+ + public + + + + + String + + getMessageType + (Intent intent) +

+
+
+ + + +
+
+ +

Return the message type. Regular messages from the server have the type + GoogleCloudMessaging.MESSAGE_TYPE_MESSAGE. + + The server may also send special messages. The possible types are: +

+ + Additional types may be added later; you should ignore any type you don't handle.

+
+
Returns
+
  • the message type or null if the intent is not a GCM intent +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + register + (String... senderIds) +

+
+
+ + + +
+
+ +

Register the application for GCM and return the registration ID. You must call this once, + when your application is installed, and send the returned registration ID to the server. +

+ Repeated calls to this method will return the original registration ID. +

+ If you want to modify the list of senders, you must call unregister() first. +

+ Most applications use a single sender ID. You may use multiple senders if different + servers may send messages to the app or for testing.

+
+
Parameters
+ + + + +
senderIds + list of project numbers or Google accounts identifying who is allowed to + send messages to this application.
+
+
+
Returns
+
  • registration id +
+
+
+
Throws
+ + + + +
IOException +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + send + (String to, String msgId, long timeToLive, Bundle data) +

+
+
+ + + +
+
+ +

Send a "device to cloud" message. + + The current limits for max storage time and number of outstanding messages per + application are documented in the + GCM Dev Guide.

+
+
Parameters
+ + + + + + + + + + + + + +
to + string identifying the receiver of the message. For GCM projects IDs + the value is SENDER_ID@gcm.googleapis.com. The SENDER_ID + should be one of the sender IDs used in register().
msgId + ID of the message. This is generated by the application. It must be + unique for each message. This allows error callbacks and debugging.
timeToLive + If 0, we'll attempt to send immediately and return an + error if we're not connected. Otherwise, the message will be queued. + As for server-side messages, we don't return an error if the message has been + dropped because of TTL—this can happen on the server side, and it would require + extra communication.
data + key/value pairs to be sent. Values must be String, any other type will + be ignored. +
+
+
+
Throws
+ + + + +
IOException +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + send + (String to, String msgId, Bundle data) +

+
+
+ + + +
+
+ +

Send a "device to cloud" message. + + The message will be queued if we don't have an active connection for the max interval.

+
+
Parameters
+ + + + + + + + + + +
to + string identifying the receiver of the message. For GCM project IDs + the value is SENDER_ID@gcm.googleapis.com. The SENDER_ID + should be one of the sender IDs used in register().
msgId + ID of the message. This is generated by the application. It must be + unique for each message. This allows error callbacks and debugging.
data + key/value pairs to be sent. Values must be String—any other type will + be ignored.
+
+
+
Throws
+ + + + +
IOException +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregister + () +

+
+
+ + + +
+
+ +

Unregister the application. Calling unregister() stops any + messages from the server. This is a blocking call—you shouldn't call + it from the UI thread. + + You should rarely (if ever) need to call this method. Not only is it + expensive in terms of resources, but it invalidates your registration ID, + which should never change unnecessarily. A better approach is to simply + have your server stop sending messages. Only use unregister if you want + your application to stop using GCM permanently, or you have a compelling + reason to recycle your registration ID.

+
+
Throws
+ + + + +
IOException + if we can't connect to server to unregister. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/gcm/package-summary.html b/docs/html/reference/com/google/android/gms/gcm/package-summary.html new file mode 100644 index 000000000000..24e5eb7da1c9 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/gcm/package-summary.html @@ -0,0 +1,685 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.gcm | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.gcm

+
+ +
+ +
+ + + + + + + + + + +

Classes

+
+ + + + + + +
GoogleCloudMessaging

Interface for Google Cloud Messaging for Android. 

+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/ActivityRecognitionClient.html b/docs/html/reference/com/google/android/gms/location/ActivityRecognitionClient.html new file mode 100644 index 000000000000..9cdc20fe3f8d --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/ActivityRecognitionClient.html @@ -0,0 +1,2190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ActivityRecognitionClient | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

ActivityRecognitionClient

+ + + + + extends Object
+ + + + + + + implements + + GooglePlayServicesClient + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.ActivityRecognitionClient
+ + + + + + + +
+ + +

Class Overview

+

The main entry point for activity recognition integration. +

+ The activity recognition service is a low power mechanism that allows + application to receive periodic updates of detected user activities. For + example, it can detect if the user is currently on foot, in a car, on a + bicycle or still. +

+ The activities are detected by periodically waking up the device and reading + short bursts of sensor data. It only makes use of low power sensors in order + to keep the power usage to a minimum. +

+ To request activity recognition, do the following in a class that implements + GooglePlayServicesClient.ConnectionCallbacks and + GooglePlayServicesClient.OnConnectionFailedListener: +

+  // Connect to the ActivityRecognitionService
+ ActivityRecognitionClient mActivityRecognitionClient =
+         new ActivityRecognitionClient(this, this, this);
+ mActivityRecognitionClient.connect();
+ 
+  // Called when a connection to the ActivityRecognitionService has been established.
+ public void onConnected(Bundle connectionHint) {
+     Intent intent = new Intent(this, MyIntentService.class);
+     PendingIntent callbackIntent = PendingIntent.getService(this, 0, intent,
+             PendingIntent.FLAG_UPDATE_CURRENT);
+     mActivityRecognitionClient.requestActivityUpdates(30000, callbackIntent);
+ }
+ 
+ To receive activity detections, put the following in a class that extends IntentService: +
+ protected void onHandleIntent(Intent intent) {
+     if (ActivityRecognitionResult.hasResult(intent)) {
+         ActivityRecognitionResult result = ActivityRecognitionResult.extractResult(intent);
+         // Put your application specific logic here (i.e. result.getMostProbableActivity())
+     }
+ }
+

+ Use of the ActivityRecognitionClient requires the + com.google.android.gms.permission.ACTIVITY_RECOGNITION permission. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + ActivityRecognitionClient(Context context, GooglePlayServicesClient.ConnectionCallbacks connectedListener, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + connect() + +
Connects the client to Google Play services.
+ +
+ + + + + + void + + disconnect() + +
Closes the connection to Google Play services.
+ +
+ + + + + + boolean + + isConnected() + +
Checks if the client is currently connected to the service, so that + requests to other methods will succeed.
+ +
+ + + + + + boolean + + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ + + + + + boolean + + isConnectionCallbacksRegistered(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Returns true if the specified listener is currently registered to + receive connection events.
+ +
+ + + + + + boolean + + isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Returns true if the specified listener is currently registered to + receive connection failed events.
+ +
+ + + + + + void + + registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Registers a listener to receive connection events from this GooglePlayServicesClient.
+ +
+ + + + + + void + + registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Registers a listener to receive connection failed events from this + GooglePlayServicesClient.
+ +
+ + + + + + void + + removeActivityUpdates(PendingIntent callbackIntent) + +
Removes all activity updates for the specified PendingIntent.
+ +
+ + + + + + void + + requestActivityUpdates(long detectionIntervalMillis, PendingIntent callbackIntent) + +
Register for activity recognition updates.
+ +
+ + + + + + void + + unregisterConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Removes a connection listener from this GooglePlayServicesClient.
+ +
+ + + + + + void + + unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Removes a connection failed listener from the GooglePlayServicesClient.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + com.google.android.gms.common.GooglePlayServicesClient + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + ActivityRecognitionClient + (Context context, GooglePlayServicesClient.ConnectionCallbacks connectedListener, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) +

+
+
+ + + +
+
+ + +
+
Parameters
+ + + + + + + + + + +
context + The context to use for the connection.
connectedListener + The callbacks invoked when the client is + connected.
connectionFailedListener + The listener which will be notified if + the connection attempt fails. +
+
+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + void + + connect + () +

+
+
+ + + +
+
+ +

Connects the client to Google Play services. This method returns immediately, and connects to + the service in the background. If the connection is successful, + onConnected(Bundle) is called. On a + failure, onConnectionFailed(ConnectionResult) is called. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + disconnect + () +

+
+
+ + + +
+
+ +

Closes the connection to Google Play services. No calls can be made on this object + after calling this method.

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnected + () +

+
+
+ + + +
+
+ +

Checks if the client is currently connected to the service, so that + requests to other methods will succeed. Applications should guard + client actions caused by the user with a call to this method.

+
+
Returns
+
  • true If the client is connected to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionCallbacksRegistered + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + events.
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionFailedListenerRegistered + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection failed events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + failed events.
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection events from this GooglePlayServicesClient. + If we are already connected, the listener's onConnected(Bundle) method + will be called immediately. Applications should balance calls to this method with calls to + unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources. +

+ If the specified listener is already registered to receive connection events, this + method will not add a duplicate entry for the same listener, but will + still call the listener's onConnected(Bundle) method if currently + connected. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection failed events from this + GooglePlayServicesClient. Unlike registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks), if we are not + already connected, the listener's onConnectionFailed(ConnectionResult) + method will not be called immediately. Applications should balance calls to this method with + calls to unregisterConnectionFailedListener(OnConnectionFailedListener) to avoid + leaking resources. +

+ If the specified listener is already registered to receive connection failed events, this + method will not add a duplicate entry for the same listener. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + removeActivityUpdates + (PendingIntent callbackIntent) +

+
+
+ + + +
+
+ +

Removes all activity updates for the specified PendingIntent. +

+ Calling this function requires the + com.google.android.gms.permission.ACTIVITY_RECOGNITION permission.

+
+
Parameters
+ + + + +
callbackIntent + pending intent object that no longer needs activity + detection updates
+
+
+
Throws
+ + + + +
IllegalStateException + if this method was called at an + inappropriate time, such as before the LocationServiceClient + has bound to the remote service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + requestActivityUpdates + (long detectionIntervalMillis, PendingIntent callbackIntent) +

+
+
+ + + +
+
+ +

Register for activity recognition updates. +

+ The activities are detected by periodically waking up the device and + reading short bursts of sensor data. It only makes use of low power + sensors in order to keep the power usage to a minimum. For example, it + can detect if the user is currently on foot, in a car, on a bicycle or + still. See DetectedActivity for more details. +

+ The activity detection update interval can be controlled with the + detectionIntervalMillis parameter. Larger values will result in fewer + activity detections while improving battery life. Smaller values will + result in more frequent activity detections but will consume more power + since the device must be woken up more frequently. +

+ Activities may be received more frequently than the + detectionIntervalMillis parameter if another application has also + requested activity updates at a faster rate. It may also receive updates + faster when the activity detection service receives a signal that the + current activity may change, such as if the device has been still for a + long period of time and is then unplugged from a phone charger. +

+ Activities may arrive several seconds after the requested + detectionIntervalMillis if the activity detection service requires more + samples to make a more accurate prediction. +

+ A common use case is that an application wants to monitor activities in + the background and perform an action when a specific activity is + detected. To do this without needing a service that is always on in the + background consuming resources, detected activities are delivered via an + intent. The application specifies a PendingIntent callback (typically an + IntentService) which will be called when activities are detected. See the + documentation of PendingIntent for more details. +

+ Applications can call this function several times in a row with the same + callbackIntent to change the desired activity detection interval. +

+ Calling this function requires the + com.google.android.gms.permission.ACTIVITY_RECOGNITION permission.

+
+
Parameters
+ + + + + + + +
detectionIntervalMillis + the desired time between activity + detections. Larger values will result in fewer activity + detections while improving battery life. A value of 0 will + result in activity detections at the fastest possible rate.
callbackIntent + a PendingIntent to be sent for each activity + detection.
+
+
+
Throws
+ + + + +
IllegalStateException + if this method was called at an + inappropriate time, such as before the LocationServiceClient + has bound to the remote service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Removes a connection listener from this GooglePlayServicesClient. Note that removing + a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection events, this + method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Removes a connection failed listener from the GooglePlayServicesClient. + Note that removing a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection failed events, + this method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/ActivityRecognitionResult.html b/docs/html/reference/com/google/android/gms/location/ActivityRecognitionResult.html new file mode 100644 index 000000000000..1d5dcd4b4c91 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/ActivityRecognitionResult.html @@ -0,0 +1,2014 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ActivityRecognitionResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

ActivityRecognitionResult

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.ActivityRecognitionResult
+ + + + + + + +
+ + +

Class Overview

+

Result of an activity recognition. +

+ It contains a list of activities that a user may have been doing at a + particular time. The activities are sorted by the most probable activity + first. A confidence is associated with each activity which indicates how + likely that activity is. +

+ getMostProbableActivity() will return the most probable activity of + the user at the time that activity recognition was run. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
StringEXTRA_ACTIVITY_RESULT
StringNULL
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + ActivityRecognitionResultCreatorCREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + ActivityRecognitionResult(List<DetectedActivity> probableActivities, long time, long elapsedRealtimeMillis) + +
Constructs an ActivityRecognitionResult.
+ +
+ + + + + + + + ActivityRecognitionResult(DetectedActivity mostProbableActivity, long time, long elapsedRealtimeMillis) + +
Constructs an ActivityRecognitionResult from a single activity.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + static + + ActivityRecognitionResult + + extractResult(Intent intent) + +
Extracts the ActivityRecognitionResult from an Intent.
+ +
+ + + + + + int + + getActivityConfidence(int activityType) + +
Returns the confidence of the given activity type.
+ +
+ + + + + + long + + getElapsedRealtimeMillis() + +
Returns the elapsed real time of this detection in milliseconds since + boot, including time spent in sleep as obtained by + SystemClock.elapsedRealtime().
+ +
+ + + + + + DetectedActivity + + getMostProbableActivity() + +
Returns the most probable activity of the user.
+ +
+ + + + + + List<DetectedActivity> + + getProbableActivities() + +
Returns the list of activities that where detected with the confidence + value associated with each activity.
+ +
+ + + + + + long + + getTime() + +
Returns the UTC time of this detection, in milliseconds since January 1, + 1970.
+ +
+ + + + static + + boolean + + hasResult(Intent intent) + +
Returns true if an Intent contains an ActivityRecognitionResult.
+ +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel out, int flags) + +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + EXTRA_ACTIVITY_RESULT +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "com.google.android.location.internal.EXTRA_ACTIVITY_RESULT" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + NULL +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "SAFE_PARCELABLE_NULL_STRING" + + +
+ +
+
+ + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + ActivityRecognitionResultCreator + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + ActivityRecognitionResult + (List<DetectedActivity> probableActivities, long time, long elapsedRealtimeMillis) +

+
+
+ + + +
+
+ +

Constructs an ActivityRecognitionResult.

+
+
Parameters
+ + + + + + + + + + +
probableActivities + the activities that where detected, sorted by + confidence (most probable first).
time + the UTC time of this detection, in milliseconds since January + 1, 1970.
elapsedRealtimeMillis + milliseconds since boot +
+
+ +
+
+ + + + +
+

+ + public + + + + + + + ActivityRecognitionResult + (DetectedActivity mostProbableActivity, long time, long elapsedRealtimeMillis) +

+
+
+ + + +
+
+ +

Constructs an ActivityRecognitionResult from a single activity.

+
+
Parameters
+ + + + + + + + + + +
mostProbableActivity + the most probable activity of the device.
time + the UTC time of this detection, in milliseconds since January + 1, 1970.
elapsedRealtimeMillis + milliseconds since boot. +
+
+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + static + + + + ActivityRecognitionResult + + extractResult + (Intent intent) +

+
+
+ + + +
+
+ +

Extracts the ActivityRecognitionResult from an Intent. +

+ This is a utility function which extracts the ActivityRecognitionResult + from the extras of an Intent that was sent from the activity detection + service.

+
+
Returns
+
  • an ActivityRecognitionResult, or null if the intent doesn't + contain an ActivityRecognitionResult. +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getActivityConfidence + (int activityType) +

+
+
+ + + +
+
+ +

Returns the confidence of the given activity type. +

+ +
+
+ + + + +
+

+ + public + + + + + long + + getElapsedRealtimeMillis + () +

+
+
+ + + +
+
+ +

Returns the elapsed real time of this detection in milliseconds since + boot, including time spent in sleep as obtained by + SystemClock.elapsedRealtime(). +

+ +
+
+ + + + +
+

+ + public + + + + + DetectedActivity + + getMostProbableActivity + () +

+
+
+ + + +
+
+ +

Returns the most probable activity of the user. +

+ +
+
+ + + + +
+

+ + public + + + + + List<DetectedActivity> + + getProbableActivities + () +

+
+
+ + + +
+
+ +

Returns the list of activities that where detected with the confidence + value associated with each activity. The activities are sorted by most + probable activity first. +

+ The sum of confidence values for the activities is guaranteed to be <= + 100. +

+ +
+
+ + + + +
+

+ + public + + + + + long + + getTime + () +

+
+
+ + + +
+
+ +

Returns the UTC time of this detection, in milliseconds since January 1, + 1970. +

+ +
+
+ + + + +
+

+ + public + static + + + + boolean + + hasResult + (Intent intent) +

+
+
+ + + +
+
+ +

Returns true if an Intent contains an ActivityRecognitionResult. +

+ This is a utility function that can be called from inside an intent + receiver to make sure the received intent is from activity recognition.

+
+
Returns
+
  • true if the intent contains an ActivityRecognitionResult, false + otherwise. +
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel out, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/DetectedActivity.html b/docs/html/reference/com/google/android/gms/location/DetectedActivity.html new file mode 100644 index 000000000000..edeaa671ea2c --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/DetectedActivity.html @@ -0,0 +1,1912 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DetectedActivity | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

DetectedActivity

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.DetectedActivity
+ + + + + + + +
+ + +

Class Overview

+

The detected activity of the device with an an associated confidence. See + ActivityRecognitionClient for details on how to obtain a + DetectedActivity. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intIN_VEHICLEThe device is in a vehicle, such as a car.
StringNULL
intON_BICYCLEThe device is on a bicycle.
intON_FOOTThe device is on a user who is walking or running.
intSTILLThe device is still (not moving).
intTILTINGThe device angle relative to gravity changed significantly.
intUNKNOWNUnable to detect the current activity.
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + DetectedActivityCreatorCREATOR
+ + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + DetectedActivity(int activityType, int confidence) + +
Constructs a DetectedActivity.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + int + + getConfidence() + +
Returns a value from 0 to 100 indicating the likelihood that the user is + performing this activity.
+ +
+ + + + + + int + + getType() + +
Returns the type of activity that was detected.
+ +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel out, int flags) + +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + IN_VEHICLE +

+
+ + + + +
+
+ +

The device is in a vehicle, such as a car. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + String + + NULL +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "SAFE_PARCELABLE_NULL_STRING" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + ON_BICYCLE +

+
+ + + + +
+
+ +

The device is on a bicycle. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + ON_FOOT +

+
+ + + + +
+
+ +

The device is on a user who is walking or running. +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + STILL +

+
+ + + + +
+
+ +

The device is still (not moving). +

+ + +
+ Constant Value: + + + 3 + (0x00000003) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + TILTING +

+
+ + + + +
+
+ +

The device angle relative to gravity changed significantly. This often occurs when a device + is picked up from a desk or a user who is sitting stands up. +

+ + +
+ Constant Value: + + + 5 + (0x00000005) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + UNKNOWN +

+
+ + + + +
+
+ +

Unable to detect the current activity. +

+ + +
+ Constant Value: + + + 4 + (0x00000004) + + +
+ +
+
+ + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + DetectedActivityCreator + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + DetectedActivity + (int activityType, int confidence) +

+
+
+ + + +
+
+ +

Constructs a DetectedActivity.

+
+
Parameters
+ + + + + + + +
activityType + the activity that was detected.
confidence + value from 0 to 100 indicating how likely it is that + the user is performing this activity. +
+
+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getConfidence + () +

+
+
+ + + +
+
+ +

Returns a value from 0 to 100 indicating the likelihood that the user is + performing this activity. +

+ The larger the value, the more consistent the data used to perform the + classification is with the detected activity. +

+ The sum of the confidences of all detected activities for a + classification will be <= 100. This means that larger values such as a + confidence of >= 75 indicate that it's very likely that the detected + activity is correct, while a value of <= 50 indicates that there may be + another activity that is just as or more likely. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getType + () +

+
+
+ + + +
+
+ +

Returns the type of activity that was detected. +

+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel out, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/Geofence.Builder.html b/docs/html/reference/com/google/android/gms/location/Geofence.Builder.html new file mode 100644 index 000000000000..04350fa7e9e6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/Geofence.Builder.html @@ -0,0 +1,1437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Geofence.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

Geofence.Builder

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.Geofence.Builder
+ + + + + + + +
+ + +

Class Overview

+

A builder that builds Geofence. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + Geofence.Builder() + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + Geofence + + build() + +
Creates a geofence object.
+ +
+ + + + + + Geofence.Builder + + setCircularRegion(double latitude, double longitude, float radius) + +
Sets the region of this geofence.
+ +
+ + + + + + Geofence.Builder + + setExpirationDuration(long durationMillis) + +
Sets the expiration duration of geofence.
+ +
+ + + + + + Geofence.Builder + + setRequestId(String requestId) + +
Sets the request ID of the geofence.
+ +
+ + + + + + Geofence.Builder + + setTransitionTypes(int transitionTypes) + +
Sets the transition types of interest.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + Geofence.Builder + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + Geofence + + build + () +

+
+
+ + + +
+
+ +

Creates a geofence object.

+
+
Throws
+ + + + +
IllegalArgumentException + if any parameters are not set or out + of range +
+
+ +
+
+ + + + +
+

+ + public + + + + + Geofence.Builder + + setCircularRegion + (double latitude, double longitude, float radius) +

+
+
+ + + +
+
+ +

Sets the region of this geofence. The geofence represents a circular + area on a flat, horizontal plane.

+
+
Parameters
+ + + + + + + + + + +
latitude + latitude in degrees, between -90 and +90 inclusive
longitude + longitude in degrees, between -180 and +180 + inclusive
radius + radius in meters +
+
+ +
+
+ + + + +
+

+ + public + + + + + Geofence.Builder + + setExpirationDuration + (long durationMillis) +

+
+
+ + + +
+
+ +

Sets the expiration duration of geofence. This geofence will be + removed automatically after this period of time.

+
+
Parameters
+ + + + +
durationMillis + time for this proximity alert, in milliseconds, + or NEVER_EXPIRE to indicate no expiration. When + positive, this geofence will be removed automatically + after this amount of time. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Geofence.Builder + + setRequestId + (String requestId) +

+
+
+ + + +
+
+ +

Sets the request ID of the geofence. Request ID is a string to + identify this geofence inside your application. When two geofences + with the same requestId are monitored, the new one will replace the + old one regardless the geographical region these two geofences + represent.

+
+
Parameters
+ + + + +
requestId + the request ID. The length of the string can be up + to 100 characters. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Geofence.Builder + + setTransitionTypes + (int transitionTypes) +

+
+
+ + + +
+
+ +

Sets the transition types of interest. Alerts are only generated for + the given transition types.

+
+
Parameters
+ + + + +
transitionTypes + geofence transition types of interest, as a + bitwise-OR of GEOFENCE_TRANSITION_ flags. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/Geofence.html b/docs/html/reference/com/google/android/gms/location/Geofence.html new file mode 100644 index 000000000000..e465e24fcac8 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/Geofence.html @@ -0,0 +1,1041 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Geofence | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

Geofence

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.location.Geofence
+ + + + + + + +
+ + +

Class Overview

+

Represents a geographical region, also known as a geofence. Geofences can be + monitored by geofencer service. And when the user crosses the boundary of a + geofence, an alert will be generated. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classGeofence.BuilderA builder that builds Geofence
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intGEOFENCE_TRANSITION_ENTERThe transition type indicating that the user enters the geofence(s).
intGEOFENCE_TRANSITION_EXITThe transition type indicating that the user exits the geofence(s).
longNEVER_EXPIREExpiration value that indicates the geofence should never expire.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + String + + getRequestId() + +
Returns the request ID of this geofence.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + GEOFENCE_TRANSITION_ENTER +

+
+ + + + +
+
+ +

The transition type indicating that the user enters the geofence(s). +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + GEOFENCE_TRANSITION_EXIT +

+
+ + + + +
+
+ +

The transition type indicating that the user exits the geofence(s). +

+ + +
+ Constant Value: + + + 2 + (0x00000002) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + long + + NEVER_EXPIRE +

+
+ + + + +
+
+ +

Expiration value that indicates the geofence should never expire. +

+ + +
+ Constant Value: + + + -1 + (0xffffffffffffffff) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + String + + getRequestId + () +

+
+
+ + + +
+
+ +

Returns the request ID of this geofence. The request ID is a string to + identify this geofence inside your application. When two geofences with + the same requestId are monitored, the new one will replace the old one + regardless the geographical region these two geofences represent. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html b/docs/html/reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html new file mode 100644 index 000000000000..b4f21ecd5106 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html @@ -0,0 +1,885 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LocationClient.OnAddGeofencesResultListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

LocationClient.OnAddGeofencesResultListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.location.LocationClient.OnAddGeofencesResultListener
+ + + + + + + +
+ + +

Class Overview

+

The listener for receiving callbacks when the operation to add geofences + completes. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onAddGeofencesResult(int statusCode, String[] geofenceRequestIds) + +
Called when the addGeofences(List, PendingIntent, OnAddGeofencesResultListener) operation completes successfully + or unsuccessfully.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onAddGeofencesResult + (int statusCode, String[] geofenceRequestIds) +

+
+
+ + + +
+
+ +

Called when the addGeofences(List, PendingIntent, OnAddGeofencesResultListener) operation completes successfully + or unsuccessfully.

+
+
Parameters
+ + + + + + + +
statusCode + the status code of the addGeofences operation. Possible status code + SUCCESS, + GEOFENCE_TOO_MANY_GEOFENCES, + GEOFENCE_TOO_MANY_PENDING_INTENTS, + GEOFENCE_NOT_AVAILABLE + and ERROR.
geofenceRequestIds + the list of geofence request IDs extracted + from the List<Geofence> provided to the original + addGeofences(List, PendingIntent, OnAddGeofencesResultListener) call +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html b/docs/html/reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html new file mode 100644 index 000000000000..2d250744389c --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html @@ -0,0 +1,951 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LocationClient.OnRemoveGeofencesResultListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

LocationClient.OnRemoveGeofencesResultListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.location.LocationClient.OnRemoveGeofencesResultListener
+ + + + + + + +
+ + +

Class Overview

+

The listener for receiving callbacks when the operation to remove + geofences completes. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onRemoveGeofencesByPendingIntentResult(int statusCode, PendingIntent pendingIntent) + +
Called when the removeGeofences(PendingIntent, OnRemoveGeofencesResultListener) operation completes successfully or + unsuccessfully.
+ +
+ abstract + + + + + void + + onRemoveGeofencesByRequestIdsResult(int statusCode, String[] geofenceRequestIds) + +
Called when the removeGeofences(List, OnRemoveGeofencesResultListener) operation completes successfully or + unsuccessfully.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onRemoveGeofencesByPendingIntentResult + (int statusCode, PendingIntent pendingIntent) +

+
+
+ + + +
+
+ +

Called when the removeGeofences(PendingIntent, OnRemoveGeofencesResultListener) operation completes successfully or + unsuccessfully.

+
+
Parameters
+ + + + + + + +
statusCode + the status code of the removeGeofences operation. + Possible status code + SUCCESS, + GEOFENCE_NOT_AVAILABLE + and ERROR.
pendingIntent + the PendingIntent provided to the original + removeGeofences(PendingIntent, OnRemoveGeofencesResultListener) call +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onRemoveGeofencesByRequestIdsResult + (int statusCode, String[] geofenceRequestIds) +

+
+
+ + + +
+
+ +

Called when the removeGeofences(List, OnRemoveGeofencesResultListener) operation completes successfully or + unsuccessfully.

+
+
Parameters
+ + + + + + + +
statusCode + the status code of the removeGeofences operation. + Possible status code + SUCCESS, + GEOFENCE_NOT_AVAILABLE + and ERROR.
geofenceRequestIds + the geofence request IDs provided to the + original removeGeofences(List, OnRemoveGeofencesResultListener) call +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/LocationClient.html b/docs/html/reference/com/google/android/gms/location/LocationClient.html new file mode 100644 index 000000000000..7888237ea8d3 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/LocationClient.html @@ -0,0 +1,3039 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LocationClient | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

LocationClient

+ + + + + extends Object
+ + + + + + + implements + + GooglePlayServicesClient + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.LocationClient
+ + + + + + + +
+ + +

Class Overview

+

The LocationClient is the main entry point for location related APIs, + such as location and geofence. +

+ Use the LocationClient to: +

    +
  • Connect and disconnect to Google Location Services. +
  • Request/remove location update callbacks. +
  • Request/remove geofences. +
+

+ In order to establish a connection, call connect() and wait for the + onConnected(android.os.Bundle) callback. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + interfaceLocationClient.OnAddGeofencesResultListenerThe listener for receiving callbacks when the operation to add geofences + completes. 
+ + + + + interfaceLocationClient.OnRemoveGeofencesResultListenerThe listener for receiving callbacks when the operation to remove + geofences completes. 
+ + + + + + + + + + + +
Constants
StringKEY_LOCATION_CHANGEDKey used for a Bundle extra holding a Location value when a location change is broadcast + using a PendingIntent.
+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + LocationClient(Context context, GooglePlayServicesClient.ConnectionCallbacks connectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) + +
Creates a LocationClient.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + addGeofences(List<Geofence> geofences, PendingIntent pendingIntent, LocationClient.OnAddGeofencesResultListener listener) + +
Sets alerts to be notified when the device enters or exits one of the + specified geofences.
+ +
+ + + + + + void + + connect() + +
Connects the client to Google Play services.
+ +
+ + + + + + void + + disconnect() + +
Closes the connection to Google Play services.
+ +
+ + + + static + + int + + getErrorCode(Intent intent) + +
Returns the error code that explains the error that triggered this + intent.
+ +
+ + + + static + + int + + getGeofenceTransition(Intent intent) + +
Returns the transition type of geofence transition alert.
+ +
+ + + + + + Location + + getLastLocation() + +
Returns the best most recent location currently available.
+ +
+ + + + static + + List<Geofence> + + getTriggeringGeofences(Intent intent) + +
Returns a list of geofences that triggers this geofence transition alert.
+ +
+ + + + static + + boolean + + hasError(Intent intent) + +
Whether an error triggered this intent.
+ +
+ + + + + + boolean + + isConnected() + +
Checks if the client is currently connected to the service, so that + requests to other methods will succeed.
+ +
+ + + + + + boolean + + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ + + + + + boolean + + isConnectionCallbacksRegistered(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Returns true if the specified listener is currently registered to + receive connection events.
+ +
+ + + + + + boolean + + isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Returns true if the specified listener is currently registered to + receive connection failed events.
+ +
+ + + + + + void + + registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Registers a listener to receive connection events from this GooglePlayServicesClient.
+ +
+ + + + + + void + + registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Registers a listener to receive connection failed events from this + GooglePlayServicesClient.
+ +
+ + + + + + void + + removeGeofences(List<String> geofenceRequestIds, LocationClient.OnRemoveGeofencesResultListener listener) + +
Removes geofences by their request IDs.
+ +
+ + + + + + void + + removeGeofences(PendingIntent pendingIntent, LocationClient.OnRemoveGeofencesResultListener listener) + +
Removes all geofences associated with the given pendingIntent.
+ +
+ + + + + + void + + removeLocationUpdates(LocationListener listener) + +
Removes all location updates for the given location listener.
+ +
+ + + + + + void + + removeLocationUpdates(PendingIntent callbackIntent) + +
Removes all location updates for the given pending intent.
+ +
+ + + + + + void + + requestLocationUpdates(LocationRequest request, PendingIntent callbackIntent) + +
Requests location updates with a callback on the specified PendingIntent.
+ +
+ + + + + + void + + requestLocationUpdates(LocationRequest request, LocationListener listener) + +
Requests location updates.
+ +
+ + + + + + void + + requestLocationUpdates(LocationRequest request, LocationListener listener, Looper looper) + +
Requests location updates with a callback on the specified Looper thread.
+ +
+ + + + + + void + + unregisterConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks listener) + +
Removes a connection listener from this GooglePlayServicesClient.
+ +
+ + + + + + void + + unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener listener) + +
Removes a connection failed listener from the GooglePlayServicesClient.
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + com.google.android.gms.common.GooglePlayServicesClient + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + KEY_LOCATION_CHANGED +

+
+ + + + +
+
+ +

Key used for a Bundle extra holding a Location value when a location change is broadcast + using a PendingIntent. +

+ + +
+ Constant Value: + + + "com.google.android.location.LOCATION" + + +
+ +
+
+ + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + LocationClient + (Context context, GooglePlayServicesClient.ConnectionCallbacks connectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener connectionFailedListener) +

+
+
+ + + +
+
+ +

Creates a LocationClient.

+
+
Parameters
+ + + + + + + + + + +
context + the context to use for the connection.
connectionCallbacks + the callbacks invoked when the client is connected.
connectionFailedListener + the listener which will be notified if + the connection attempt fails. +
+
+ +
+
+ + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + void + + addGeofences + (List<Geofence> geofences, PendingIntent pendingIntent, LocationClient.OnAddGeofencesResultListener listener) +

+
+
+ + + +
+
+ +

Sets alerts to be notified when the device enters or exits one of the + specified geofences. If an existing geofence with the same request ID is + already registered, the old geofence is replaced by the new one, and the + new pendingIntent is used to generate intents for alerts. +

+ onAddGeofencesResult(int, String[]) + is called when geofences are successfully added or failed to be added. + Refer to + onAddGeofencesResult(int, String[]) + for possible errors when adding geofences. +

+ When a geofence transition (for example, entering or exiting) matches one + of the transition filter (see + setTransitionTypes(int)) in the given geofence + list, an intent is generated using the given pending intent. You can call + getGeofenceTransition(Intent) to get the transition type of this + alert intent and call getTriggeringGeofences(Intent) to get the + geofences that triggered this intent. +

+ In case network location provider is disabled by the user, the geofence + service will stop updating, all registered geofences will be removed and + an intent is generated by the provided pending intent. In this case, + hasError(Intent) returns true and + getErrorCode(Intent) returns + GEOFENCE_NOT_AVAILABLE. +

+ This method requires + ACCESS_FINE_LOCATION.

+
+
Parameters
+ + + + + + + + + + +
geofences + a list of geofences to be added. The geofences must be + created using Geofence.Builder.
pendingIntent + a pending intent that will be used to generate an + intent when matched geofence transition is observed
listener + the callback that receives the status code for this + operation
+
+
+
Throws
+ + + + + + + + + + + + + +
SecurityException + if the app does not have + ACCESS_FINE_LOCATION + permission
IllegalStateException + if the connection to Google Play Store + Services hasn't been established
IllegalArgumentException + if geofences is null or + empty
NullPointerException + if intent or listener is + null +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + connect + () +

+
+
+ + + +
+
+ +

Connects the client to Google Play services. This method returns immediately, and connects to + the service in the background. If the connection is successful, + onConnected(Bundle) is called. On a + failure, onConnectionFailed(ConnectionResult) is called. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + disconnect + () +

+
+
+ + + +
+
+ +

Closes the connection to Google Play services. No calls can be made on this object + after calling this method.

+ +
+
+ + + + +
+

+ + public + static + + + + int + + getErrorCode + (Intent intent) +

+
+
+ + + +
+
+ +

Returns the error code that explains the error that triggered this + intent.

+
+
Parameters
+ + + + +
intent + the intent generated for alert
+
+
+
Returns
+ +
+ +
+
+ + + + +
+

+ + public + static + + + + int + + getGeofenceTransition + (Intent intent) +

+
+
+ + + +
+
+ +

Returns the transition type of geofence transition alert.

+
+
Parameters
+ + + + +
intent + the intent generated for geofence alert
+
+
+
Returns
+
  • -1 if the intent is not generated for transition alert; Otherwise + returns the GEOFENCE_TRANSITION_ flags value defined in + Geofence. +
+
+ +
+
+ + + + +
+

+ + public + + + + + Location + + getLastLocation + () +

+
+
+ + + +
+
+ +

Returns the best most recent location currently available. +

+ If a location is not available, which should happen very rarely, null will be returned. The + best accuracy available while respecting the location permissions will be returned. +

+ This method provides a simplified way to get location. It is particularly well suited for + applications that do not require an accurate location and that do not want to maintain extra + logic for location updates. +

+ +
+
+ + + + +
+

+ + public + static + + + + List<Geofence> + + getTriggeringGeofences + (Intent intent) +

+
+
+ + + +
+
+ +

Returns a list of geofences that triggers this geofence transition alert.

+
+
Parameters
+ + + + +
intent + the intent generated for geofence alert
+
+
+
Returns
+
  • a list of geofences that triggers this geofence transition alert + or null if the given intent is not generated for + geofence transition alert +
+
+ +
+
+ + + + +
+

+ + public + static + + + + boolean + + hasError + (Intent intent) +

+
+
+ + + +
+
+ +

Whether an error triggered this intent.

+
+
Parameters
+ + + + +
intent + the intent generated for alert
+
+
+
Returns
+
  • true if an error triggered this intent otherwise + false +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnected + () +

+
+
+ + + +
+
+ +

Checks if the client is currently connected to the service, so that + requests to other methods will succeed. Applications should guard + client actions caused by the user with a call to this method.

+
+
Returns
+
  • true If the client is connected to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionCallbacksRegistered + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + events.
+
+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isConnectionFailedListenerRegistered + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Returns true if the specified listener is currently registered to + receive connection failed events.

+
+
Parameters
+ + + + +
listener + The listener to check for.
+
+
+
Returns
+
  • true If the specified listener is currently registered to receive connection + failed events.
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection events from this GooglePlayServicesClient. + If we are already connected, the listener's onConnected(Bundle) method + will be called immediately. Applications should balance calls to this method with calls to + unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources. +

+ If the specified listener is already registered to receive connection events, this + method will not add a duplicate entry for the same listener, but will + still call the listener's onConnected(Bundle) method if currently + connected. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + registerConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Registers a listener to receive connection failed events from this + GooglePlayServicesClient. Unlike registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks), if we are not + already connected, the listener's onConnectionFailed(ConnectionResult) + method will not be called immediately. Applications should balance calls to this method with + calls to unregisterConnectionFailedListener(OnConnectionFailedListener) to avoid + leaking resources. +

+ If the specified listener is already registered to receive connection failed events, this + method will not add a duplicate entry for the same listener. +

+ Note that the order of messages received here may not be stable, so clients should not rely + on the order that multiple listeners receive events in.

+
+
Parameters
+ + + + +
listener + the listener where the results of the asynchronous connect() call are + delivered. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + removeGeofences + (List<String> geofenceRequestIds, LocationClient.OnRemoveGeofencesResultListener listener) +

+
+
+ + + +
+
+ +

Removes geofences by their request IDs. Request ID is specified when you + create a Geofence by calling + setRequestId(String). +

+ onRemoveGeofencesByRequestIdsResult(int, String[]) is called when geofences are successfully removed or failed to + be removed. +

+ This method requires + ACCESS_FINE_LOCATION.

+
+
Parameters
+ + + + + + + +
geofenceRequestIds + a list of request IDs of geofences that need to + be removed
listener + the callback that receives the status code for this + operation
+
+
+
Throws
+ + + + + + + + + + + + + +
IllegalArgumentException + if geofenceRequestIds is + null or empty
SecurityException + if the app does not have + ACCESS_FINE_LOCATION + permission
IllegalStateException + if the connection to Google Play Store + Services hasn't been established
NullPointerException + if listener is null +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + removeGeofences + (PendingIntent pendingIntent, LocationClient.OnRemoveGeofencesResultListener listener) +

+
+
+ + + +
+
+ +

Removes all geofences associated with the given pendingIntent. +

+ Warning: please use FLAG_UPDATE_CURRENT + rather than FLAG_CANCEL_CURRENT when + creating the pending intent, otherwise you will not get the same pending + intent you provided to + addGeofences(List, PendingIntent, OnAddGeofencesResultListener) + and thus the removal operation will remove nothing. +

+ onRemoveGeofencesByPendingIntentResult(int, PendingIntent) is called when geofences are successfully removed or fail + to be removed. +

+ This method requires + ACCESS_FINE_LOCATION.

+
+
Parameters
+ + + + + + + +
pendingIntent + the pending intent associated with the geofences + that need to be removed.
listener + the callback that receives the status code for this + operation
+
+
+
Throws
+ + + + + + + + + + +
SecurityException + if the app does not have + ACCESS_FINE_LOCATION + permission
IllegalStateException + if the connection to Google Play Store + Services hasn't been established
NullPointerException + if intent or listener is + null +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + removeLocationUpdates + (LocationListener listener) +

+
+
+ + + +
+
+ +

Removes all location updates for the given location listener.

+
+
Parameters
+ + + + +
listener + The listener to remove. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + removeLocationUpdates + (PendingIntent callbackIntent) +

+
+
+ + + +
+
+ +

Removes all location updates for the given pending intent.

+
+
Parameters
+ + + + +
callbackIntent + The callback intent to remove. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + requestLocationUpdates + (LocationRequest request, PendingIntent callbackIntent) +

+
+
+ + + +
+
+ +

Requests location updates with a callback on the specified PendingIntent. +

+ This method is suited for the background use cases, more specifically + for receiving location updates, even when the app has been killed by the system. In order to + do so, use a PendingIntent for a started service. For foreground use cases, the + LocationListener version of the method is recommended, see + requestLocationUpdates(LocationRequest, LocationListener). +

+ Any previous LocationRequests registered on this PendingIntent will be replaced. +

+ Location updates are sent with a key of KEY_LOCATION_CHANGED + and a Location value on the intent.

+
+
Parameters
+ + + + + + + +
request + The location request for the updates.
callbackIntent + A pending intent to be sent for each location update. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + requestLocationUpdates + (LocationRequest request, LocationListener listener) +

+
+
+ + + +
+
+ +

Requests location updates. +

+ This method is suited for the foreground use cases, more specifically + for requesting locations while being connected to LocationClient. For + background use cases, the PendingIntent version of the method is recommended, see + requestLocationUpdates(LocationRequest, PendingIntent). +

+ Any previous LocationRequests registered on this LocationListener will be replaced. +

+ Callbacks for LocationListener will be made on the calling thread, which must already be a + prepared looper thread, such as the main thread of the calling Activity. The variant of this + method with a Looper is recommended for cases where the callback needs to happen on + a specific thread. + See requestLocationUpdates(LocationRequest, LocationListener, android.os.Looper).

+
+
Parameters
+ + + + + + + +
request + The location request for the updates.
listener + The listener for the location updates. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + requestLocationUpdates + (LocationRequest request, LocationListener listener, Looper looper) +

+
+
+ + + +
+
+ +

Requests location updates with a callback on the specified Looper thread. +

+ This method is suited for the foreground use cases,more specifically + for requesting locations while being connected to LocationClient. For + background use cases, the PendingIntent version of the method is recommended, see + requestLocationUpdates(LocationRequest, PendingIntent). +

+ Any previous LocationRequests registered on this LocationListener will be replaced. +

+ Callbacks for LocationListener will be made on the specified thread, which must already be a + prepared looper thread. For cases where the callback can happen on the calling thread, the + variant of this method without a Looper can be used. See requestLocationUpdates(LocationRequest, LocationListener, android.os.Looper).

+
+
Parameters
+ + + + + + + + + + +
request + The location request for the updates.
listener + The listener for the location updates.
looper + The Looper object whose message queue will be used to implement the callback + mechanism, or null to make callbacks on the calling thread. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionCallbacks + (GooglePlayServicesClient.ConnectionCallbacks listener) +

+
+
+ + + +
+
+ +

Removes a connection listener from this GooglePlayServicesClient. Note that removing + a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection events, this + method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + unregisterConnectionFailedListener + (GooglePlayServicesClient.OnConnectionFailedListener listener) +

+
+
+ + + +
+
+ +

Removes a connection failed listener from the GooglePlayServicesClient. + Note that removing a listener does not generate any callbacks. +

+ If the specified listener is not currently registered to receive connection failed events, + this method will have no effect.

+
+
Parameters
+ + + + +
listener + the listener to unregister. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/LocationListener.html b/docs/html/reference/com/google/android/gms/location/LocationListener.html new file mode 100644 index 000000000000..4d9e81c4e700 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/LocationListener.html @@ -0,0 +1,875 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LocationListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

LocationListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.location.LocationListener
+ + + + + + + +
+ + +

Class Overview

+

Used for receiving notifications from the LocationClient when the location has changed. + The methods are called if the LocationListener has been registered with the location client + using the + requestLocationUpdates(LocationRequest, LocationListener) or + requestLocationUpdates(LocationRequest, LocationListener, Looper) methods. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onLocationChanged(Location location) + +
Called when the location has changed.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onLocationChanged + (Location location) +

+
+
+ + + +
+
+ +

Called when the location has changed.

+
+
Parameters
+ + + + +
location + The updated location. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/LocationRequest.html b/docs/html/reference/com/google/android/gms/location/LocationRequest.html new file mode 100644 index 000000000000..98d667a73220 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/LocationRequest.html @@ -0,0 +1,2565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LocationRequest | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

LocationRequest

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.LocationRequest
+ + + + + + + +
+ + +

Class Overview

+

A data object that contains quality of service parameters for requests to + the LocationClient. + +

LocationRequest objects are used to request a quality of service for location updates from + the LocationClient. + +

For example, if your application wants high accuracy location it should create a location + request with setPriority(int) set to PRIORITY_HIGH_ACCURACY and + setInterval(long) to 5 seconds. This would be appropriate for mapping applications that are + showing your location in real-time. + +

At the other extreme, if you want negligible power impact, but to still receive location + updates when available, then create a location request with setPriority(int) set to + PRIORITY_NO_POWER. With this request your application will not trigger (and therefore + will not receive any power blame) any location updates, but will receive locations triggered by + other applications. This would be appropriate for applications that have no firm requirement + for location, but can take advantage when available. + +

In between these two extremes is a very common use-case, where applications definitely want + to receive updates at a specified interval, and can receive them faster when available, but + still want a low power impact. These applications should consider + PRIORITY_BALANCED_POWER_ACCURACY combined with a faster + setFastestInterval(long) (such as 1 minute) and a slower setInterval(long) + (such as 60 minutes). They will only be assigned power blame for the interval set by + setInterval(long), but can still receive locations triggered by other applications at a rate + up to setFastestInterval(long). This style of request is appropriate for many location aware + applications, including background usage. Do be careful to also throttle + setFastestInterval(long) if you perform heavy-weight work after receiving an update - such + as using the network. + +

Activities should strongly consider removing all location request when entering + the background (for example at onPause()), or at least swap the + request to a larger interval and lower quality. + +

Applications cannot specify the exact location sources, such as GPS, that are used by the + LocationClient. In fact, the system may have multiple location sources (providers) running and + may fuse the results from several sources into a single Location object. + +

Location requests from applications with + ACCESS_COARSE_LOCATION and not + ACCESS_FINE_LOCATION will be automatically throttled to a + slower interval, and the location object will be obfuscated to only show a coarse level of + accuracy. + +

All location requests are considered hints, and you may receive locations that are more + accurate, less accurate, and slower than requested. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
StringNULL
intPRIORITY_BALANCED_POWER_ACCURACYUsed with setPriority(int) to request "block" level accuracy.
intPRIORITY_HIGH_ACCURACYUsed with setPriority(int) to request the most accurate locations available.
intPRIORITY_NO_POWERUsed with setPriority(int) to request the best accuracy possible with zero additional + power consumption.
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + LocationRequestCreatorCREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + static + + LocationRequest + + create() + +
Create a location request with default parameters.
+ +
+ + + + + + int + + describeContents() + +
+ + + + + + long + + getExpirationTime() + +
Get the request expiration time, in milliseconds since boot.
+ +
+ + + + + + long + + getFastestInterval() + +
Get the fastest interval of this request, in milliseconds.
+ +
+ + + + + + long + + getInterval() + +
Get the desired interval of this request, in milliseconds.
+ +
+ + + + + + int + + getNumUpdates() + +
Get the number of updates requested.
+ +
+ + + + + + int + + getPriority() + +
Get the quality of the request.
+ +
+ + + + + + float + + getSmallestDisplacement() + +
Get the minimum displacement between location updates in meters + +

By default this is 0.

+ +
+ + + + + + LocationRequest + + setExpirationDuration(long millis) + +
Set the duration of this request, in milliseconds.
+ +
+ + + + + + LocationRequest + + setExpirationTime(long millis) + +
Set the request expiration time, in millisecond since boot.
+ +
+ + + + + + LocationRequest + + setFastestInterval(long millis) + +
Explicitly set the fastest interval for location updates, in milliseconds.
+ +
+ + + + + + LocationRequest + + setInterval(long millis) + +
Set the desired interval for active location updates, in milliseconds.
+ +
+ + + + + + LocationRequest + + setNumUpdates(int numUpdates) + +
Set the number of location updates.
+ +
+ + + + + + LocationRequest + + setPriority(int priority) + +
Set the priority of the request.
+ +
+ + + + + + LocationRequest + + setSmallestDisplacement(float smallestDisplacementMeters) + +
Set the minimum displacement between location updates in meters + +

By default this is 0.

+ +
+ + + + + + String + + toString() + +
+ + + + + + void + + writeToParcel(Parcel parcel, int flags) + +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + NULL +

+
+ + + + +
+
+ +

+ + +
+ Constant Value: + + + "SAFE_PARCELABLE_NULL_STRING" + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + PRIORITY_BALANCED_POWER_ACCURACY +

+
+ + + + +
+
+ +

Used with setPriority(int) to request "block" level accuracy. + +

Block level accuracy is considered to be about 100 meter accuracy. Using a coarse + accuracy such as this often consumes less power. +

+ + +
+ Constant Value: + + + 102 + (0x00000066) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + PRIORITY_HIGH_ACCURACY +

+
+ + + + +
+
+ +

Used with setPriority(int) to request the most accurate locations available. + +

This will return the finest location available. +

+ + +
+ Constant Value: + + + 100 + (0x00000064) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + PRIORITY_NO_POWER +

+
+ + + + +
+
+ +

Used with setPriority(int) to request the best accuracy possible with zero additional + power consumption. + +

No locations will be returned unless a different client has requested location updates + in which case this request will act as a passive listener to those locations. +

+ + +
+ Constant Value: + + + 105 + (0x00000069) + + +
+ +
+
+ + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + LocationRequestCreator + + CREATOR +

+
+ + + + +
+
+ +

+ + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + static + + + + LocationRequest + + create + () +

+
+
+ + + +
+
+ +

Create a location request with default parameters. + +

Default parameters are for a block accuracy, slowly updated location. It can then be + adjusted as required by the applications before passing to the LocationClient.

+
+
Returns
+
  • a new location request +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + describeContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + long + + getExpirationTime + () +

+
+
+ + + +
+
+ +

Get the request expiration time, in milliseconds since boot. + +

This value can be compared to elapsedRealtime() to determine the time + until expiration.

+
+
Returns
+
  • expiration time of request, in milliseconds since boot including suspend +
+
+ +
+
+ + + + +
+

+ + public + + + + + long + + getFastestInterval + () +

+
+
+ + + +
+
+ +

Get the fastest interval of this request, in milliseconds. + +

The system will never provide location updates faster than the minimum of + getFastestInterval() and getInterval().

+
+
Returns
+
  • fastest interval in milliseconds, exact +
+
+ +
+
+ + + + +
+

+ + public + + + + + long + + getInterval + () +

+
+
+ + + +
+
+ +

Get the desired interval of this request, in milliseconds.

+
+
Returns
+
  • desired interval in milliseconds, inexact +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getNumUpdates + () +

+
+
+ + + +
+
+ +

Get the number of updates requested. + +

By default this is MAX_VALUE, which indicates that locations are updated + until the request is explicitly removed.

+
+
Returns
+
  • number of updates +
+
+ +
+
+ + + + +
+

+ + public + + + + + int + + getPriority + () +

+
+
+ + + +
+
+ +

Get the quality of the request.

+
+
Returns
+
  • an accuracy constant +
+
+ +
+
+ + + + +
+

+ + public + + + + + float + + getSmallestDisplacement + () +

+
+
+ + + +
+
+ +

Get the minimum displacement between location updates in meters + +

By default this is 0.

+
+
Returns
+
  • minimum displacement between location updates in meters +
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setExpirationDuration + (long millis) +

+
+
+ + + +
+
+ +

Set the duration of this request, in milliseconds. + +

The duration begins immediately (and not when the request is passed to the location + client), so call this method again if the request is re-used at a later time. + +

The location client will automatically stop updates after the request expires. + +

The duration includes suspend time. Values less than 0 are allowed, but indicate that + the request has already expired.

+
+
Parameters
+ + + + +
millis + duration of request in milliseconds
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setExpirationTime + (long millis) +

+
+
+ + + +
+
+ +

Set the request expiration time, in millisecond since boot. + +

This expiration time uses the same time base as elapsedRealtime(). + +

The location client will automatically stop updates after the request expires. + +

The duration includes suspend time. Values before elapsedRealtime() + are allowed, but indicate that the request has already expired.

+
+
Parameters
+ + + + +
millis + expiration time of request, in milliseconds since boot including suspend
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setFastestInterval + (long millis) +

+
+
+ + + +
+
+ +

Explicitly set the fastest interval for location updates, in milliseconds. + +

This controls the fastest rate at which your application will receive location updates, + which might be faster than setInterval(long) in some situations (for example, if other + applications are triggering location updates). + +

This allows your application to passively acquire locations at a rate faster than it + actively acquires locations, saving power. + +

Unlike setInterval(long), this parameter is exact. Your application will never + receive updates faster than this value. + +

If you don't call this method, a fastest interval will be selected for you. It will be + a value faster than your active interval (setInterval(long)). + +

An interval of 0 is allowed, but not recommended, since location updates may be + extremely fast on future implementations. + +

If setFastestInterval(long) is set slower than setInterval(long), then your + effective fastest interval is setInterval(long).

+
+
Parameters
+ + + + +
millis + fastest interval for updates in milliseconds, exact
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+
+
Throws
+ + + + +
IllegalArgumentException + if the interval is less than zero
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setInterval + (long millis) +

+
+
+ + + +
+
+ +

Set the desired interval for active location updates, in milliseconds. + +

The location client will actively try to obtain location updates for your application + at this interval, so it has a direct influence on the amount of power used by your + application. Choose your interval wisely. + +

This interval is inexact. You may not receive updates at all (if no location sources + are available), or you may receive them slower than requested. You may also receive them + faster than requested (if other applications are requesting location at a faster interval). + The fastest rate that that you will receive updates can be controlled with + setFastestInterval(long). By default this fastest rate is 6x the interval frequency. + +

Applications with only the coarse location permission may have their interval silently + throttled. + +

An interval of 0 is allowed, but not recommended, since location updates may be extremely + fast on future implementations. + +

setPriority(int) and setInterval(long) are the most important parameters + on a location request.

+
+
Parameters
+ + + + +
millis + desired interval in millisecond, inexact
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+
+
Throws
+ + + + +
IllegalArgumentException + if the interval is less than zero
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setNumUpdates + (int numUpdates) +

+
+
+ + + +
+
+ +

Set the number of location updates. + +

By default locations are continuously updated until the request is explicitly removed, + however you can optionally request a set number of updates. For example, if your + application only needs a single fresh location, then call this method with a value of 1 + before passing the request to the location client.

+
+
Parameters
+ + + + +
numUpdates + the number of location updates requested
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+
+
Throws
+ + + + +
IllegalArgumentException + if numUpdates is 0 or less
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setPriority + (int priority) +

+
+
+ + + +
+
+ +

Set the priority of the request. + +

Use with a priority constant such as PRIORITY_HIGH_ACCURACY. No other values + are accepted. + +

The priority of the request is a strong hint to the LocationClient for which location + sources to use. For example, PRIORITY_HIGH_ACCURACY is more likely to use GPS, and + PRIORITY_BALANCED_POWER_ACCURACY is more likely to use WIFI & Cell tower + positioning, but it also depends on many other factors (such as which sources are available) + and is implementation dependent. + +

setPriority(int) and setInterval(long) are the most important parameters + on a location request.

+
+
Parameters
+ + + + +
priority + an accuracy or power constant
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+
+
Throws
+ + + + +
IllegalArgumentException + if the quality constant is not valid
+
+ +
+
+ + + + +
+

+ + public + + + + + LocationRequest + + setSmallestDisplacement + (float smallestDisplacementMeters) +

+
+
+ + + +
+
+ +

Set the minimum displacement between location updates in meters + +

By default this is 0.

+
+
Parameters
+ + + + +
smallestDisplacementMeters + the smallest displacement in meters the user must move + between location updates.
+
+
+
Returns
+
  • the same object, so that setters can be chained +
+
+
+
Throws
+ + + + +
IllegalArgumentException + if smallestDisplacementMeters is negative
+
+ +
+
+ + + + +
+

+ + public + + + + + String + + toString + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + void + + writeToParcel + (Parcel parcel, int flags) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html b/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html new file mode 100644 index 000000000000..2659fd076634 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html @@ -0,0 +1,1304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +LocationStatusCodes | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

LocationStatusCodes

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.location.LocationStatusCodes
+ + + + + + + +
+ + +

Class Overview

+

Status codes that can be returned to listeners to indicate the success or failure of an + operation. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intERRORAn unspecified error occurred; no more specific information is available.
intGEOFENCE_NOT_AVAILABLEGeofence service is not available now.
intGEOFENCE_TOO_MANY_GEOFENCESYour app has registered more than 100 geofences.
intGEOFENCE_TOO_MANY_PENDING_INTENTSYou have provided more than 5 different PendingIntents to the + addGeofences(List, PendingIntent, OnAddGeofencesResultListener) call.
intSUCCESSThe operation was successful.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + ERROR +

+
+ + + + +
+
+ +

An unspecified error occurred; no more specific information is available. + The device logs may provide additional data. +

+ + +
+ Constant Value: + + + 1 + (0x00000001) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + GEOFENCE_NOT_AVAILABLE +

+
+ + + + +
+
+ +

Geofence service is not available now. Typically this is because the + user turned off location access in settings > location access. +

+ + +
+ Constant Value: + + + 1000 + (0x000003e8) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + GEOFENCE_TOO_MANY_GEOFENCES +

+
+ + + + +
+
+ +

Your app has registered more than 100 geofences. Remove unused ones + before adding new geofences. +

+ + +
+ Constant Value: + + + 1001 + (0x000003e9) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + GEOFENCE_TOO_MANY_PENDING_INTENTS +

+
+ + + + +
+
+ +

You have provided more than 5 different PendingIntents to the + addGeofences(List, PendingIntent, OnAddGeofencesResultListener) call. +

+ + +
+ Constant Value: + + + 1002 + (0x000003ea) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + SUCCESS +

+
+ + + + +
+
+ +

The operation was successful. +

+ + +
+ Constant Value: + + + 0 + (0x00000000) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/location/package-summary.html b/docs/html/reference/com/google/android/gms/location/package-summary.html new file mode 100644 index 000000000000..83626a418b13 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/location/package-summary.html @@ -0,0 +1,737 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.location | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.location

+
+ +
+ +
+ + + + + + + +

Interfaces

+
+ + + + + + + + + + + + + + + + + + +
GeofenceRepresents a geographical region, also known as a geofence. 
LocationClient.OnAddGeofencesResultListenerThe listener for receiving callbacks when the operation to add geofences + completes. 
LocationClient.OnRemoveGeofencesResultListenerThe listener for receiving callbacks when the operation to remove + geofences completes. 
LocationListenerUsed for receiving notifications from the LocationClient when the location has changed. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ActivityRecognitionClientThe main entry point for activity recognition integration. 
ActivityRecognitionResultResult of an activity recognition. 
DetectedActivityThe detected activity of the device with an an associated confidence. 
Geofence.BuilderA builder that builds Geofence
LocationClientThe LocationClient is the main entry point for location related APIs, + such as location and geofence. 
LocationRequestA data object that contains quality of service parameters for requests to + the LocationClient
LocationStatusCodesStatus codes that can be returned to listeners to indicate the success or failure of an + operation. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/maps/CameraUpdate.html b/docs/html/reference/com/google/android/gms/maps/CameraUpdate.html index 1f4d248a8e91..c885563af885 100644 --- a/docs/html/reference/com/google/android/gms/maps/CameraUpdate.html +++ b/docs/html/reference/com/google/android/gms/maps/CameraUpdate.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/CameraUpdateFactory.html b/docs/html/reference/com/google/android/gms/maps/CameraUpdateFactory.html index 547525f7771d..181478767cdc 100644 --- a/docs/html/reference/com/google/android/gms/maps/CameraUpdateFactory.html +++ b/docs/html/reference/com/google/android/gms/maps/CameraUpdateFactory.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html index df29ab10c858..8167f04b40e6 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html index 8eb3b147173e..8d7ea2a49179 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -622,7 +653,7 @@ onkeyup="return search_changed(event, false, '/')" />

Class Overview

-

Provides views for customized rendering of info-windows. +

Provides views for customized rendering of info windows.

Methods on this provider are called when it is time to show an info window for a marker, regardless of the cause (either a user gesture or a programmatic call to @@ -630,11 +661,19 @@ onkeyup="return search_changed(event, false, '/')" /> this provider may choose to reuse views, or it may choose to create new views on each method invocation.

- When constructing an info-window, methods in this class are called in a defined order. To - replace the default info-window, override getInfoWindow(Marker) with your custom rendering. - To replace just the info-window contents, inside the default info-window frame (the callout - bubble), leave the default implementation of getInfoWindow(Marker) in place and override - getInfoContents(Marker) instead. + When constructing an info window, methods in this class are called in a defined order. To + replace the default info window, override getInfoWindow(Marker) with your custom rendering + and return null for getInfoContents(Marker). To replace only the info window + contents inside the default info window frame (the callout bubble), return null in + getInfoWindow(Marker) and override getInfoContents(Marker) instead. + +

+

Developer Guide

+

+ For more information, read the + Info Windows + developer guide.

@@ -707,7 +746,7 @@ onkeyup="return search_changed(event, false, '/')" /> getInfoContents(Marker marker) -
Provides custom contents for the default info-window frame of a marker.
+
Provides custom contents for the default info window frame of a marker.
@@ -725,7 +764,7 @@ onkeyup="return search_changed(event, false, '/')" /> getInfoWindow(Marker marker) -
Provides a custom info-window for a marker.
+
Provides a custom info window for a marker.
@@ -801,11 +840,11 @@ onkeyup="return search_changed(event, false, '/')" />
-

Provides custom contents for the default info-window frame of a marker. This method is +

Provides custom contents for the default info window frame of a marker. This method is only called if getInfoWindow(Marker) first returns null. If this method returns - a view, it will be placed inside the default info-window frame. If you change this view + a view, it will be placed inside the default info window frame. If you change this view after this method is called, those changes will not necessarily be reflected in the - rendered info-window. If this method returns null, the default rendering will be + rendered info window. If this method returns null, the default rendering will be used instead.

Parameters
@@ -850,10 +889,10 @@ onkeyup="return search_changed(event, false, '/')" />
-

Provides a custom info-window for a marker. If this method returns a view, it is used for - the entire info-window. If you change this view after this method is called, those - changes will not necessarily be reflected in the rendered info-window. If this method - returns null , the default info-window frame will be used, with contents provided +

Provides a custom info window for a marker. If this method returns a view, it is used for + the entire info window. If you change this view after this method is called, those + changes will not necessarily be reflected in the rendered info window. If this method + returns null , the default info window frame will be used, with contents provided by getInfoContents(Marker).

Parameters
@@ -866,8 +905,8 @@ onkeyup="return search_changed(event, false, '/')" />
Returns
-
  • A custom info-window for marker, or null to use the default - info-window frame with custom contents. +
    • A custom info window for marker, or null to use the default + info window frame with custom contents.
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html index 86cfc56add32..e254d98b7cd8 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html index 178e576eb113..893e8552b5d7 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html index c4c45a4c2db6..8de4f4934f77 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html index 5cc433d77bf2..cf743538d75d 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html index 1e5a930c65ff..a6fd72553048 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html index dc323a44772f..62a01a930902 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html index 4c82ad54f280..5df41ddde636 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -619,12 +650,21 @@ onkeyup="return search_changed(event, false, '/')" />
+

+

+ This interface is deprecated.
+ use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. +

Class Overview

Callback interface for when the My Location dot/chevron (which signifies the user's location) - changes location. -

+ changes location.

diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMap.html b/docs/html/reference/com/google/android/gms/maps/GoogleMap.html index 766fb9c46b8f..c135e0eb2195 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMap.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMap.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -739,7 +770,7 @@ Summary: interface GoogleMap.InfoWindowAdapter - Provides views for customized rendering of info-windows.  + Provides views for customized rendering of info windows.  @@ -823,8 +854,15 @@ Summary: interface GoogleMap.OnMyLocationChangeListener - Callback interface for when the My Location dot/chevron (which signifies the user's location) - changes location.  + + This interface is deprecated. + use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. +  @@ -1082,7 +1120,7 @@ Summary: clear() -
Removes all markers, overlays, and polylines from the map.
+
Removes all markers, polylines, polygons, overlays, etc from the map.
@@ -1172,8 +1210,15 @@ Summary: getMyLocation() -
Returns the currently displayed user location, or null if there is no location data - available.
+
+ This method is deprecated. + use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. +
@@ -1498,7 +1543,15 @@ Summary: setOnMyLocationChangeListener(GoogleMap.OnMyLocationChangeListener listener) -
Sets a callback that's invoked when the my location dot changes location.
+
+ This method is deprecated. + use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. +
@@ -2452,7 +2505,7 @@ From class
-

Removes all markers, overlays, and polylines from the map.

+

Removes all markers, polylines, polygons, overlays, etc from the map.

@@ -2623,13 +2676,22 @@ From class
- +

+

+ This method is deprecated.
+ use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. + +

Returns the currently displayed user location, or null if there is no location data available.

Returns
- +
Throws
@@ -3345,15 +3407,24 @@ From class
- +

+

+ This method is deprecated.
+ use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. + +

Sets a callback that's invoked when the my location dot changes location.

Parameters
+
listener - The callback that's invoked when the my location dot changes. -The callback that's invoked when the my location dot changes.
diff --git a/docs/html/reference/com/google/android/gms/maps/GoogleMapOptions.html b/docs/html/reference/com/google/android/gms/maps/GoogleMapOptions.html index 7f1eefbfd706..2bbf88ee6e46 100644 --- a/docs/html/reference/com/google/android/gms/maps/GoogleMapOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/GoogleMapOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -816,7 +847,7 @@ android.os.Parcelable public static final - GoogleMapOptionsCreator + GoogleMapOptionsCreator CREATOR @@ -1218,6 +1249,8 @@ android.os.Parcelable zOrderOnTop(boolean zOrderOnTop) +
Control whether the map view's surface is placed on top of its window.
+ @@ -1615,7 +1648,7 @@ From interface public static final - GoogleMapOptionsCreator + GoogleMapOptionsCreator CREATOR @@ -2360,7 +2393,11 @@ From interface
-

+

Control whether the map view's surface is placed on top of its window. See + setZOrderOnTop(boolean) for more details. Note that this + will cover all other views that could appear on the map (e.g., the zoom controls, the my + location button). +

diff --git a/docs/html/reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html b/docs/html/reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html index 12df1cc8d9cd..e1ccd42be6cf 100644 --- a/docs/html/reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html +++ b/docs/html/reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/LocationSource.html b/docs/html/reference/com/google/android/gms/maps/LocationSource.html index bf3a050bd4c7..1834d6c663d0 100644 --- a/docs/html/reference/com/google/android/gms/maps/LocationSource.html +++ b/docs/html/reference/com/google/android/gms/maps/LocationSource.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/MapFragment.html b/docs/html/reference/com/google/android/gms/maps/MapFragment.html index 677a2b9ba35b..ebc1fe784be2 100644 --- a/docs/html/reference/com/google/android/gms/maps/MapFragment.html +++ b/docs/html/reference/com/google/android/gms/maps/MapFragment.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/MapView.html b/docs/html/reference/com/google/android/gms/maps/MapView.html index 6562b664b4da..8b4adc9b3dae 100644 --- a/docs/html/reference/com/google/android/gms/maps/MapView.html +++ b/docs/html/reference/com/google/android/gms/maps/MapView.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/MapsInitializer.html b/docs/html/reference/com/google/android/gms/maps/MapsInitializer.html index 054f453a7125..4e54840306b8 100644 --- a/docs/html/reference/com/google/android/gms/maps/MapsInitializer.html +++ b/docs/html/reference/com/google/android/gms/maps/MapsInitializer.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/Projection.html b/docs/html/reference/com/google/android/gms/maps/Projection.html index 4cca73a90974..5995daedc1c5 100644 --- a/docs/html/reference/com/google/android/gms/maps/Projection.html +++ b/docs/html/reference/com/google/android/gms/maps/Projection.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/SupportMapFragment.html b/docs/html/reference/com/google/android/gms/maps/SupportMapFragment.html index 5d98974e8a41..9533605a4508 100644 --- a/docs/html/reference/com/google/android/gms/maps/SupportMapFragment.html +++ b/docs/html/reference/com/google/android/gms/maps/SupportMapFragment.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -1415,6 +1446,22 @@ From class final + boolean + + + hasOptionsMenu() + + + + + + + + + + final + + int @@ -1424,7 +1471,7 @@ From class - + @@ -1440,7 +1487,7 @@ From class - + @@ -1456,7 +1503,7 @@ From class - + @@ -1472,7 +1519,7 @@ From class - + @@ -1488,7 +1535,7 @@ From class - + @@ -1504,7 +1551,7 @@ From class - + @@ -1520,6 +1567,22 @@ From class + + + + + final + + + boolean + + + isMenuVisible() + + + + + diff --git a/docs/html/reference/com/google/android/gms/maps/UiSettings.html b/docs/html/reference/com/google/android/gms/maps/UiSettings.html index f9617f3dfa8b..21e72b82eb2b 100644 --- a/docs/html/reference/com/google/android/gms/maps/UiSettings.html +++ b/docs/html/reference/com/google/android/gms/maps/UiSettings.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptor.html b/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptor.html index ce687bc5c57a..a6608a14a498 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptor.html +++ b/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptor.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html b/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html index a2beeefcf964..05d64d9c34a2 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html +++ b/docs/html/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.Builder.html b/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.Builder.html index 250f131b920d..d70dd9ad5c48 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.Builder.html +++ b/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.Builder.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.html b/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.html index de61676c4a0a..c4ea571978c6 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.html +++ b/docs/html/reference/com/google/android/gms/maps/model/CameraPosition.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -840,7 +871,7 @@ android.os.Parcelable public static final - CameraPositionCreator + CameraPositionCreator CREATOR @@ -1446,7 +1477,7 @@ From interface public static final - CameraPositionCreator + CameraPositionCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/Circle.html b/docs/html/reference/com/google/android/gms/maps/model/Circle.html index a2e1b58b4f6b..bd998264b1af 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/Circle.html +++ b/docs/html/reference/com/google/android/gms/maps/model/Circle.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -666,26 +697,30 @@ Summary:

Class Overview

A circle on the earth's surface (spherical cap). -

A circle has the following properties. +

A circle has the following properties.

Center
-
The center is specified as a LatLng. +
The center of the Circle is specified as a LatLng.
Radius
-
The radius is specified in meters. It should be zero or greater. +
The radius of the circle, specified in meters. It should be zero or greater.
Stroke Width
-
The width of the circle outline in screen pixels. +
The width of the circle's outline in screen pixels. The width is constant and independent of the camera's - zoom level.
+ zoom level. The default value is 10.
Stroke Color
The color of the circle outline in ARGB format, the same format used by - Color.
+ Color. The default value is black + (0xff000000).
Fill Color
The color of the circle fill in ARGB format, the same format used by - Color.
+ Color. The default value is transparent + (0x00000000).
Z-Index
-
The order in which this circle is drawn with respect to other overlays. An - overlay with a larger z-index is drawn over overlays with smaller z-indices. The order of - overlays with the same z-index value is arbitrary.
+
The order in which this tile overlay is drawn with respect to other overlays (including + GroundOverlays, TileOverlays, Polylines, and Polygons but + not Markers). An overlay with a larger z-index is drawn over overlays with smaller + z-indices. The order of overlays with the same z-index is arbitrary. + The default zIndex is 0.
Visibility
Indicates if the circle is visible or invisible, i.e., whether it is drawn on the map. An invisible polygon is not drawn, but retains all of its other properties. The default is @@ -693,7 +728,7 @@ Summary:

Methods that modify a Polygon must be called on the main thread. If not, an - IllegalStateException will be thrown at runtime. + IllegalStateException will be thrown at runtime.

Example

 GoogleMap map;
@@ -708,9 +743,15 @@ Summary:
 
  

Note that the current map renderer is unable to draw the circle fill - if the circle encompasses either North and/or South pole. However the + if the circle encompasses either the North or South pole. However, the outline will still be drawn correctly.

+ +

Developer Guide

+

+ For more information, read the Shapes + developer guide.

@@ -778,34 +819,18 @@ Summary: - boolean - - - equals(Object other) - - - - - - - - - - - - LatLng getCenter() -
Gets the center as a LatLng.
+
Returns the center as a LatLng.
- + @@ -817,13 +842,13 @@ Summary: getFillColor() -
Gets the fill color.
+
Returns the fill color of this Circle.
- + @@ -835,13 +860,13 @@ Summary: getId() -
Gets the id.
+
Returns this circle's id.
- + @@ -853,13 +878,13 @@ Summary: getRadius() -
Gets the radius in meters.
+
Returns the circle's radius, in meters.
- + @@ -871,13 +896,13 @@ Summary: getStrokeColor() -
Gets the stroke color.
+
Returns the stroke color.
- + @@ -889,13 +914,13 @@ Summary: getStrokeWidth() -
Gets the stroke width.
+
Returns the stroke width.
- + @@ -907,28 +932,12 @@ Summary: getZIndex() -
Gets the zIndex.
+
Returns the zIndex.
- - - - - - - - int - - - hashCode() - - - - - @@ -941,7 +950,7 @@ Summary: isVisible() -
Gets the visibility of this circle.
+
Checks whether the circle is visible.
@@ -959,7 +968,7 @@ Summary: remove() -
Removes from the map.
+
Removes this circle from the map.
@@ -1067,7 +1076,7 @@ Summary: setVisible(boolean visible) -
Sets the visibility.
+
Sets the visibility of the circle.
@@ -1348,35 +1357,6 @@ From class - - -
-

- - public - - - - - boolean - - equals - (Object other) -

-
-
- - - -
-
- -

- -
-
- -
@@ -1400,10 +1380,10 @@ From class
-

Gets the center as a LatLng.

+

Returns the center as a LatLng.

Returns
-
  • geographic center as a LatLng +
    • The geographic center as a LatLng.
@@ -1434,10 +1414,10 @@ From class
-

Gets the fill color.

+

Returns the fill color of this Circle.

Returns
-
  • color in the Color format +
    • The fill color of the circle in ARGB format.
@@ -1468,7 +1448,7 @@ From class
-

Gets the id. +

Returns this circle's id.

@@ -1498,10 +1478,10 @@ From class
-

Gets the radius in meters.

+

Returns the circle's radius, in meters.

Returns
-
  • radius in meters +
    • The radius in meters.
@@ -1532,10 +1512,10 @@ From class
-

Gets the stroke color.

+

Returns the stroke color.

Returns
-
  • color in the Color format +
    • The color of the circle in ARGB format.
@@ -1566,10 +1546,10 @@ From class
-

Gets the stroke width.

+

Returns the stroke width.

Returns
-
  • width in screen pixels +
    • The width in screen pixels.
@@ -1600,10 +1580,10 @@ From class
-

Gets the zIndex.

+

Returns the zIndex.

Returns
-
  • zIndex value +
    • The zIndex of this circle.
@@ -1611,35 +1591,6 @@ From class
- - -
-

- - public - - - - - int - - hashCode - () -

-
-
- - - -
-
- -

- -
-
- -
@@ -1663,10 +1614,10 @@ From class
-

Gets the visibility of this circle.

+

Checks whether the circle is visible.

Returns
-
  • false if the circle is invisible +
    • True if the circle is visible; false if it is invisible.
@@ -1697,7 +1648,7 @@ From class
-

Removes from the map. +

Removes this circle from the map.

@@ -1729,13 +1680,13 @@ From class

Sets the center using a LatLng. -

The center must not be null.

+

The center must not be null, as there is no default value.

Parameters
+
center - geographic center as a LatLngThe geographic center of the circle, specified as a LatLng.
@@ -1781,14 +1732,13 @@ From class

The fill color is the color inside the circle, in the integer format specified by Color. - If TRANSPARENT is used then no fill is - drawn.

+ If TRANSPARENT is used then no fill is drawn.

Parameters
color - color in the Color format + The color in the Color format.
@@ -1823,13 +1773,13 @@ From class

Sets the radius in meters. -

The radius must be zero or greater.

+

The radius must be zero or greater.

Parameters
+
radius - radius in metersThe radius, in meters.
@@ -1875,14 +1825,13 @@ From class

The stroke color is the color of this circle's outline, in the integer format specified by Color. - If TRANSPARENT is used then no outline is - drawn.

+ If TRANSPARENT is used then no outline is drawn.

Parameters
color - color in the Color format + The stroke color in the Color format.
@@ -1919,13 +1868,13 @@ From class

The stroke width is the width (in screen pixels) of the circle's outline. It must be zero or greater. If it is zero then no outline is - drawn.

+ drawn. The default value is 10.

Parameters
+
width - width in screen pixelsThe stroke width, in screen pixels.
@@ -1967,16 +1916,16 @@ From class
-

Sets the visibility. +

Sets the visibility of the circle. -

If this circle is not visible then it is not drawn, but all other - state is preserved.

+

If this circle is not visible then it will not be drawn. All other + state is preserved. Defaults to True.

Parameters
visible - false to make this circle invisible + false to make this circle invisible.
@@ -2012,13 +1961,13 @@ From class

Sets the zIndex.

Overlays (such as circles) with higher zIndices are drawn above - those with lower indices.

+ those with lower indices.

Parameters
zIndex - zIndex value + The zIndex value.
diff --git a/docs/html/reference/com/google/android/gms/maps/model/CircleOptions.html b/docs/html/reference/com/google/android/gms/maps/model/CircleOptions.html index 365a61628caf..af221e967aa4 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/CircleOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/model/CircleOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -690,7 +721,13 @@ Summary:

Class Overview

-

Options for a Circle. +

Defines options for a Circle. + +

Developer Guide

+

+ For more information, read the Shapes + developer guide.

@@ -810,7 +847,7 @@ android.os.Parcelable public static final - CircleOptionsCreator + CircleOptionsCreator CREATOR @@ -872,7 +909,7 @@ android.os.Parcelable CircleOptions - center(LatLng point) + center(LatLng center)
Sets the center using a LatLng.
@@ -887,22 +924,6 @@ android.os.Parcelable - int - - - describeContents() - - - - - - - - - - - - CircleOptions @@ -914,7 +935,7 @@ android.os.Parcelable - + @@ -926,13 +947,13 @@ android.os.Parcelable getCenter() -
Gets the center as a LatLng.
+
Returns the center as a LatLng.
- + @@ -944,13 +965,13 @@ android.os.Parcelable getFillColor() -
Gets the fill color.
+
Returns the fill color.
- + @@ -962,13 +983,13 @@ android.os.Parcelable getRadius() -
Gets the radius in meters.
+
Returns the circle's radius, in meters.
- + @@ -980,13 +1001,13 @@ android.os.Parcelable getStrokeColor() -
Gets the stroke color.
+
Returns the stroke color.
- + @@ -998,13 +1019,13 @@ android.os.Parcelable getStrokeWidth() -
Gets the stroke width.
+
Returns the stroke width.
- + @@ -1016,13 +1037,13 @@ android.os.Parcelable getZIndex() -
Gets the zIndex.
+
Returns the zIndex.
- + @@ -1034,13 +1055,13 @@ android.os.Parcelable isVisible() -
Gets the visibility of this circle.
+
Checks whether the circle is visible.
- + @@ -1058,7 +1079,7 @@ android.os.Parcelable - + @@ -1076,7 +1097,7 @@ android.os.Parcelable - + @@ -1094,7 +1115,7 @@ android.os.Parcelable - + @@ -1112,22 +1133,6 @@ android.os.Parcelable - - - - - - - - void - - - writeToParcel(Parcel out, int flags) - - - - - @@ -1503,7 +1508,7 @@ From interface public static final - CircleOptionsCreator + CircleOptionsCreator CREATOR @@ -1590,7 +1595,7 @@ From interface CircleOptions center - (LatLng point) + (LatLng center)
@@ -1602,9 +1607,18 @@ From interface

Sets the center using a LatLng. -

The center must not be null. +

The center must not be null.

-

This method is mandatory because there is no default center.

+

This method is mandatory because there is no default center.

+
+
Parameters
+ + + + +
center + The geographic center as a LatLng.
+
Returns
- - -
-

- - public - - - - - int - - describeContents - () -

-
-
- - - -
-
- -

- -
-
- -
@@ -1671,11 +1656,9 @@ From interface

The fill color is the color inside the circle, in the integer format specified by Color. - If TRANSPARENT is used then no fill is - drawn. + If TRANSPARENT is used then no fill is drawn. -

By default the fill color is - TRANSPARENT.

+

By default the fill color is transparent (0x00000000).

Parameters
@@ -1718,10 +1701,10 @@ From interface
-

Gets the center as a LatLng.

+

Returns the center as a LatLng.

Returns
-
  • geographic center as a LatLng +
    • The geographic center as a LatLng.
@@ -1752,10 +1735,10 @@ From interface
-

Gets the fill color.

+

Returns the fill color.

Returns
-
  • color in the Color format +
    • The color in the Color format.
@@ -1786,10 +1769,10 @@ From interface
-

Gets the radius in meters.

+

Returns the circle's radius, in meters.

Returns
-
  • radius in meters +
    • The radius in meters.
@@ -1820,10 +1803,10 @@ From interface
-

Gets the stroke color.

+

Returns the stroke color.

Returns
-
  • color in the Color format +
    • The color in the Color format.
@@ -1854,10 +1837,10 @@ From interface
-

Gets the stroke width.

+

Returns the stroke width.

Returns
-
  • width in screen pixels +
    • The width in screen pixels.
@@ -1888,10 +1871,10 @@ From interface
-

Gets the zIndex.

+

Returns the zIndex.

Returns
-
  • zIndex value +
    • The zIndex value.
@@ -1922,10 +1905,10 @@ From interface
-

Gets the visibility of this circle.

+

Checks whether the circle is visible.

Returns
-
  • false if the circle is invisible +
    • True if the circle is visible; false if it is invisible.
@@ -1958,9 +1941,7 @@ From interface

Sets the radius in meters. -

The radius must be zero or greater. - -

The default radius is zero.

+

The radius must be zero or greater. The default radius is zero.

Parameters
@@ -2007,10 +1988,9 @@ From interface

The stroke color is the color of this circle's outline, in the integer format specified by Color. - If TRANSPARENT is used then no outline is - drawn. + If TRANSPARENT is used then no outline is drawn.

-

By default the stroke color is BLACK.

+

By default the stroke color is black (0xff000000).

Parameters
@@ -2057,9 +2037,9 @@ From interface

The stroke width is the width (in screen pixels) of the circle's outline. It must be zero or greater. If it is zero then no outline is - drawn. + drawn.

-

The default width is 10 pixels.

+

The default width is 10 pixels.

Parameters
@@ -2125,35 +2105,6 @@ From interface - - -
-

- - public - - - - - void - - writeToParcel - (Parcel out, int flags) -

-
-
- - - -
-
- -

- -
-
- -
diff --git a/docs/html/reference/com/google/android/gms/maps/model/GroundOverlay.html b/docs/html/reference/com/google/android/gms/maps/model/GroundOverlay.html index 72bfa04679f9..7d956fb271d3 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/GroundOverlay.html +++ b/docs/html/reference/com/google/android/gms/maps/model/GroundOverlay.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/GroundOverlayOptions.html b/docs/html/reference/com/google/android/gms/maps/model/GroundOverlayOptions.html index 086d8385fcbd..5e11d6200414 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/GroundOverlayOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/model/GroundOverlayOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -816,7 +847,7 @@ android.os.Parcelable public static final - GroundOverlayOptionsCreator + GroundOverlayOptionsCreator
@@ -1656,7 +1687,7 @@ From interface public static final - GroundOverlayOptionsCreator + GroundOverlayOptionsCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/LatLng.html b/docs/html/reference/com/google/android/gms/maps/model/LatLng.html index fb40f548387e..6ec61eae895b 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/LatLng.html +++ b/docs/html/reference/com/google/android/gms/maps/model/LatLng.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -810,7 +841,7 @@ android.os.Parcelable public static final - LatLngCreator + LatLngCreator
@@ -1323,7 +1354,7 @@ From interface public static final - LatLngCreator + LatLngCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html b/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html index 54f488795d16..4ffc967c886c 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html +++ b/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.html b/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.html index 108f35e25f45..385e0f59d2eb 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.html +++ b/docs/html/reference/com/google/android/gms/maps/model/LatLngBounds.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -833,7 +864,7 @@ android.os.Parcelable public static final - LatLngBoundsCreator + LatLngBoundsCreator
@@ -1399,7 +1430,7 @@ From interface public static final - LatLngBoundsCreator + LatLngBoundsCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/Marker.html b/docs/html/reference/com/google/android/gms/maps/model/Marker.html index a53427ee5e01..1d2fbfa9626c 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/Marker.html +++ b/docs/html/reference/com/google/android/gms/maps/model/Marker.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -967,6 +998,24 @@ Summary: + void + +
+ + + + + + + + + + + MarkerOptionsCreator @@ -1528,7 +1559,7 @@ From interface public static final - MarkerOptionsCreator + MarkerOptionsCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/Polygon.html b/docs/html/reference/com/google/android/gms/maps/model/Polygon.html index ecdf717cbf14..ad02f21b14e7 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/Polygon.html +++ b/docs/html/reference/com/google/android/gms/maps/model/Polygon.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -689,9 +720,10 @@ Summary: correctly (see above for Outline and Holes), then no fill will be drawn.
Z-Index
The order in which this polygon is drawn with respect to other overlays, including - Polylines, GroundOverlays and TileOverlays, but not Markers. An - overlay with a larger z-index is drawn over overlays with smaller z-indices. The order of - overlays with the same z-index value is arbitrary. The default is 0.
+ Polylines, Circles, GroundOverlays and TileOverlays, but + not Markers. An overlay with a larger z-index is drawn over overlays with + smaller z-indices. The order of overlays with the same z-index value is arbitrary. + The default is 0.
Visibility
Indicates if the polygon is visible or invisible, i.e., whether it is drawn on the map. An invisible polygon is not drawn, but retains all of its other properties. The default is @@ -717,7 +749,7 @@ Summary:

Developer Guide

For more information, read the Polylines and Polygons + href="https://developers.google.com/maps/documentation/android/shapes">Shapes developer guide.

diff --git a/docs/html/reference/com/google/android/gms/maps/model/PolygonOptions.html b/docs/html/reference/com/google/android/gms/maps/model/PolygonOptions.html index bb9174129223..147da5a208bf 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/PolygonOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/model/PolygonOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -695,7 +726,7 @@ Summary:

Developer Guide

For more information, read the Polylines and Polygons + href="https://developers.google.com/maps/documentation/android/shapes">Shapes developer guide.

@@ -816,7 +847,7 @@ android.os.Parcelable public static final - PolygonOptionsCreator + PolygonOptionsCreator
@@ -1581,7 +1612,7 @@ From interface public static final - PolygonOptionsCreator + PolygonOptionsCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/Polyline.html b/docs/html/reference/com/google/android/gms/maps/model/Polyline.html index 9112485bac74..e32eb32484a9 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/Polyline.html +++ b/docs/html/reference/com/google/android/gms/maps/model/Polyline.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -682,10 +713,11 @@ Summary:
Line segment color in ARGB format, the same format used by Color. The default value is black (0xff000000).
Z-Index
-
The order in which this polyline is drawn with respect to other overlays, including - GroundOverlays and TileOverlays, but not Markers. An overlay with a - larger z-index is drawn over overlays with smaller z-indices. The order of overlays with the same - z-index value is arbitrary. The default is 0.
+
The order in which this tile overlay is drawn with respect to other overlays (including + GroundOverlays, TileOverlays, Circles, and Polygons but + not Markers). An overlay with a larger z-index is drawn over overlays with smaller + z-indices. The order of overlays with the same z-index is arbitrary. The default + zIndex is 0.
Visibility
Indicates if the polyline is visible or invisible, i.e., whether it is drawn on the map. An invisible polyline is not drawn, but retains all of its other properties. The default is @@ -711,7 +743,7 @@ Summary:

Developer Guide

For more information, read the Polylines and Polygons + href="https://developers.google.com/maps/documentation/android/shapes">Shapes developer guide.

diff --git a/docs/html/reference/com/google/android/gms/maps/model/PolylineOptions.html b/docs/html/reference/com/google/android/gms/maps/model/PolylineOptions.html index d691bf2309af..7f1f6daa31fd 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/PolylineOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/model/PolylineOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -695,7 +726,7 @@ Summary:

Developer Guide

For more information, read the Polylines and Polygons + href="https://developers.google.com/maps/documentation/android/shapes">Shapes developer guide.

@@ -816,7 +847,7 @@ android.os.Parcelable public static final - PolylineOptionsCreator + PolylineOptionsCreator
@@ -1507,7 +1538,7 @@ From interface public static final - PolylineOptionsCreator + PolylineOptionsCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/RuntimeRemoteException.html b/docs/html/reference/com/google/android/gms/maps/model/RuntimeRemoteException.html index 10cb1a9cacd4..1734b53809a3 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/RuntimeRemoteException.html +++ b/docs/html/reference/com/google/android/gms/maps/model/RuntimeRemoteException.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/Tile.html b/docs/html/reference/com/google/android/gms/maps/model/Tile.html index 62311c4d42f9..dfcee95d8026 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/Tile.html +++ b/docs/html/reference/com/google/android/gms/maps/model/Tile.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -810,7 +841,7 @@ android.os.Parcelable public static final - TileCreator + TileCreator
@@ -1284,7 +1315,7 @@ From interface public static final - TileCreator + TileCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/TileOverlay.html b/docs/html/reference/com/google/android/gms/maps/model/TileOverlay.html index f087b5bf6d1b..1b1381979f85 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/TileOverlay.html +++ b/docs/html/reference/com/google/android/gms/maps/model/TileOverlay.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -677,9 +708,10 @@ Summary:
Z-Index
The order in which this tile overlay is drawn with respect to other overlays (including - GroundOverlays and Polylines, but not Markers). An overlay with a larger - z-index is drawn over overlays with smaller z-indices. The order of overlays with the same - z-index is arbitrary. The default zIndex is 0.
+ GroundOverlays, Circles, Polylines, and Polygons but + not Markers). An overlay with a larger z-index is drawn over overlays with smaller + z-indices. The order of overlays with the same z-index is arbitrary. The default + zIndex is 0.
Visibility
Indicates if the tile overlay is visible or invisible, i.e., whether it is drawn on the map. An invisible tile overlay is not drawn, but retains all of its other properties. The default is diff --git a/docs/html/reference/com/google/android/gms/maps/model/TileOverlayOptions.html b/docs/html/reference/com/google/android/gms/maps/model/TileOverlayOptions.html index e2e9a3c1f46a..b6be73c51536 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/TileOverlayOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/model/TileOverlayOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -810,7 +841,7 @@ android.os.Parcelable public static final - TileOverlayOptionsCreator + TileOverlayOptionsCreator
@@ -1360,7 +1391,7 @@ From interface public static final - TileOverlayOptionsCreator + TileOverlayOptionsCreator CREATOR diff --git a/docs/html/reference/com/google/android/gms/maps/model/TileProvider.html b/docs/html/reference/com/google/android/gms/maps/model/TileProvider.html index 338b80384009..2f6ec4651868 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/TileProvider.html +++ b/docs/html/reference/com/google/android/gms/maps/model/TileProvider.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/UrlTileProvider.html b/docs/html/reference/com/google/android/gms/maps/model/UrlTileProvider.html index e4ef018507b6..9de704b41f55 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/UrlTileProvider.html +++ b/docs/html/reference/com/google/android/gms/maps/model/UrlTileProvider.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/VisibleRegion.html b/docs/html/reference/com/google/android/gms/maps/model/VisibleRegion.html index db190bb67808..f02098399193 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/VisibleRegion.html +++ b/docs/html/reference/com/google/android/gms/maps/model/VisibleRegion.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -813,7 +844,7 @@ android.os.Parcelable public static final - VisibleRegionCreator + VisibleRegionCreator
@@ -1359,7 +1390,7 @@ From interface public static final - VisibleRegionCreator + VisibleRegionCreator CREATOR @@ -1667,8 +1698,8 @@ From interface

Compares this VisibleRegion to another object. If the other object is actually a - pointer to this object, or if all four corners and the bounds of the two objects are the same, - this method returns true. Otherwise, this method returns false.

+ pointer to this object, or if all four corners and the bounds of the two objects are the + same, this method returns true. Otherwise, this method returns false.

Parameters
CREATOR
CREATOR
CREATOR
+ setAnchor(float anchorU, float anchorV) + +
Sets the anchor point for the marker.
+ +
+ + + + + void @@ -978,6 +1027,24 @@ Summary: +
+ + + + + + void + + setIcon(BitmapDescriptor icon) + +
Sets the icon for the marker.
+ +
@@ -1682,6 +1749,78 @@ From class + + +
+

+ + public + + + + + void + + setAnchor + (float anchorU, float anchorV) +

+
+
+ + + +
+
+ +

Sets the anchor point for the marker. +

+ The anchor specifies the point in the icon image that is anchored to the marker's + position on the Earth's surface. +

+ The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, + 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The + anchoring point in a W x H image is the nearest discrete grid point in + a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For + example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, + 1). +

+ *-----+-----+-----+-----*
+ |     |     |     |     |
+ |     |     |     |     |
+ +-----+-----+-----+-----+
+ |     |     |   X |     |   (U, V) = (0.7, 0.6)
+ |     |     |     |     |
+ *-----+-----+-----+-----*
+
+ *-----+-----+-----+-----*
+ |     |     |     |     |
+ |     |     |     |     |
+ +-----+-----+-----X-----+   (X, Y) = (3, 1)
+ |     |     |     |     |
+ |     |     |     |     |
+ *-----+-----+-----+-----*
+ 

+
+
Parameters
+ + + + + + + +
anchorU + u-coordinate of the anchor, as a ratio of the image width + (in the range [0, 1])
anchorV + v-coordinate of the anchor, as a ratio of the image height + (in the range [0, 1]) +
+
+ +
+
+ +
@@ -1713,6 +1852,45 @@ From class
+ + +
+

+ + public + + + + + void + + setIcon + (BitmapDescriptor icon) +

+
+
+ + + +
+
+ +

Sets the icon for the marker.

+
+
Parameters
+ + + + +
icon + if null, the default marker is used. +
+
+ +
+
+ +
diff --git a/docs/html/reference/com/google/android/gms/maps/model/MarkerOptions.html b/docs/html/reference/com/google/android/gms/maps/model/MarkerOptions.html index ad3dc3f6cb6e..e2b56861453d 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/MarkerOptions.html +++ b/docs/html/reference/com/google/android/gms/maps/model/MarkerOptions.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -817,7 +848,7 @@ android.os.Parcelable public static final - MarkerOptionsCreator
CREATOR
CREATOR
CREATOR
CREATOR
CREATOR
CREATOR
diff --git a/docs/html/reference/com/google/android/gms/maps/model/package-summary.html b/docs/html/reference/com/google/android/gms/maps/model/package-summary.html index 8c6486cbc305..e93983421017 100644 --- a/docs/html/reference/com/google/android/gms/maps/model/package-summary.html +++ b/docs/html/reference/com/google/android/gms/maps/model/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -632,7 +663,7 @@ onkeyup="return search_changed(event, false, '/')" />
- + diff --git a/docs/html/reference/com/google/android/gms/maps/package-summary.html b/docs/html/reference/com/google/android/gms/maps/package-summary.html index 263bd532db15..f89aaf9e6934 100644 --- a/docs/html/reference/com/google/android/gms/maps/package-summary.html +++ b/docs/html/reference/com/google/android/gms/maps/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -602,7 +633,7 @@ onkeyup="return search_changed(event, false, '/')" />
- + @@ -630,8 +661,15 @@ onkeyup="return search_changed(event, false, '/')" /> - + diff --git a/docs/html/reference/com/google/android/gms/package-summary.html b/docs/html/reference/com/google/android/gms/package-summary.html index 6abdd9304c64..f5a97072d16d 100644 --- a/docs/html/reference/com/google/android/gms/package-summary.html +++ b/docs/html/reference/com/google/android/gms/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -602,6 +633,14 @@ onkeyup="return search_changed(event, false, '/')" />
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.OnPanoramaInfoLoadedListener.html b/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.OnPanoramaInfoLoadedListener.html index 7f1c989226f4..f2b492fe939f 100644 --- a/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.OnPanoramaInfoLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.OnPanoramaInfoLoadedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.html b/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.html index 3bc161ab3f22..f96bd7487c31 100644 --- a/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.html +++ b/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -686,7 +717,7 @@ Summary: Use the PanoramaClient after the asynchronous connect() method has been called and your listener's - onConnected() + onConnected(Bundle) method is called.

When your app is done using PanoramaClient, call disconnect(), @@ -866,6 +897,24 @@ Summary: + boolean + +

+ + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/plus/PlusClient.Builder.html b/docs/html/reference/com/google/android/gms/plus/PlusClient.Builder.html index 8f741609f379..0879bdc04a88 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusClient.Builder.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusClient.Builder.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -767,6 +798,8 @@ Summary:
@@ -1179,7 +1212,8 @@ From class
-

+

Creates a new PlusClient. +

@@ -1238,15 +1272,16 @@ From class
-

Specify an account name on the device that should be used. - If an account name is not specified, DEFAULT_ACCOUNT will be used.

+

Specify an account name on the device that should be used. If this is never called, the + client will use the current default account for Google Play services for this + application.

Parameters
CircleOptionsOptions for a CircleDefines options for a Circle
GroundOverlay
GoogleMap.InfoWindowAdapterProvides views for customized rendering of info-windows. Provides views for customized rendering of info windows. 
GoogleMap.OnCameraChangeListener
GoogleMap.OnMyLocationChangeListenerCallback interface for when the My Location dot/chevron (which signifies the user's location) - changes location.  + This interface is deprecated. + use LocationClient instead. + LocationClient provides improved location finding and power usage and is used by the + "My Location" blue dot. See the MyLocationDemoActivity in the sample applications folder + for example example code, or the + + Location Developer Guide. + 
LocationSource R.attr  
R.color 
R.drawable 
R.id   + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ + + + + boolean @@ -878,7 +927,7 @@ Summary: -
@@ -897,7 +946,7 @@ Summary: -
@@ -915,7 +964,7 @@ Summary: -
@@ -933,7 +982,7 @@ Summary: -
@@ -951,7 +1000,7 @@ Summary: -
@@ -970,7 +1019,7 @@ Summary: -
@@ -988,7 +1037,7 @@ Summary: -
@@ -1304,6 +1353,24 @@ From interface + boolean + + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ +
+ abstract + + + + boolean @@ -1316,7 +1383,7 @@ From interface -
abstract @@ -1335,7 +1402,7 @@ From interface -
abstract @@ -1353,7 +1420,7 @@ From interface -
abstract @@ -1372,7 +1439,7 @@ From interface -
abstract @@ -1390,7 +1457,7 @@ From interface -
abstract @@ -1535,8 +1602,8 @@ From interface

Connects the client to Google Play services. This method returns immediately, and connects to the service in the background. If the connection is successful, - onConnected() is called. On a failure, - onConnectionFailed(ConnectionResult) is called. + onConnected(Bundle) is called. On a + failure, onConnectionFailed(ConnectionResult) is called.

@@ -1609,6 +1676,40 @@ From interface + + +
+

+ + public + + + + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ +
@@ -1812,13 +1913,13 @@ From interface

Registers a listener to receive connection events from this GooglePlayServicesClient. - If we are already connected, the listener's onConnected() method + If we are already connected, the listener's onConnected(Bundle) method will be called immediately. Applications should balance calls to this method with calls to unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources.

If the specified listener is already registered to receive connection events, this method will not add a duplicate entry for the same listener, but will - still call the listener's onConnected() method if currently + still call the listener's onConnected(Bundle) method if currently connected.

Note that the order of messages received here may not be stable, so clients should not rely diff --git a/docs/html/reference/com/google/android/gms/panorama/package-summary.html b/docs/html/reference/com/google/android/gms/panorama/package-summary.html index 11902d41797a..636b31112c92 100644 --- a/docs/html/reference/com/google/android/gms/panorama/package-summary.html +++ b/docs/html/reference/com/google/android/gms/panorama/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +

diff --git a/docs/html/reference/com/google/android/gms/plus/GooglePlusUtil.html b/docs/html/reference/com/google/android/gms/plus/GooglePlusUtil.html index 8fed79cafe93..78d71be7caed 100644 --- a/docs/html/reference/com/google/android/gms/plus/GooglePlusUtil.html +++ b/docs/html/reference/com/google/android/gms/plus/GooglePlusUtil.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -1406,7 +1437,7 @@ From class
requestCode - The requestCode given when calling + The non-negative request code given when calling startActivityForResult(Intent, int).
build() +
Creates a new PlusClient.
+
accountName The account name on the device that should be used by - PlusClient. + PlusClient.
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnAccessRevokedListener.html b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnAccessRevokedListener.html index 54d9ec8684d4..43b0b2d3ef3f 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnAccessRevokedListener.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnAccessRevokedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnMomentsLoadedListener.html b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnMomentsLoadedListener.html index c334eb5355ed..1c4ab55f0f1e 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnMomentsLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnMomentsLoadedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPeopleLoadedListener.html b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPeopleLoadedListener.html index 9a94cd9c73cf..56505d778e91 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPeopleLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPeopleLoadedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPersonLoadedListener.html b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPersonLoadedListener.html index cdba9198c93f..70ad1190cbf5 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPersonLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusClient.OnPersonLoadedListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusClient.html b/docs/html/reference/com/google/android/gms/plus/PlusClient.html index c64d6deccd97..454050ca140f 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusClient.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusClient.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -686,7 +717,7 @@ Summary: Use the PlusClient after the asynchronous connect() method has been called and your listener's - onConnected() + onConnected(android.os.Bundle) method is called.

When your app is done using PlusClient, call disconnect(), even if the async @@ -810,14 +841,6 @@ Summary: - String - DEFAULT_ACCOUNT - Specify <> as the account name to indicate that the default account - on the device should be used. - - - - String KEY_REQUEST_VISIBLE_ACTIVITIES Bundle key for specifying which user's app activity (moment) types can be written to Google. @@ -964,6 +987,24 @@ Summary: + boolean + + + isConnecting() + +

Checks if the client is attempting to connect to the service.
+ + + + + + + + + + + + boolean @@ -976,7 +1017,7 @@ Summary: - + @@ -995,7 +1036,7 @@ Summary: - + @@ -1013,7 +1054,7 @@ Summary: - + @@ -1031,7 +1072,7 @@ Summary: - + @@ -1049,7 +1090,7 @@ Summary: - + @@ -1067,7 +1108,7 @@ Summary: - + @@ -1085,7 +1126,7 @@ Summary: - + @@ -1103,7 +1144,7 @@ Summary: - + @@ -1122,7 +1163,7 @@ Summary: - + @@ -1140,7 +1181,7 @@ Summary: - + @@ -1158,7 +1199,7 @@ Summary: - + @@ -1176,7 +1217,7 @@ Summary: - + @@ -1194,7 +1235,7 @@ Summary: - + @@ -1510,6 +1551,24 @@ From interface + boolean + + + isConnecting() + +
Checks if the client is attempting to connect to the service.
+ + + + + + + + abstract + + + + boolean @@ -1522,7 +1581,7 @@ From interface - + abstract @@ -1541,7 +1600,7 @@ From interface - + abstract @@ -1559,7 +1618,7 @@ From interface - + abstract @@ -1578,7 +1637,7 @@ From interface - + abstract @@ -1596,7 +1655,7 @@ From interface - + abstract @@ -1648,45 +1707,6 @@ From interface - - -
-

- - public - static - final - String - - DEFAULT_ACCOUNT -

-
- - - - -
-
- -

Specify <> as the account name to indicate that the default account - on the device should be used. -

- - -
- Constant Value: - - - "<>" - - -
- -
-
- - -
@@ -1709,11 +1729,11 @@ From interface

Bundle key for specifying which user's app activity (moment) types can be written to Google. The list of activity types are represented as a space-separated string passed in the extras - Bundle when calling ERROR(/GoogleAuthUtil#getToken(Context, String, String, Bundle)). + Bundle when calling getToken(Context, String, String, Bundle).

This bundle key should be included in the extras Bundle when calling - ERROR(/GoogleAuthUtil#getToken(Context, String, String, Bundle)) and should only be used when + getToken(Context, String, String, Bundle) and should only be used when requesting the PLUS_LOGIN OAuth 2.0 scope. See Types of moments @@ -1822,8 +1842,8 @@ From interface

Connects the client to Google Play services. This method returns immediately, and connects to the service in the background. If the connection is successful, - onConnected() is called. On a failure, - onConnectionFailed(ConnectionResult) is called. + onConnected(Bundle) is called. On a + failure, onConnectionFailed(ConnectionResult) is called.

@@ -1985,6 +2005,40 @@ From interface
+ + +
+

+ + public + + + + + boolean + + isConnecting + () +

+
+
+ + + +
+
+ +

Checks if the client is attempting to connect to the service.

+
+
Returns
+
  • true If the client is attempting to connect to the service. +
+
+ +
+
+ +
@@ -2392,13 +2446,13 @@ From interface

Registers a listener to receive connection events from this GooglePlayServicesClient. - If we are already connected, the listener's onConnected() method + If we are already connected, the listener's onConnected(Bundle) method will be called immediately. Applications should balance calls to this method with calls to unregisterConnectionCallbacks(ConnectionCallbacks) to avoid leaking resources.

If the specified listener is already registered to receive connection events, this method will not add a duplicate entry for the same listener, but will - still call the listener's onConnected() method if currently + still call the listener's onConnected(Bundle) method if currently connected.

Note that the order of messages received here may not be stable, so clients should not rely diff --git a/docs/html/reference/com/google/android/gms/plus/PlusOneButton.OnPlusOneClickListener.html b/docs/html/reference/com/google/android/gms/plus/PlusOneButton.OnPlusOneClickListener.html index 045f920a95ff..ff5c33b2a26f 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusOneButton.OnPlusOneClickListener.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusOneButton.OnPlusOneClickListener.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +

diff --git a/docs/html/reference/com/google/android/gms/plus/PlusOneButton.html b/docs/html/reference/com/google/android/gms/plus/PlusOneButton.html index 35acaf86f393..c290940b0368 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusOneButton.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusOneButton.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusShare.Builder.html b/docs/html/reference/com/google/android/gms/plus/PlusShare.Builder.html index 7b1b28666f03..ad000929bc0b 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusShare.Builder.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusShare.Builder.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -1490,7 +1521,7 @@ From class

Adds a call-to-action button for an interactive post. To use this method, you must have passed a signed-in PlusClient to the - ERROR(/PlusShare.Builder#Builder(Activity, PlusClient)) constructor or an + Builder.Builder(Activity, PlusClient) constructor or an IllegalStateException will be thrown.

Parameters
@@ -1504,13 +1535,12 @@ From class uri The URL to link to when the user clicks the call-to-action. This parameter - or deepLinkId (or both) is required. + is required. deepLinkId A deep-link ID to send to mobile clients when the user - clicks the call-to-action. This parameter or uri (or both) is - required. + clicks the call-to-action. This parameter is optional. @@ -1729,7 +1759,9 @@ From class
-

Sets a URL to link to from the content on the web.

+

Sets a URL to link to from the content on the web. The content URL is required when + used in conjunction with addCallToAction(String, Uri, String) to build an + interactive post, and to provide the user context for the call-to-action button.

Parameters
diff --git a/docs/html/reference/com/google/android/gms/plus/PlusShare.html b/docs/html/reference/com/google/android/gms/plus/PlusShare.html index 6b6b22128f9c..ff03435f75c3 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusShare.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusShare.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html b/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html index 04eae6751e8f..9b76f176fa1d 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html +++ b/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.html b/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.html index e3e9f98b9a83..dee86bbde53c 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.html +++ b/docs/html/reference/com/google/android/gms/plus/model/moments/ItemScope.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.Builder.html b/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.Builder.html index e57916ae3bc5..a61e1fb7ca02 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.Builder.html +++ b/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.Builder.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.html b/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.html index 594956057012..509e8dca8909 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.html +++ b/docs/html/reference/com/google/android/gms/plus/model/moments/Moment.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/moments/MomentBuffer.html b/docs/html/reference/com/google/android/gms/plus/model/moments/MomentBuffer.html index fd82cecc60d6..96bdd0a00ed0 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/moments/MomentBuffer.html +++ b/docs/html/reference/com/google/android/gms/plus/model/moments/MomentBuffer.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -571,8 +602,6 @@ onkeyup="return search_changed(event, false, '/')" /> - - @@ -601,13 +630,10 @@ Summary: - Inherited Fields - - - | Methods + Methods @@ -745,53 +771,6 @@ Summary: - - -
- - - - - - - - - - -
- [Expand] -
Inherited Fields
- - From class -com.google.android.gms.common.data.DataBuffer -
- - -
-
- @@ -930,6 +909,22 @@ From class + boolean + +
+ isClosed() + + + + + + + + + + + + Iterator<T> diff --git a/docs/html/reference/com/google/android/gms/plus/model/moments/package-summary.html b/docs/html/reference/com/google/android/gms/plus/model/moments/package-summary.html index 0d4416c33992..79aad6af12b6 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/moments/package-summary.html +++ b/docs/html/reference/com/google/android/gms/plus/model/moments/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.AgeRange.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.AgeRange.html index b1b314fda1bd..3b4901f341f7 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.AgeRange.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.AgeRange.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Collection.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Collection.html index e8906fa43865..5db33dba1632 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Collection.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Collection.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html index daa07d897d78..268bd44fca9e 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html index 67661f690351..c74a8b63b90d 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html index 747221b4e2fc..a01f11dab747 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.html index e2466ff61b1b..07a72b273e2d 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Cover.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.Type.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.Type.html index a993283ded56..134c7db69c08 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.Type.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.Type.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.html index dce53c047200..35d89633dc52 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Emails.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Gender.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Gender.html index 9e974ee319f0..7e4dfc133642 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Gender.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Gender.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Image.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Image.html index af517b7385ef..06a7d32e02b3 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Image.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Image.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Name.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Name.html index 754131a2bf51..f128e0d5001c 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Name.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Name.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.ObjectType.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.ObjectType.html index 8a2f3927b75a..d913f5a14365 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.ObjectType.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.ObjectType.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.OrderBy.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.OrderBy.html index fc3e3e00904b..eb8a5adaf2a1 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.OrderBy.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.OrderBy.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html index 6161b8ab510d..c0abcc276e1a 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.html index 903c64ee487e..461b712acf32 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Organizations.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html index 210bc4adbaf9..8e0ba7355fdd 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html index 53c68313d04b..8ef90fbd852e 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html index 6c4dac4a1937..fea8e863abcf 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.html index 17f46479fb91..5a2558511c0d 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.Urls.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/Person.html b/docs/html/reference/com/google/android/gms/plus/model/people/Person.html index 806cbf8e9076..ec19569445e2 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/Person.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/Person.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/PersonBuffer.html b/docs/html/reference/com/google/android/gms/plus/model/people/PersonBuffer.html index 690a3bb233e0..ddab2a65aef8 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/PersonBuffer.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/PersonBuffer.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -571,8 +602,6 @@ onkeyup="return search_changed(event, false, '/')" /> - - @@ -601,13 +630,10 @@ Summary: - Inherited Fields - - - | Methods + Methods @@ -745,53 +771,6 @@ Summary: - - - - - - - - - - - - - -
- [Expand] -
Inherited Fields
- - From class -com.google.android.gms.common.data.DataBuffer -
- - -
-
- @@ -930,6 +909,22 @@ From class + boolean + + + isClosed() + + + + + + +
+ + + + + Iterator<T> diff --git a/docs/html/reference/com/google/android/gms/plus/model/people/package-summary.html b/docs/html/reference/com/google/android/gms/plus/model/people/package-summary.html index 8cbc1dc92f82..4f3f614c9be6 100644 --- a/docs/html/reference/com/google/android/gms/plus/model/people/package-summary.html +++ b/docs/html/reference/com/google/android/gms/plus/model/people/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/com/google/android/gms/plus/package-summary.html b/docs/html/reference/com/google/android/gms/plus/package-summary.html index e8bf2a667dac..553fc0c9c871 100644 --- a/docs/html/reference/com/google/android/gms/plus/package-summary.html +++ b/docs/html/reference/com/google/android/gms/plus/package-summary.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/gcm-packages.html b/docs/html/reference/gcm-packages.html index ccc33e56ee04..31357d2baa0e 100644 --- a/docs/html/reference/gcm-packages.html +++ b/docs/html/reference/gcm-packages.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
diff --git a/docs/html/reference/gcm_lists.js b/docs/html/reference/gcm_lists.js index b037dbe8d0a2..0085216ba216 100644 --- a/docs/html/reference/gcm_lists.js +++ b/docs/html/reference/gcm_lists.js @@ -1,18 +1,16 @@ var GCM_DATA = [ - { id:0, label:"com.google.android.gcm", link:"reference/com/google/android/gcm/package-summary.html", type:"package" }, - { id:1, label:"com.google.android.gcm.GCMBaseIntentService", link:"reference/com/google/android/gcm/GCMBaseIntentService.html", type:"class" }, - { id:2, label:"com.google.android.gcm.GCMBroadcastReceiver", link:"reference/com/google/android/gcm/GCMBroadcastReceiver.html", type:"class" }, - { id:3, label:"com.google.android.gcm.GCMConstants", link:"reference/com/google/android/gcm/GCMConstants.html", type:"class" }, - { id:4, label:"com.google.android.gcm.GCMRegistrar", link:"reference/com/google/android/gcm/GCMRegistrar.html", type:"class" }, - { id:5, label:"com.google.android.gcm.server", link:"reference/com/google/android/gcm/server/package-summary.html", type:"package" }, - { id:6, label:"com.google.android.gcm.server.Constants", link:"reference/com/google/android/gcm/server/Constants.html", type:"class" }, - { id:7, label:"com.google.android.gcm.server.InvalidRequestException", link:"reference/com/google/android/gcm/server/InvalidRequestException.html", type:"class" }, - { id:8, label:"com.google.android.gcm.server.Message", link:"reference/com/google/android/gcm/server/Message.html", type:"class" }, - { id:9, label:"com.google.android.gcm.server.Message.Builder", link:"reference/com/google/android/gcm/server/Message.Builder.html", type:"class" }, - { id:10, label:"com.google.android.gcm.server.MulticastResult", link:"reference/com/google/android/gcm/server/MulticastResult.html", type:"class" }, - { id:11, label:"com.google.android.gcm.server.MulticastResult.Builder", link:"reference/com/google/android/gcm/server/MulticastResult.Builder.html", type:"class" }, - { id:12, label:"com.google.android.gcm.server.Result", link:"reference/com/google/android/gcm/server/Result.html", type:"class" }, - { id:13, label:"com.google.android.gcm.server.Result.Builder", link:"reference/com/google/android/gcm/server/Result.Builder.html", type:"class" }, - { id:14, label:"com.google.android.gcm.server.Sender", link:"reference/com/google/android/gcm/server/Sender.html", type:"class" } + { id:0, label:"com.google.android.gcm", link:"reference/com/google/android/gcm/package-summary.html", type:"package", deprecated:"false" }, + { id:1, label:"com.google.android.gcm.GCMBaseIntentService", link:"reference/com/google/android/gcm/GCMBaseIntentService.html", type:"class", deprecated:"false" }, + { id:2, label:"com.google.android.gcm.GCMBroadcastReceiver", link:"reference/com/google/android/gcm/GCMBroadcastReceiver.html", type:"class", deprecated:"false" }, + { id:3, label:"com.google.android.gcm.GCMConstants", link:"reference/com/google/android/gcm/GCMConstants.html", type:"class", deprecated:"false" }, + { id:4, label:"com.google.android.gcm.GCMRegistrar", link:"reference/com/google/android/gcm/GCMRegistrar.html", type:"class", deprecated:"false" }, + { id:5, label:"com.google.android.gcm.server", link:"reference/com/google/android/gcm/server/package-summary.html", type:"package", deprecated:"false" }, + { id:6, label:"com.google.android.gcm.server.Constants", link:"reference/com/google/android/gcm/server/Constants.html", type:"class", deprecated:"false" }, + { id:7, label:"com.google.android.gcm.server.InvalidRequestException", link:"reference/com/google/android/gcm/server/InvalidRequestException.html", type:"class", deprecated:"false" }, + { id:8, label:"com.google.android.gcm.server.Message", link:"reference/com/google/android/gcm/server/Message.html", type:"class", deprecated:"false" }, + { id:9, label:"com.google.android.gcm.server.Message.Builder", link:"reference/com/google/android/gcm/server/Message.Builder.html", type:"class", deprecated:"false" }, + { id:10, label:"com.google.android.gcm.server.MulticastResult", link:"reference/com/google/android/gcm/server/MulticastResult.html", type:"class", deprecated:"false" }, + { id:11, label:"com.google.android.gcm.server.Result", link:"reference/com/google/android/gcm/server/Result.html", type:"class", deprecated:"false" }, + { id:12, label:"com.google.android.gcm.server.Sender", link:"reference/com/google/android/gcm/server/Sender.html", type:"class", deprecated:"false" } ]; diff --git a/docs/html/reference/gms-packages.html b/docs/html/reference/gms-packages.html index d3ed0ec74ce0..9465ceec15bc 100644 --- a/docs/html/reference/gms-packages.html +++ b/docs/html/reference/gms-packages.html @@ -75,6 +75,9 @@ + + + @@ -92,16 +95,10 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium - - - - + +
@@ -568,9 +599,7 @@ onkeyup="return search_changed(event, false, '/')" />
-

Contains the classes for accessing the services provided in the Google Play services platform. -See the Setup guide on how to configure the -SDK that contains these classes.

+

@@ -585,68 +614,131 @@ SDK that contains these classes.

- com.google.android.gms.auth - Contains classes for authenticating Google accounts. + com.google.android.gms.appstate + Contains classes for manipulating saved app state data. + com.google.android.gms.auth + + + + + + com.google.android.gms.common Contains utility classes for Google Play services. - + com.google.android.gms.common.data Contains classes for accessing data from Google Play services. - + com.google.android.gms.common.images + + + com.google.android.gms.common.server + + + + + + + com.google.android.gms.games + Contains the games client class. + + + + + + com.google.android.gms.games.achievement + Contains classes for loading and updating achievements. + + + + + + com.google.android.gms.games.leaderboard + Contains data classes for leaderboards. + + + + + + com.google.android.gms.games.multiplayer + Contains data classes for multiplayer functionality. + + + + com.google.android.gms.games.multiplayer.realtime + Contains data classes for real-time multiplayer functionality. + + + + + + com.google.android.gms.gcm + + + + + + + com.google.android.gms.location + + + + + + com.google.android.gms.maps Contains the Google Maps Android API classes. - + com.google.android.gms.maps.model Contains the Google Maps Android API model classes. - + com.google.android.gms.panorama - + com.google.android.gms.plus Contains the Google+ platform for Android. - + com.google.android.gms.plus.model.moments - + com.google.android.gms.plus.model.people diff --git a/docs/html/reference/gms_lists.js b/docs/html/reference/gms_lists.js index 6acca8dae4c6..a9a7f47e6be3 100644 --- a/docs/html/reference/gms_lists.js +++ b/docs/html/reference/gms_lists.js @@ -2,126 +2,202 @@ var GMS_DATA = [ { id:0, label:"com.google.android.gms", link:"reference/com/google/android/gms/package-summary.html", type:"package" }, { id:1, label:"com.google.android.gms.R", link:"reference/com/google/android/gms/R.html", type:"class" }, { id:2, label:"com.google.android.gms.R.attr", link:"reference/com/google/android/gms/R.attr.html", type:"class" }, - { id:3, label:"com.google.android.gms.R.id", link:"reference/com/google/android/gms/R.id.html", type:"class" }, - { id:4, label:"com.google.android.gms.R.string", link:"reference/com/google/android/gms/R.string.html", type:"class" }, - { id:5, label:"com.google.android.gms.R.styleable", link:"reference/com/google/android/gms/R.styleable.html", type:"class" }, - { id:6, label:"com.google.android.gms.auth", link:"reference/com/google/android/gms/auth/package-summary.html", type:"package" }, - { id:7, label:"com.google.android.gms.auth.GoogleAuthException", link:"reference/com/google/android/gms/auth/GoogleAuthException.html", type:"class" }, - { id:8, label:"com.google.android.gms.auth.GoogleAuthUtil", link:"reference/com/google/android/gms/auth/GoogleAuthUtil.html", type:"class" }, - { id:9, label:"com.google.android.gms.auth.GooglePlayServicesAvailabilityException", link:"reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html", type:"class" }, - { id:10, label:"com.google.android.gms.auth.UserRecoverableAuthException", link:"reference/com/google/android/gms/auth/UserRecoverableAuthException.html", type:"class" }, - { id:11, label:"com.google.android.gms.auth.UserRecoverableNotifiedException", link:"reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html", type:"class" }, - { id:12, label:"com.google.android.gms.common", link:"reference/com/google/android/gms/common/package-summary.html", type:"package" }, - { id:13, label:"com.google.android.gms.common.AccountPicker", link:"reference/com/google/android/gms/common/AccountPicker.html", type:"class" }, - { id:14, label:"com.google.android.gms.common.ConnectionResult", link:"reference/com/google/android/gms/common/ConnectionResult.html", type:"class" }, - { id:15, label:"com.google.android.gms.common.GooglePlayServicesClient", link:"reference/com/google/android/gms/common/GooglePlayServicesClient.html", type:"class" }, - { id:16, label:"com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks", link:"reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html", type:"class" }, - { id:17, label:"com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener", link:"reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html", type:"class" }, - { id:18, label:"com.google.android.gms.common.GooglePlayServicesNotAvailableException", link:"reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html", type:"class" }, - { id:19, label:"com.google.android.gms.common.GooglePlayServicesUtil", link:"reference/com/google/android/gms/common/GooglePlayServicesUtil.html", type:"class" }, - { id:20, label:"com.google.android.gms.common.Scopes", link:"reference/com/google/android/gms/common/Scopes.html", type:"class" }, - { id:21, label:"com.google.android.gms.common.SignInButton", link:"reference/com/google/android/gms/common/SignInButton.html", type:"class" }, - { id:22, label:"com.google.android.gms.common.data", link:"reference/com/google/android/gms/common/data/package-summary.html", type:"package" }, - { id:23, label:"com.google.android.gms.common.data.DataBuffer", link:"reference/com/google/android/gms/common/data/DataBuffer.html", type:"class" }, - { id:24, label:"com.google.android.gms.common.data.DataBufferIterator", link:"reference/com/google/android/gms/common/data/DataBufferIterator.html", type:"class" }, - { id:25, label:"com.google.android.gms.common.data.DataBufferRef", link:"reference/com/google/android/gms/common/data/DataBufferRef.html", type:"class" }, - { id:26, label:"com.google.android.gms.common.data.DataBufferUtils", link:"reference/com/google/android/gms/common/data/DataBufferUtils.html", type:"class" }, - { id:27, label:"com.google.android.gms.common.data.DataHolder", link:"reference/com/google/android/gms/common/data/DataHolder.html", type:"class" }, - { id:28, label:"com.google.android.gms.common.data.DataHolder.Builder", link:"reference/com/google/android/gms/common/data/DataHolder.Builder.html", type:"class" }, - { id:29, label:"com.google.android.gms.common.data.Freezable", link:"reference/com/google/android/gms/common/data/Freezable.html", type:"class" }, - { id:30, label:"com.google.android.gms.common.images", link:"reference/com/google/android/gms/common/images/package-summary.html", type:"package" }, - { id:31, label:"com.google.android.gms.common.images.ImageManager", link:"reference/com/google/android/gms/common/images/ImageManager.html", type:"class" }, - { id:32, label:"com.google.android.gms.common.images.ImageManager.ImageReceiver", link:"reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html", type:"class" }, - { id:33, label:"com.google.android.gms.common.images.ImageManager.OnImageLoadedListener", link:"reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html", type:"class" }, - { id:34, label:"com.google.android.gms.maps", link:"reference/com/google/android/gms/maps/package-summary.html", type:"package" }, - { id:35, label:"com.google.android.gms.maps.CameraUpdate", link:"reference/com/google/android/gms/maps/CameraUpdate.html", type:"class" }, - { id:36, label:"com.google.android.gms.maps.CameraUpdateFactory", link:"reference/com/google/android/gms/maps/CameraUpdateFactory.html", type:"class" }, - { id:37, label:"com.google.android.gms.maps.GoogleMap", link:"reference/com/google/android/gms/maps/GoogleMap.html", type:"class" }, - { id:38, label:"com.google.android.gms.maps.GoogleMap.CancelableCallback", link:"reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html", type:"class" }, - { id:39, label:"com.google.android.gms.maps.GoogleMap.InfoWindowAdapter", link:"reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html", type:"class" }, - { id:40, label:"com.google.android.gms.maps.GoogleMap.OnCameraChangeListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html", type:"class" }, - { id:41, label:"com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html", type:"class" }, - { id:42, label:"com.google.android.gms.maps.GoogleMap.OnMapClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html", type:"class" }, - { id:43, label:"com.google.android.gms.maps.GoogleMap.OnMapLongClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html", type:"class" }, - { id:44, label:"com.google.android.gms.maps.GoogleMap.OnMarkerClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html", type:"class" }, - { id:45, label:"com.google.android.gms.maps.GoogleMap.OnMarkerDragListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html", type:"class" }, - { id:46, label:"com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html", type:"class" }, - { id:47, label:"com.google.android.gms.maps.GoogleMapOptions", link:"reference/com/google/android/gms/maps/GoogleMapOptions.html", type:"class" }, - { id:48, label:"com.google.android.gms.maps.LocationSource", link:"reference/com/google/android/gms/maps/LocationSource.html", type:"class" }, - { id:49, label:"com.google.android.gms.maps.LocationSource.OnLocationChangedListener", link:"reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html", type:"class" }, - { id:50, label:"com.google.android.gms.maps.MapFragment", link:"reference/com/google/android/gms/maps/MapFragment.html", type:"class" }, - { id:51, label:"com.google.android.gms.maps.MapView", link:"reference/com/google/android/gms/maps/MapView.html", type:"class" }, - { id:52, label:"com.google.android.gms.maps.MapsInitializer", link:"reference/com/google/android/gms/maps/MapsInitializer.html", type:"class" }, - { id:53, label:"com.google.android.gms.maps.Projection", link:"reference/com/google/android/gms/maps/Projection.html", type:"class" }, - { id:54, label:"com.google.android.gms.maps.SupportMapFragment", link:"reference/com/google/android/gms/maps/SupportMapFragment.html", type:"class" }, - { id:55, label:"com.google.android.gms.maps.UiSettings", link:"reference/com/google/android/gms/maps/UiSettings.html", type:"class" }, - { id:56, label:"com.google.android.gms.maps.model", link:"reference/com/google/android/gms/maps/model/package-summary.html", type:"package" }, - { id:57, label:"com.google.android.gms.maps.model.BitmapDescriptor", link:"reference/com/google/android/gms/maps/model/BitmapDescriptor.html", type:"class" }, - { id:58, label:"com.google.android.gms.maps.model.BitmapDescriptorFactory", link:"reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html", type:"class" }, - { id:59, label:"com.google.android.gms.maps.model.CameraPosition", link:"reference/com/google/android/gms/maps/model/CameraPosition.html", type:"class" }, - { id:60, label:"com.google.android.gms.maps.model.CameraPosition.Builder", link:"reference/com/google/android/gms/maps/model/CameraPosition.Builder.html", type:"class" }, - { id:61, label:"com.google.android.gms.maps.model.Circle", link:"reference/com/google/android/gms/maps/model/Circle.html", type:"class" }, - { id:62, label:"com.google.android.gms.maps.model.CircleOptions", link:"reference/com/google/android/gms/maps/model/CircleOptions.html", type:"class" }, - { id:63, label:"com.google.android.gms.maps.model.GroundOverlay", link:"reference/com/google/android/gms/maps/model/GroundOverlay.html", type:"class" }, - { id:64, label:"com.google.android.gms.maps.model.GroundOverlayOptions", link:"reference/com/google/android/gms/maps/model/GroundOverlayOptions.html", type:"class" }, - { id:65, label:"com.google.android.gms.maps.model.LatLng", link:"reference/com/google/android/gms/maps/model/LatLng.html", type:"class" }, - { id:66, label:"com.google.android.gms.maps.model.LatLngBounds", link:"reference/com/google/android/gms/maps/model/LatLngBounds.html", type:"class" }, - { id:67, label:"com.google.android.gms.maps.model.LatLngBounds.Builder", link:"reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html", type:"class" }, - { id:68, label:"com.google.android.gms.maps.model.Marker", link:"reference/com/google/android/gms/maps/model/Marker.html", type:"class" }, - { id:69, label:"com.google.android.gms.maps.model.MarkerOptions", link:"reference/com/google/android/gms/maps/model/MarkerOptions.html", type:"class" }, - { id:70, label:"com.google.android.gms.maps.model.Polygon", link:"reference/com/google/android/gms/maps/model/Polygon.html", type:"class" }, - { id:71, label:"com.google.android.gms.maps.model.PolygonOptions", link:"reference/com/google/android/gms/maps/model/PolygonOptions.html", type:"class" }, - { id:72, label:"com.google.android.gms.maps.model.Polyline", link:"reference/com/google/android/gms/maps/model/Polyline.html", type:"class" }, - { id:73, label:"com.google.android.gms.maps.model.PolylineOptions", link:"reference/com/google/android/gms/maps/model/PolylineOptions.html", type:"class" }, - { id:74, label:"com.google.android.gms.maps.model.RuntimeRemoteException", link:"reference/com/google/android/gms/maps/model/RuntimeRemoteException.html", type:"class" }, - { id:75, label:"com.google.android.gms.maps.model.Tile", link:"reference/com/google/android/gms/maps/model/Tile.html", type:"class" }, - { id:76, label:"com.google.android.gms.maps.model.TileOverlay", link:"reference/com/google/android/gms/maps/model/TileOverlay.html", type:"class" }, - { id:77, label:"com.google.android.gms.maps.model.TileOverlayOptions", link:"reference/com/google/android/gms/maps/model/TileOverlayOptions.html", type:"class" }, - { id:78, label:"com.google.android.gms.maps.model.TileProvider", link:"reference/com/google/android/gms/maps/model/TileProvider.html", type:"class" }, - { id:79, label:"com.google.android.gms.maps.model.UrlTileProvider", link:"reference/com/google/android/gms/maps/model/UrlTileProvider.html", type:"class" }, - { id:80, label:"com.google.android.gms.maps.model.VisibleRegion", link:"reference/com/google/android/gms/maps/model/VisibleRegion.html", type:"class" }, - { id:81, label:"com.google.android.gms.panorama", link:"reference/com/google/android/gms/panorama/package-summary.html", type:"package" }, - { id:82, label:"com.google.android.gms.panorama.PanoramaClient", link:"reference/com/google/android/gms/panorama/PanoramaClient.html", type:"class" }, - { id:83, label:"com.google.android.gms.panorama.PanoramaClient.OnPanoramaInfoLoadedListener", link:"reference/com/google/android/gms/panorama/PanoramaClient.OnPanoramaInfoLoadedListener.html", type:"class" }, - { id:84, label:"com.google.android.gms.plus", link:"reference/com/google/android/gms/plus/package-summary.html", type:"package" }, - { id:85, label:"com.google.android.gms.plus.GooglePlusUtil", link:"reference/com/google/android/gms/plus/GooglePlusUtil.html", type:"class" }, - { id:86, label:"com.google.android.gms.plus.PlusClient", link:"reference/com/google/android/gms/plus/PlusClient.html", type:"class" }, - { id:87, label:"com.google.android.gms.plus.PlusClient.Builder", link:"reference/com/google/android/gms/plus/PlusClient.Builder.html", type:"class" }, - { id:88, label:"com.google.android.gms.plus.PlusClient.OnAccessRevokedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnAccessRevokedListener.html", type:"class" }, - { id:89, label:"com.google.android.gms.plus.PlusClient.OnMomentsLoadedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnMomentsLoadedListener.html", type:"class" }, - { id:90, label:"com.google.android.gms.plus.PlusClient.OnPeopleLoadedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnPeopleLoadedListener.html", type:"class" }, - { id:91, label:"com.google.android.gms.plus.PlusClient.OnPersonLoadedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnPersonLoadedListener.html", type:"class" }, - { id:92, label:"com.google.android.gms.plus.PlusOneButton", link:"reference/com/google/android/gms/plus/PlusOneButton.html", type:"class" }, - { id:93, label:"com.google.android.gms.plus.PlusOneButton.OnPlusOneClickListener", link:"reference/com/google/android/gms/plus/PlusOneButton.OnPlusOneClickListener.html", type:"class" }, - { id:94, label:"com.google.android.gms.plus.PlusShare", link:"reference/com/google/android/gms/plus/PlusShare.html", type:"class" }, - { id:95, label:"com.google.android.gms.plus.PlusShare.Builder", link:"reference/com/google/android/gms/plus/PlusShare.Builder.html", type:"class" }, - { id:96, label:"com.google.android.gms.plus.model.moments", link:"reference/com/google/android/gms/plus/model/moments/package-summary.html", type:"package" }, - { id:97, label:"com.google.android.gms.plus.model.moments.ItemScope", link:"reference/com/google/android/gms/plus/model/moments/ItemScope.html", type:"class" }, - { id:98, label:"com.google.android.gms.plus.model.moments.ItemScope.Builder", link:"reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html", type:"class" }, - { id:99, label:"com.google.android.gms.plus.model.moments.Moment", link:"reference/com/google/android/gms/plus/model/moments/Moment.html", type:"class" }, - { id:100, label:"com.google.android.gms.plus.model.moments.Moment.Builder", link:"reference/com/google/android/gms/plus/model/moments/Moment.Builder.html", type:"class" }, - { id:101, label:"com.google.android.gms.plus.model.moments.MomentBuffer", link:"reference/com/google/android/gms/plus/model/moments/MomentBuffer.html", type:"class" }, - { id:102, label:"com.google.android.gms.plus.model.people", link:"reference/com/google/android/gms/plus/model/people/package-summary.html", type:"package" }, - { id:103, label:"com.google.android.gms.plus.model.people.Person", link:"reference/com/google/android/gms/plus/model/people/Person.html", type:"class" }, - { id:104, label:"com.google.android.gms.plus.model.people.Person.AgeRange", link:"reference/com/google/android/gms/plus/model/people/Person.AgeRange.html", type:"class" }, - { id:105, label:"com.google.android.gms.plus.model.people.Person.Collection", link:"reference/com/google/android/gms/plus/model/people/Person.Collection.html", type:"class" }, - { id:106, label:"com.google.android.gms.plus.model.people.Person.Cover", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.html", type:"class" }, - { id:107, label:"com.google.android.gms.plus.model.people.Person.Cover.CoverInfo", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html", type:"class" }, - { id:108, label:"com.google.android.gms.plus.model.people.Person.Cover.CoverPhoto", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html", type:"class" }, - { id:109, label:"com.google.android.gms.plus.model.people.Person.Cover.Layout", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html", type:"class" }, - { id:110, label:"com.google.android.gms.plus.model.people.Person.Emails", link:"reference/com/google/android/gms/plus/model/people/Person.Emails.html", type:"class" }, - { id:111, label:"com.google.android.gms.plus.model.people.Person.Emails.Type", link:"reference/com/google/android/gms/plus/model/people/Person.Emails.Type.html", type:"class" }, - { id:112, label:"com.google.android.gms.plus.model.people.Person.Gender", link:"reference/com/google/android/gms/plus/model/people/Person.Gender.html", type:"class" }, - { id:113, label:"com.google.android.gms.plus.model.people.Person.Image", link:"reference/com/google/android/gms/plus/model/people/Person.Image.html", type:"class" }, - { id:114, label:"com.google.android.gms.plus.model.people.Person.Name", link:"reference/com/google/android/gms/plus/model/people/Person.Name.html", type:"class" }, - { id:115, label:"com.google.android.gms.plus.model.people.Person.ObjectType", link:"reference/com/google/android/gms/plus/model/people/Person.ObjectType.html", type:"class" }, - { id:116, label:"com.google.android.gms.plus.model.people.Person.OrderBy", link:"reference/com/google/android/gms/plus/model/people/Person.OrderBy.html", type:"class" }, - { id:117, label:"com.google.android.gms.plus.model.people.Person.Organizations", link:"reference/com/google/android/gms/plus/model/people/Person.Organizations.html", type:"class" }, - { id:118, label:"com.google.android.gms.plus.model.people.Person.Organizations.Type", link:"reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html", type:"class" }, - { id:119, label:"com.google.android.gms.plus.model.people.Person.PlacesLived", link:"reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html", type:"class" }, - { id:120, label:"com.google.android.gms.plus.model.people.Person.RelationshipStatus", link:"reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html", type:"class" }, - { id:121, label:"com.google.android.gms.plus.model.people.Person.Urls", link:"reference/com/google/android/gms/plus/model/people/Person.Urls.html", type:"class" }, - { id:122, label:"com.google.android.gms.plus.model.people.Person.Urls.Type", link:"reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html", type:"class" }, - { id:123, label:"com.google.android.gms.plus.model.people.PersonBuffer", link:"reference/com/google/android/gms/plus/model/people/PersonBuffer.html", type:"class" } + { id:3, label:"com.google.android.gms.R.color", link:"reference/com/google/android/gms/R.color.html", type:"class" }, + { id:4, label:"com.google.android.gms.R.drawable", link:"reference/com/google/android/gms/R.drawable.html", type:"class" }, + { id:5, label:"com.google.android.gms.R.id", link:"reference/com/google/android/gms/R.id.html", type:"class" }, + { id:6, label:"com.google.android.gms.R.string", link:"reference/com/google/android/gms/R.string.html", type:"class" }, + { id:7, label:"com.google.android.gms.R.styleable", link:"reference/com/google/android/gms/R.styleable.html", type:"class" }, + { id:8, label:"com.google.android.gms.appstate", link:"reference/com/google/android/gms/appstate/package-summary.html", type:"package" }, + { id:9, label:"com.google.android.gms.appstate.AppState", link:"reference/com/google/android/gms/appstate/AppState.html", type:"class" }, + { id:10, label:"com.google.android.gms.appstate.AppStateBuffer", link:"reference/com/google/android/gms/appstate/AppStateBuffer.html", type:"class" }, + { id:11, label:"com.google.android.gms.appstate.AppStateClient", link:"reference/com/google/android/gms/appstate/AppStateClient.html", type:"class" }, + { id:12, label:"com.google.android.gms.appstate.AppStateClient.Builder", link:"reference/com/google/android/gms/appstate/AppStateClient.Builder.html", type:"class" }, + { id:13, label:"com.google.android.gms.appstate.OnSignOutCompleteListener", link:"reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html", type:"class" }, + { id:14, label:"com.google.android.gms.appstate.OnStateDeletedListener", link:"reference/com/google/android/gms/appstate/OnStateDeletedListener.html", type:"class" }, + { id:15, label:"com.google.android.gms.appstate.OnStateListLoadedListener", link:"reference/com/google/android/gms/appstate/OnStateListLoadedListener.html", type:"class" }, + { id:16, label:"com.google.android.gms.appstate.OnStateLoadedListener", link:"reference/com/google/android/gms/appstate/OnStateLoadedListener.html", type:"class" }, + { id:17, label:"com.google.android.gms.auth", link:"reference/com/google/android/gms/auth/package-summary.html", type:"package" }, + { id:18, label:"com.google.android.gms.auth.GoogleAuthException", link:"reference/com/google/android/gms/auth/GoogleAuthException.html", type:"class" }, + { id:19, label:"com.google.android.gms.auth.GoogleAuthUtil", link:"reference/com/google/android/gms/auth/GoogleAuthUtil.html", type:"class" }, + { id:20, label:"com.google.android.gms.auth.GooglePlayServicesAvailabilityException", link:"reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html", type:"class" }, + { id:21, label:"com.google.android.gms.auth.UserRecoverableAuthException", link:"reference/com/google/android/gms/auth/UserRecoverableAuthException.html", type:"class" }, + { id:22, label:"com.google.android.gms.auth.UserRecoverableNotifiedException", link:"reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html", type:"class" }, + { id:23, label:"com.google.android.gms.common", link:"reference/com/google/android/gms/common/package-summary.html", type:"package" }, + { id:24, label:"com.google.android.gms.common.AccountPicker", link:"reference/com/google/android/gms/common/AccountPicker.html", type:"class" }, + { id:25, label:"com.google.android.gms.common.ConnectionResult", link:"reference/com/google/android/gms/common/ConnectionResult.html", type:"class" }, + { id:26, label:"com.google.android.gms.common.GooglePlayServicesClient", link:"reference/com/google/android/gms/common/GooglePlayServicesClient.html", type:"class" }, + { id:27, label:"com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks", link:"reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html", type:"class" }, + { id:28, label:"com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener", link:"reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html", type:"class" }, + { id:29, label:"com.google.android.gms.common.GooglePlayServicesNotAvailableException", link:"reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html", type:"class" }, + { id:30, label:"com.google.android.gms.common.GooglePlayServicesUtil", link:"reference/com/google/android/gms/common/GooglePlayServicesUtil.html", type:"class" }, + { id:31, label:"com.google.android.gms.common.Scopes", link:"reference/com/google/android/gms/common/Scopes.html", type:"class" }, + { id:32, label:"com.google.android.gms.common.SignInButton", link:"reference/com/google/android/gms/common/SignInButton.html", type:"class" }, + { id:33, label:"com.google.android.gms.common.data", link:"reference/com/google/android/gms/common/data/package-summary.html", type:"package" }, + { id:34, label:"com.google.android.gms.common.data.DataBuffer", link:"reference/com/google/android/gms/common/data/DataBuffer.html", type:"class" }, + { id:35, label:"com.google.android.gms.common.data.DataBufferUtils", link:"reference/com/google/android/gms/common/data/DataBufferUtils.html", type:"class" }, + { id:36, label:"com.google.android.gms.common.data.Freezable", link:"reference/com/google/android/gms/common/data/Freezable.html", type:"class" }, + { id:37, label:"com.google.android.gms.common.images", link:"reference/com/google/android/gms/common/images/package-summary.html", type:"package" }, + { id:38, label:"com.google.android.gms.common.images.ImageManager", link:"reference/com/google/android/gms/common/images/ImageManager.html", type:"class" }, + { id:39, label:"com.google.android.gms.common.images.ImageManager.ImageReceiver", link:"reference/com/google/android/gms/common/images/ImageManager.ImageReceiver.html", type:"class" }, + { id:40, label:"com.google.android.gms.common.images.ImageManager.OnImageLoadedListener", link:"reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html", type:"class" }, + { id:41, label:"com.google.android.gms.common.server", link:"reference/com/google/android/gms/common/server/package-summary.html", type:"package" }, + { id:42, label:"com.google.android.gms.common.server.FavaDiagnosticsEntity", link:"reference/com/google/android/gms/common/server/FavaDiagnosticsEntity.html", type:"class" }, + { id:43, label:"com.google.android.gms.games", link:"reference/com/google/android/gms/games/package-summary.html", type:"package" }, + { id:44, label:"com.google.android.gms.games.Game", link:"reference/com/google/android/gms/games/Game.html", type:"class" }, + { id:45, label:"com.google.android.gms.games.GameBuffer", link:"reference/com/google/android/gms/games/GameBuffer.html", type:"class" }, + { id:46, label:"com.google.android.gms.games.GameEntity", link:"reference/com/google/android/gms/games/GameEntity.html", type:"class" }, + { id:47, label:"com.google.android.gms.games.GamesActivityResultCodes", link:"reference/com/google/android/gms/games/GamesActivityResultCodes.html", type:"class" }, + { id:48, label:"com.google.android.gms.games.GamesClient", link:"reference/com/google/android/gms/games/GamesClient.html", type:"class" }, + { id:49, label:"com.google.android.gms.games.GamesClient.Builder", link:"reference/com/google/android/gms/games/GamesClient.Builder.html", type:"class" }, + { id:50, label:"com.google.android.gms.games.GamesClientSettings", link:"reference/com/google/android/gms/games/GamesClientSettings.html", type:"class" }, + { id:51, label:"com.google.android.gms.games.OnGamesLoadedListener", link:"reference/com/google/android/gms/games/OnGamesLoadedListener.html", type:"class" }, + { id:52, label:"com.google.android.gms.games.OnPlayersLoadedListener", link:"reference/com/google/android/gms/games/OnPlayersLoadedListener.html", type:"class" }, + { id:53, label:"com.google.android.gms.games.OnSignOutCompleteListener", link:"reference/com/google/android/gms/games/OnSignOutCompleteListener.html", type:"class" }, + { id:54, label:"com.google.android.gms.games.PageDirection", link:"reference/com/google/android/gms/games/PageDirection.html", type:"class" }, + { id:55, label:"com.google.android.gms.games.Player", link:"reference/com/google/android/gms/games/Player.html", type:"class" }, + { id:56, label:"com.google.android.gms.games.PlayerBuffer", link:"reference/com/google/android/gms/games/PlayerBuffer.html", type:"class" }, + { id:57, label:"com.google.android.gms.games.PlayerEntity", link:"reference/com/google/android/gms/games/PlayerEntity.html", type:"class" }, + { id:58, label:"com.google.android.gms.games.RealTimeSocket", link:"reference/com/google/android/gms/games/RealTimeSocket.html", type:"class" }, + { id:59, label:"com.google.android.gms.games.achievement", link:"reference/com/google/android/gms/games/achievement/package-summary.html", type:"package" }, + { id:60, label:"com.google.android.gms.games.achievement.Achievement", link:"reference/com/google/android/gms/games/achievement/Achievement.html", type:"class" }, + { id:61, label:"com.google.android.gms.games.achievement.AchievementBuffer", link:"reference/com/google/android/gms/games/achievement/AchievementBuffer.html", type:"class" }, + { id:62, label:"com.google.android.gms.games.achievement.OnAchievementUpdatedListener", link:"reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html", type:"class" }, + { id:63, label:"com.google.android.gms.games.achievement.OnAchievementsLoadedListener", link:"reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html", type:"class" }, + { id:64, label:"com.google.android.gms.games.leaderboard", link:"reference/com/google/android/gms/games/leaderboard/package-summary.html", type:"package" }, + { id:65, label:"com.google.android.gms.games.leaderboard.Leaderboard", link:"reference/com/google/android/gms/games/leaderboard/Leaderboard.html", type:"class" }, + { id:66, label:"com.google.android.gms.games.leaderboard.LeaderboardBuffer", link:"reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html", type:"class" }, + { id:67, label:"com.google.android.gms.games.leaderboard.LeaderboardScore", link:"reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html", type:"class" }, + { id:68, label:"com.google.android.gms.games.leaderboard.LeaderboardScoreBuffer", link:"reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html", type:"class" }, + { id:69, label:"com.google.android.gms.games.leaderboard.LeaderboardVariant", link:"reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html", type:"class" }, + { id:70, label:"com.google.android.gms.games.leaderboard.OnLeaderboardMetadataLoadedListener", link:"reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html", type:"class" }, + { id:71, label:"com.google.android.gms.games.leaderboard.OnLeaderboardScoresLoadedListener", link:"reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html", type:"class" }, + { id:72, label:"com.google.android.gms.games.leaderboard.OnScoreSubmittedListener", link:"reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html", type:"class" }, + { id:73, label:"com.google.android.gms.games.leaderboard.SubmitScoreResult", link:"reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html", type:"class" }, + { id:74, label:"com.google.android.gms.games.leaderboard.SubmitScoreResult.Result", link:"reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html", type:"class" }, + { id:75, label:"com.google.android.gms.games.multiplayer", link:"reference/com/google/android/gms/games/multiplayer/package-summary.html", type:"package" }, + { id:76, label:"com.google.android.gms.games.multiplayer.Invitation", link:"reference/com/google/android/gms/games/multiplayer/Invitation.html", type:"class" }, + { id:77, label:"com.google.android.gms.games.multiplayer.InvitationBuffer", link:"reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html", type:"class" }, + { id:78, label:"com.google.android.gms.games.multiplayer.InvitationEntity", link:"reference/com/google/android/gms/games/multiplayer/InvitationEntity.html", type:"class" }, + { id:79, label:"com.google.android.gms.games.multiplayer.OnInvitationReceivedListener", link:"reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html", type:"class" }, + { id:80, label:"com.google.android.gms.games.multiplayer.OnInvitationsLoadedListener", link:"reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html", type:"class" }, + { id:81, label:"com.google.android.gms.games.multiplayer.Participant", link:"reference/com/google/android/gms/games/multiplayer/Participant.html", type:"class" }, + { id:82, label:"com.google.android.gms.games.multiplayer.ParticipantBuffer", link:"reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html", type:"class" }, + { id:83, label:"com.google.android.gms.games.multiplayer.ParticipantEntity", link:"reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html", type:"class" }, + { id:84, label:"com.google.android.gms.games.multiplayer.ParticipantUtils", link:"reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html", type:"class" }, + { id:85, label:"com.google.android.gms.games.multiplayer.Participatable", link:"reference/com/google/android/gms/games/multiplayer/Participatable.html", type:"class" }, + { id:86, label:"com.google.android.gms.games.multiplayer.realtime", link:"reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html", type:"package" }, + { id:87, label:"com.google.android.gms.games.multiplayer.realtime.RealTimeMessage", link:"reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html", type:"class" }, + { id:88, label:"com.google.android.gms.games.multiplayer.realtime.RealTimeMessageReceivedListener", link:"reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html", type:"class" }, + { id:89, label:"com.google.android.gms.games.multiplayer.realtime.RealTimeReliableMessageSentListener", link:"reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html", type:"class" }, + { id:90, label:"com.google.android.gms.games.multiplayer.realtime.Room", link:"reference/com/google/android/gms/games/multiplayer/realtime/Room.html", type:"class" }, + { id:91, label:"com.google.android.gms.games.multiplayer.realtime.RoomConfig", link:"reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html", type:"class" }, + { id:92, label:"com.google.android.gms.games.multiplayer.realtime.RoomConfig.Builder", link:"reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html", type:"class" }, + { id:93, label:"com.google.android.gms.games.multiplayer.realtime.RoomEntity", link:"reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html", type:"class" }, + { id:94, label:"com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener", link:"reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html", type:"class" }, + { id:95, label:"com.google.android.gms.games.multiplayer.realtime.RoomUpdateListener", link:"reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html", type:"class" }, + { id:96, label:"com.google.android.gms.gcm", link:"reference/com/google/android/gms/gcm/package-summary.html", type:"package" }, + { id:97, label:"com.google.android.gms.gcm.GoogleCloudMessaging", link:"reference/com/google/android/gms/gcm/GoogleCloudMessaging.html", type:"class" }, + { id:98, label:"com.google.android.gms.location", link:"reference/com/google/android/gms/location/package-summary.html", type:"package" }, + { id:99, label:"com.google.android.gms.location.ActivityRecognitionClient", link:"reference/com/google/android/gms/location/ActivityRecognitionClient.html", type:"class" }, + { id:100, label:"com.google.android.gms.location.ActivityRecognitionResult", link:"reference/com/google/android/gms/location/ActivityRecognitionResult.html", type:"class" }, + { id:101, label:"com.google.android.gms.location.DetectedActivity", link:"reference/com/google/android/gms/location/DetectedActivity.html", type:"class" }, + { id:102, label:"com.google.android.gms.location.Geofence", link:"reference/com/google/android/gms/location/Geofence.html", type:"class" }, + { id:103, label:"com.google.android.gms.location.Geofence.Builder", link:"reference/com/google/android/gms/location/Geofence.Builder.html", type:"class" }, + { id:104, label:"com.google.android.gms.location.LocationClient", link:"reference/com/google/android/gms/location/LocationClient.html", type:"class" }, + { id:105, label:"com.google.android.gms.location.LocationClient.OnAddGeofencesResultListener", link:"reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html", type:"class" }, + { id:106, label:"com.google.android.gms.location.LocationClient.OnRemoveGeofencesResultListener", link:"reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html", type:"class" }, + { id:107, label:"com.google.android.gms.location.LocationListener", link:"reference/com/google/android/gms/location/LocationListener.html", type:"class" }, + { id:108, label:"com.google.android.gms.location.LocationRequest", link:"reference/com/google/android/gms/location/LocationRequest.html", type:"class" }, + { id:109, label:"com.google.android.gms.location.LocationStatusCodes", link:"reference/com/google/android/gms/location/LocationStatusCodes.html", type:"class" }, + { id:110, label:"com.google.android.gms.maps", link:"reference/com/google/android/gms/maps/package-summary.html", type:"package" }, + { id:111, label:"com.google.android.gms.maps.CameraUpdate", link:"reference/com/google/android/gms/maps/CameraUpdate.html", type:"class" }, + { id:112, label:"com.google.android.gms.maps.CameraUpdateFactory", link:"reference/com/google/android/gms/maps/CameraUpdateFactory.html", type:"class" }, + { id:113, label:"com.google.android.gms.maps.GoogleMap", link:"reference/com/google/android/gms/maps/GoogleMap.html", type:"class" }, + { id:114, label:"com.google.android.gms.maps.GoogleMap.CancelableCallback", link:"reference/com/google/android/gms/maps/GoogleMap.CancelableCallback.html", type:"class" }, + { id:115, label:"com.google.android.gms.maps.GoogleMap.InfoWindowAdapter", link:"reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter.html", type:"class" }, + { id:116, label:"com.google.android.gms.maps.GoogleMap.OnCameraChangeListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener.html", type:"class" }, + { id:117, label:"com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnInfoWindowClickListener.html", type:"class" }, + { id:118, label:"com.google.android.gms.maps.GoogleMap.OnMapClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMapClickListener.html", type:"class" }, + { id:119, label:"com.google.android.gms.maps.GoogleMap.OnMapLongClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMapLongClickListener.html", type:"class" }, + { id:120, label:"com.google.android.gms.maps.GoogleMap.OnMarkerClickListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMarkerClickListener.html", type:"class" }, + { id:121, label:"com.google.android.gms.maps.GoogleMap.OnMarkerDragListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMarkerDragListener.html", type:"class" }, + { id:122, label:"com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener", link:"reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html", type:"class" }, + { id:123, label:"com.google.android.gms.maps.GoogleMapOptions", link:"reference/com/google/android/gms/maps/GoogleMapOptions.html", type:"class" }, + { id:124, label:"com.google.android.gms.maps.LocationSource", link:"reference/com/google/android/gms/maps/LocationSource.html", type:"class" }, + { id:125, label:"com.google.android.gms.maps.LocationSource.OnLocationChangedListener", link:"reference/com/google/android/gms/maps/LocationSource.OnLocationChangedListener.html", type:"class" }, + { id:126, label:"com.google.android.gms.maps.MapFragment", link:"reference/com/google/android/gms/maps/MapFragment.html", type:"class" }, + { id:127, label:"com.google.android.gms.maps.MapView", link:"reference/com/google/android/gms/maps/MapView.html", type:"class" }, + { id:128, label:"com.google.android.gms.maps.MapsInitializer", link:"reference/com/google/android/gms/maps/MapsInitializer.html", type:"class" }, + { id:129, label:"com.google.android.gms.maps.Projection", link:"reference/com/google/android/gms/maps/Projection.html", type:"class" }, + { id:130, label:"com.google.android.gms.maps.SupportMapFragment", link:"reference/com/google/android/gms/maps/SupportMapFragment.html", type:"class" }, + { id:131, label:"com.google.android.gms.maps.UiSettings", link:"reference/com/google/android/gms/maps/UiSettings.html", type:"class" }, + { id:132, label:"com.google.android.gms.maps.model", link:"reference/com/google/android/gms/maps/model/package-summary.html", type:"package" }, + { id:133, label:"com.google.android.gms.maps.model.BitmapDescriptor", link:"reference/com/google/android/gms/maps/model/BitmapDescriptor.html", type:"class" }, + { id:134, label:"com.google.android.gms.maps.model.BitmapDescriptorFactory", link:"reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html", type:"class" }, + { id:135, label:"com.google.android.gms.maps.model.CameraPosition", link:"reference/com/google/android/gms/maps/model/CameraPosition.html", type:"class" }, + { id:136, label:"com.google.android.gms.maps.model.CameraPosition.Builder", link:"reference/com/google/android/gms/maps/model/CameraPosition.Builder.html", type:"class" }, + { id:137, label:"com.google.android.gms.maps.model.Circle", link:"reference/com/google/android/gms/maps/model/Circle.html", type:"class" }, + { id:138, label:"com.google.android.gms.maps.model.CircleOptions", link:"reference/com/google/android/gms/maps/model/CircleOptions.html", type:"class" }, + { id:139, label:"com.google.android.gms.maps.model.GroundOverlay", link:"reference/com/google/android/gms/maps/model/GroundOverlay.html", type:"class" }, + { id:140, label:"com.google.android.gms.maps.model.GroundOverlayOptions", link:"reference/com/google/android/gms/maps/model/GroundOverlayOptions.html", type:"class" }, + { id:141, label:"com.google.android.gms.maps.model.LatLng", link:"reference/com/google/android/gms/maps/model/LatLng.html", type:"class" }, + { id:142, label:"com.google.android.gms.maps.model.LatLngBounds", link:"reference/com/google/android/gms/maps/model/LatLngBounds.html", type:"class" }, + { id:143, label:"com.google.android.gms.maps.model.LatLngBounds.Builder", link:"reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html", type:"class" }, + { id:144, label:"com.google.android.gms.maps.model.Marker", link:"reference/com/google/android/gms/maps/model/Marker.html", type:"class" }, + { id:145, label:"com.google.android.gms.maps.model.MarkerOptions", link:"reference/com/google/android/gms/maps/model/MarkerOptions.html", type:"class" }, + { id:146, label:"com.google.android.gms.maps.model.Polygon", link:"reference/com/google/android/gms/maps/model/Polygon.html", type:"class" }, + { id:147, label:"com.google.android.gms.maps.model.PolygonOptions", link:"reference/com/google/android/gms/maps/model/PolygonOptions.html", type:"class" }, + { id:148, label:"com.google.android.gms.maps.model.Polyline", link:"reference/com/google/android/gms/maps/model/Polyline.html", type:"class" }, + { id:149, label:"com.google.android.gms.maps.model.PolylineOptions", link:"reference/com/google/android/gms/maps/model/PolylineOptions.html", type:"class" }, + { id:150, label:"com.google.android.gms.maps.model.RuntimeRemoteException", link:"reference/com/google/android/gms/maps/model/RuntimeRemoteException.html", type:"class" }, + { id:151, label:"com.google.android.gms.maps.model.Tile", link:"reference/com/google/android/gms/maps/model/Tile.html", type:"class" }, + { id:152, label:"com.google.android.gms.maps.model.TileOverlay", link:"reference/com/google/android/gms/maps/model/TileOverlay.html", type:"class" }, + { id:153, label:"com.google.android.gms.maps.model.TileOverlayOptions", link:"reference/com/google/android/gms/maps/model/TileOverlayOptions.html", type:"class" }, + { id:154, label:"com.google.android.gms.maps.model.TileProvider", link:"reference/com/google/android/gms/maps/model/TileProvider.html", type:"class" }, + { id:155, label:"com.google.android.gms.maps.model.UrlTileProvider", link:"reference/com/google/android/gms/maps/model/UrlTileProvider.html", type:"class" }, + { id:156, label:"com.google.android.gms.maps.model.VisibleRegion", link:"reference/com/google/android/gms/maps/model/VisibleRegion.html", type:"class" }, + { id:157, label:"com.google.android.gms.panorama", link:"reference/com/google/android/gms/panorama/package-summary.html", type:"package" }, + { id:158, label:"com.google.android.gms.panorama.PanoramaClient", link:"reference/com/google/android/gms/panorama/PanoramaClient.html", type:"class" }, + { id:159, label:"com.google.android.gms.panorama.PanoramaClient.OnPanoramaInfoLoadedListener", link:"reference/com/google/android/gms/panorama/PanoramaClient.OnPanoramaInfoLoadedListener.html", type:"class" }, + { id:160, label:"com.google.android.gms.plus", link:"reference/com/google/android/gms/plus/package-summary.html", type:"package" }, + { id:161, label:"com.google.android.gms.plus.GooglePlusUtil", link:"reference/com/google/android/gms/plus/GooglePlusUtil.html", type:"class" }, + { id:162, label:"com.google.android.gms.plus.PlusClient", link:"reference/com/google/android/gms/plus/PlusClient.html", type:"class" }, + { id:163, label:"com.google.android.gms.plus.PlusClient.Builder", link:"reference/com/google/android/gms/plus/PlusClient.Builder.html", type:"class" }, + { id:164, label:"com.google.android.gms.plus.PlusClient.OnAccessRevokedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnAccessRevokedListener.html", type:"class" }, + { id:165, label:"com.google.android.gms.plus.PlusClient.OnMomentsLoadedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnMomentsLoadedListener.html", type:"class" }, + { id:166, label:"com.google.android.gms.plus.PlusClient.OnPeopleLoadedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnPeopleLoadedListener.html", type:"class" }, + { id:167, label:"com.google.android.gms.plus.PlusClient.OnPersonLoadedListener", link:"reference/com/google/android/gms/plus/PlusClient.OnPersonLoadedListener.html", type:"class" }, + { id:168, label:"com.google.android.gms.plus.PlusOneButton", link:"reference/com/google/android/gms/plus/PlusOneButton.html", type:"class" }, + { id:169, label:"com.google.android.gms.plus.PlusOneButton.OnPlusOneClickListener", link:"reference/com/google/android/gms/plus/PlusOneButton.OnPlusOneClickListener.html", type:"class" }, + { id:170, label:"com.google.android.gms.plus.PlusShare", link:"reference/com/google/android/gms/plus/PlusShare.html", type:"class" }, + { id:171, label:"com.google.android.gms.plus.PlusShare.Builder", link:"reference/com/google/android/gms/plus/PlusShare.Builder.html", type:"class" }, + { id:172, label:"com.google.android.gms.plus.model.moments", link:"reference/com/google/android/gms/plus/model/moments/package-summary.html", type:"package" }, + { id:173, label:"com.google.android.gms.plus.model.moments.ItemScope", link:"reference/com/google/android/gms/plus/model/moments/ItemScope.html", type:"class" }, + { id:174, label:"com.google.android.gms.plus.model.moments.ItemScope.Builder", link:"reference/com/google/android/gms/plus/model/moments/ItemScope.Builder.html", type:"class" }, + { id:175, label:"com.google.android.gms.plus.model.moments.Moment", link:"reference/com/google/android/gms/plus/model/moments/Moment.html", type:"class" }, + { id:176, label:"com.google.android.gms.plus.model.moments.Moment.Builder", link:"reference/com/google/android/gms/plus/model/moments/Moment.Builder.html", type:"class" }, + { id:177, label:"com.google.android.gms.plus.model.moments.MomentBuffer", link:"reference/com/google/android/gms/plus/model/moments/MomentBuffer.html", type:"class" }, + { id:178, label:"com.google.android.gms.plus.model.people", link:"reference/com/google/android/gms/plus/model/people/package-summary.html", type:"package" }, + { id:179, label:"com.google.android.gms.plus.model.people.Person", link:"reference/com/google/android/gms/plus/model/people/Person.html", type:"class" }, + { id:180, label:"com.google.android.gms.plus.model.people.Person.AgeRange", link:"reference/com/google/android/gms/plus/model/people/Person.AgeRange.html", type:"class" }, + { id:181, label:"com.google.android.gms.plus.model.people.Person.Collection", link:"reference/com/google/android/gms/plus/model/people/Person.Collection.html", type:"class" }, + { id:182, label:"com.google.android.gms.plus.model.people.Person.Cover", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.html", type:"class" }, + { id:183, label:"com.google.android.gms.plus.model.people.Person.Cover.CoverInfo", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html", type:"class" }, + { id:184, label:"com.google.android.gms.plus.model.people.Person.Cover.CoverPhoto", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html", type:"class" }, + { id:185, label:"com.google.android.gms.plus.model.people.Person.Cover.Layout", link:"reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html", type:"class" }, + { id:186, label:"com.google.android.gms.plus.model.people.Person.Emails", link:"reference/com/google/android/gms/plus/model/people/Person.Emails.html", type:"class" }, + { id:187, label:"com.google.android.gms.plus.model.people.Person.Emails.Type", link:"reference/com/google/android/gms/plus/model/people/Person.Emails.Type.html", type:"class" }, + { id:188, label:"com.google.android.gms.plus.model.people.Person.Gender", link:"reference/com/google/android/gms/plus/model/people/Person.Gender.html", type:"class" }, + { id:189, label:"com.google.android.gms.plus.model.people.Person.Image", link:"reference/com/google/android/gms/plus/model/people/Person.Image.html", type:"class" }, + { id:190, label:"com.google.android.gms.plus.model.people.Person.Name", link:"reference/com/google/android/gms/plus/model/people/Person.Name.html", type:"class" }, + { id:191, label:"com.google.android.gms.plus.model.people.Person.ObjectType", link:"reference/com/google/android/gms/plus/model/people/Person.ObjectType.html", type:"class" }, + { id:192, label:"com.google.android.gms.plus.model.people.Person.OrderBy", link:"reference/com/google/android/gms/plus/model/people/Person.OrderBy.html", type:"class" }, + { id:193, label:"com.google.android.gms.plus.model.people.Person.Organizations", link:"reference/com/google/android/gms/plus/model/people/Person.Organizations.html", type:"class" }, + { id:194, label:"com.google.android.gms.plus.model.people.Person.Organizations.Type", link:"reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html", type:"class" }, + { id:195, label:"com.google.android.gms.plus.model.people.Person.PlacesLived", link:"reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html", type:"class" }, + { id:196, label:"com.google.android.gms.plus.model.people.Person.RelationshipStatus", link:"reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html", type:"class" }, + { id:197, label:"com.google.android.gms.plus.model.people.Person.Urls", link:"reference/com/google/android/gms/plus/model/people/Person.Urls.html", type:"class" }, + { id:198, label:"com.google.android.gms.plus.model.people.Person.Urls.Type", link:"reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html", type:"class" }, + { id:199, label:"com.google.android.gms.plus.model.people.PersonBuffer", link:"reference/com/google/android/gms/plus/model/people/PersonBuffer.html", type:"class" } ]; -- GitLab