diff --git a/docs/html/gms_navtree_data.js b/docs/html/gms_navtree_data.js index 86bfea4a638f3b4bc8cabe6695b7fd72523f2eaf..0d5e87590172dbaca9abaa61354fd12ee8e20c90 100644 --- a/docs/html/gms_navtree_data.js +++ b/docs/html/gms_navtree_data.js @@ -3,6 +3,9 @@ var GMS_NAVTREE_DATA = , null ] ] , null ], [ "com.google.android.gms.ads", "reference/com/google/android/gms/ads/package-summary.html", [ [ "Classes", null, [ [ "AdListener", "reference/com/google/android/gms/ads/AdListener.html", null, null ], [ "AdRequest", "reference/com/google/android/gms/ads/AdRequest.html", null, null ], [ "AdRequest.Builder", "reference/com/google/android/gms/ads/AdRequest.Builder.html", null, null ], [ "AdSize", "reference/com/google/android/gms/ads/AdSize.html", null, null ], [ "AdView", "reference/com/google/android/gms/ads/AdView.html", null, null ], [ "InterstitialAd", "reference/com/google/android/gms/ads/InterstitialAd.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.ads.doubleclick", "reference/com/google/android/gms/ads/doubleclick/package-summary.html", [ [ "Interfaces", null, [ [ "AppEventListener", "reference/com/google/android/gms/ads/doubleclick/AppEventListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "PublisherAdRequest", "reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.html", null, null ], [ "PublisherAdRequest.Builder", "reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.Builder.html", null, null ], [ "PublisherAdView", "reference/com/google/android/gms/ads/doubleclick/PublisherAdView.html", null, null ], [ "PublisherInterstitialAd", "reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.ads.identifier", "reference/com/google/android/gms/ads/identifier/package-summary.html", [ [ "Classes", null, [ [ "AdvertisingIdClient", "reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.html", null, null ], [ "AdvertisingIdClient.Info", "reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.ads.mediation", "reference/com/google/android/gms/ads/mediation/package-summary.html", [ [ "Interfaces", null, [ [ "NetworkExtras", "reference/com/google/android/gms/ads/mediation/NetworkExtras.html", null, null ] ] @@ -11,37 +14,57 @@ var GMS_NAVTREE_DATA = , null ] ] , null ], [ "com.google.android.gms.ads.mediation.customevent", "reference/com/google/android/gms/ads/mediation/customevent/package-summary.html", [ [ "Classes", null, [ [ "CustomEventExtras", "reference/com/google/android/gms/ads/mediation/customevent/CustomEventExtras.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.ads.search", "reference/com/google/android/gms/ads/search/package-summary.html", [ [ "Classes", null, [ [ "SearchAdRequest", "reference/com/google/android/gms/ads/search/SearchAdRequest.html", null, null ], [ "SearchAdRequest.Builder", "reference/com/google/android/gms/ads/search/SearchAdRequest.Builder.html", null, null ], [ "SearchAdView", "reference/com/google/android/gms/ads/search/SearchAdView.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 ], [ "RecoveryDecision", "reference/com/google/android/gms/auth/RecoveryDecision.html", 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 ] ] , null ] ] -, null ], [ "com.google.android.gms.common", "reference/com/google/android/gms/common/package-summary.html", [ [ "Interfaces", null, [ [ "GooglePlayServicesClient", "reference/com/google/android/gms/common/GooglePlayServicesClient.html", null, null ], [ "GooglePlayServicesClient.ConnectionCallbacks", "reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html", null, null ], [ "GooglePlayServicesClient.OnConnectionFailedListener", "reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html", null, null ] ] +, null ], [ "com.google.android.gms.common", "reference/com/google/android/gms/common/package-summary.html", [ [ "Interfaces", null, [ [ "GooglePlayServicesClient", "reference/com/google/android/gms/common/GooglePlayServicesClient.html", null, null ], [ "GooglePlayServicesClient.ConnectionCallbacks", "reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html", null, null ], [ "GooglePlayServicesClient.OnConnectionFailedListener", "reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html", null, null ], [ "OnStatusReceivedCallback", "reference/com/google/android/gms/common/OnStatusReceivedCallback.html", null, null ] ] , null ], [ "Classes", null, [ [ "AccountPicker", "reference/com/google/android/gms/common/AccountPicker.html", null, null ], [ "ConnectionResult", "reference/com/google/android/gms/common/ConnectionResult.html", null, null ], [ "GooglePlayServicesUtil", "reference/com/google/android/gms/common/GooglePlayServicesUtil.html", null, null ], [ "Scopes", "reference/com/google/android/gms/common/Scopes.html", null, null ], [ "SignInButton", "reference/com/google/android/gms/common/SignInButton.html", null, null ] ] , null ], [ "Exceptions", null, [ [ "GooglePlayServicesNotAvailableException", "reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html", null, null ], [ "GooglePlayServicesRepairableException", "reference/com/google/android/gms/common/GooglePlayServicesRepairableException.html", null, null ], [ "UserRecoverableException", "reference/com/google/android/gms/common/UserRecoverableException.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.common.annotation", "reference/com/google/android/gms/common/annotation/package-summary.html", [ [ "Annotations", null, [ [ "KeepName", "reference/com/google/android/gms/common/annotation/KeepName.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.common.api", "reference/com/google/android/gms/common/api/package-summary.html", [ [ "Interfaces", null, [ [ "GoogleApiClient.ApiOptions", "reference/com/google/android/gms/common/api/GoogleApiClient.ApiOptions.html", null, null ], [ "GoogleApiClient.ConnectionCallbacks", "reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html", null, null ], [ "GoogleApiClient.OnConnectionFailedListener", "reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html", null, null ], [ "PendingResult", "reference/com/google/android/gms/common/api/PendingResult.html", null, null ], [ "Releasable", "reference/com/google/android/gms/common/api/Releasable.html", null, null ], [ "Result", "reference/com/google/android/gms/common/api/Result.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Api", "reference/com/google/android/gms/common/api/Api.html", null, null ], [ "GoogleApiClient", "reference/com/google/android/gms/common/api/GoogleApiClient.html", null, null ], [ "GoogleApiClient.Builder", "reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html", null, null ], [ "Scope", "reference/com/google/android/gms/common/api/Scope.html", null, null ], [ "Status", "reference/com/google/android/gms/common/api/Status.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 ], [ "DataBufferUtils", "reference/com/google/android/gms/common/data/DataBufferUtils.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 ], [ "FilteredDataBuffer", "reference/com/google/android/gms/common/data/FilteredDataBuffer.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 ] ] , null ] ] +, null ], [ "com.google.android.gms.drive", "reference/com/google/android/gms/drive/package-summary.html", [ [ "Interfaces", null, [ [ "DriveApi", "reference/com/google/android/gms/drive/DriveApi.html", null, null ], [ "DriveApi.ContentsResult", "reference/com/google/android/gms/drive/DriveApi.ContentsResult.html", null, null ], [ "DriveApi.IntentSenderResult", "reference/com/google/android/gms/drive/DriveApi.IntentSenderResult.html", null, null ], [ "DriveApi.MetadataBufferResult", "reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html", null, null ], [ "DriveApi.OnContentsDiscardedCallback", "reference/com/google/android/gms/drive/DriveApi.OnContentsDiscardedCallback.html", null, null ], [ "DriveApi.OnNewContentsCallback", "reference/com/google/android/gms/drive/DriveApi.OnNewContentsCallback.html", null, null ], [ "DriveApi.OnSyncFinishCallback", "reference/com/google/android/gms/drive/DriveApi.OnSyncFinishCallback.html", null, null ], [ "DriveFile", "reference/com/google/android/gms/drive/DriveFile.html", null, null ], [ "DriveFile.DownloadProgressListener", "reference/com/google/android/gms/drive/DriveFile.DownloadProgressListener.html", null, null ], [ "DriveFile.OnContentsClosedCallback", "reference/com/google/android/gms/drive/DriveFile.OnContentsClosedCallback.html", null, null ], [ "DriveFile.OnContentsOpenedCallback", "reference/com/google/android/gms/drive/DriveFile.OnContentsOpenedCallback.html", null, null ], [ "DriveFolder", "reference/com/google/android/gms/drive/DriveFolder.html", null, null ], [ "DriveFolder.DriveFileResult", "reference/com/google/android/gms/drive/DriveFolder.DriveFileResult.html", null, null ], [ "DriveFolder.DriveFolderResult", "reference/com/google/android/gms/drive/DriveFolder.DriveFolderResult.html", null, null ], [ "DriveFolder.OnChildrenRetrievedCallback", "reference/com/google/android/gms/drive/DriveFolder.OnChildrenRetrievedCallback.html", null, null ], [ "DriveFolder.OnCreateFileCallback", "reference/com/google/android/gms/drive/DriveFolder.OnCreateFileCallback.html", null, null ], [ "DriveFolder.OnCreateFolderCallback", "reference/com/google/android/gms/drive/DriveFolder.OnCreateFolderCallback.html", null, null ], [ "DriveResource", "reference/com/google/android/gms/drive/DriveResource.html", null, null ], [ "DriveResource.MetadataResult", "reference/com/google/android/gms/drive/DriveResource.MetadataResult.html", null, null ], [ "DriveResource.OnMetadataRetrievedCallback", "reference/com/google/android/gms/drive/DriveResource.OnMetadataRetrievedCallback.html", null, null ], [ "DriveResource.OnMetadataUpdatedCallback", "reference/com/google/android/gms/drive/DriveResource.OnMetadataUpdatedCallback.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Contents", "reference/com/google/android/gms/drive/Contents.html", null, null ], [ "CreateFileActivityBuilder", "reference/com/google/android/gms/drive/CreateFileActivityBuilder.html", null, null ], [ "Drive", "reference/com/google/android/gms/drive/Drive.html", null, null ], [ "DriveId", "reference/com/google/android/gms/drive/DriveId.html", null, null ], [ "Metadata", "reference/com/google/android/gms/drive/Metadata.html", null, null ], [ "MetadataBuffer", "reference/com/google/android/gms/drive/MetadataBuffer.html", null, null ], [ "MetadataChangeSet", "reference/com/google/android/gms/drive/MetadataChangeSet.html", null, null ], [ "MetadataChangeSet.Builder", "reference/com/google/android/gms/drive/MetadataChangeSet.Builder.html", null, null ], [ "OpenFileActivityBuilder", "reference/com/google/android/gms/drive/OpenFileActivityBuilder.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.drive.metadata", "reference/com/google/android/gms/drive/metadata/package-summary.html", [ [ "Classes", null, [ [ "CollectionMetadataField", "reference/com/google/android/gms/drive/metadata/CollectionMetadataField.html", null, null ], [ "MetadataField", "reference/com/google/android/gms/drive/metadata/MetadataField.html", null, null ], [ "OrderedMetadataField", "reference/com/google/android/gms/drive/metadata/OrderedMetadataField.html", null, null ], [ "StringMetadataField", "reference/com/google/android/gms/drive/metadata/StringMetadataField.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.drive.query", "reference/com/google/android/gms/drive/query/package-summary.html", [ [ "Interfaces", null, [ [ "Filter", "reference/com/google/android/gms/drive/query/Filter.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Filters", "reference/com/google/android/gms/drive/query/Filters.html", null, null ], [ "Query", "reference/com/google/android/gms/drive/query/Query.html", null, null ], [ "Query.Builder", "reference/com/google/android/gms/drive/query/Query.Builder.html", null, null ], [ "SearchableField", "reference/com/google/android/gms/drive/query/SearchableField.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.drive.widget", "reference/com/google/android/gms/drive/widget/package-summary.html", [ [ "Classes", null, [ [ "DataBufferAdapter", "reference/com/google/android/gms/drive/widget/DataBufferAdapter.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 ] ] , 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 ], [ "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 ], [ "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 ], [ "OnPlayerLeaderboardScoreLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnPlayerLeaderboardScoreLoadedListener.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 ], [ "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 ], [ "ParticipantResult", "reference/com/google/android/gms/games/multiplayer/ParticipantResult.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 ], [ "RealTimeSocket", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeSocket.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.games.multiplayer.turnbased", "reference/com/google/android/gms/games/multiplayer/turnbased/package-summary.html", [ [ "Interfaces", null, [ [ "OnTurnBasedMatchCanceledListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchCanceledListener.html", null, null ], [ "OnTurnBasedMatchesLoadedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchesLoadedListener.html", null, null ], [ "OnTurnBasedMatchInitiatedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchInitiatedListener.html", null, null ], [ "OnTurnBasedMatchLeftListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchLeftListener.html", null, null ], [ "OnTurnBasedMatchLoadedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchLoadedListener.html", null, null ], [ "OnTurnBasedMatchUpdatedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchUpdatedListener.html", null, null ], [ "OnTurnBasedMatchUpdateReceivedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchUpdateReceivedListener.html", null, null ], [ "TurnBasedMatch", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatch.html", null, null ], [ "TurnBasedMultiplayerListener", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayerListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "LoadMatchesResponse", "reference/com/google/android/gms/games/multiplayer/turnbased/LoadMatchesResponse.html", null, null ], [ "TurnBasedMatchBuffer", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchBuffer.html", null, null ], [ "TurnBasedMatchConfig", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchConfig.html", null, null ], [ "TurnBasedMatchConfig.Builder", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchConfig.Builder.html", null, null ], [ "TurnBasedMatchEntity", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchEntity.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 ] ] @@ -67,7 +90,7 @@ var GMS_NAVTREE_DATA = , null ], [ "Classes", null, [ [ "Person.Cover.Layout", "reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html", null, null ], [ "Person.Gender", "reference/com/google/android/gms/plus/model/people/Person.Gender.html", null, null ], [ "Person.ObjectType", "reference/com/google/android/gms/plus/model/people/Person.ObjectType.html", null, null ], [ "Person.Organizations.Type", "reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html", null, null ], [ "Person.RelationshipStatus", "reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html", null, null ], [ "Person.Urls.Type", "reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html", null, null ], [ "PersonBuffer", "reference/com/google/android/gms/plus/model/people/PersonBuffer.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.wallet", "reference/com/google/android/gms/wallet/package-summary.html", [ [ "Interfaces", null, [ [ "LineItem.Role", "reference/com/google/android/gms/wallet/LineItem.Role.html", null, null ], [ "NotifyTransactionStatusRequest.Status", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Status.html", null, null ], [ "NotifyTransactionStatusRequest.Status.Error", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Status.Error.html", null, null ] ] -, null ], [ "Classes", null, [ [ "Address", "reference/com/google/android/gms/wallet/Address.html", null, null ], [ "Cart", "reference/com/google/android/gms/wallet/Cart.html", null, null ], [ "Cart.Builder", "reference/com/google/android/gms/wallet/Cart.Builder.html", null, null ], [ "EnableWalletOptimizationReceiver", "reference/com/google/android/gms/wallet/EnableWalletOptimizationReceiver.html", null, null ], [ "FullWallet", "reference/com/google/android/gms/wallet/FullWallet.html", null, null ], [ "FullWalletRequest", "reference/com/google/android/gms/wallet/FullWalletRequest.html", null, null ], [ "FullWalletRequest.Builder", "reference/com/google/android/gms/wallet/FullWalletRequest.Builder.html", null, null ], [ "LineItem", "reference/com/google/android/gms/wallet/LineItem.html", null, null ], [ "LineItem.Builder", "reference/com/google/android/gms/wallet/LineItem.Builder.html", null, null ], [ "LoyaltyWalletObject", "reference/com/google/android/gms/wallet/LoyaltyWalletObject.html", null, null ], [ "MaskedWallet", "reference/com/google/android/gms/wallet/MaskedWallet.html", null, null ], [ "MaskedWalletRequest", "reference/com/google/android/gms/wallet/MaskedWalletRequest.html", null, null ], [ "MaskedWalletRequest.Builder", "reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html", null, null ], [ "NotifyTransactionStatusRequest", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.html", null, null ], [ "NotifyTransactionStatusRequest.Builder", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html", null, null ], [ "OfferWalletObject", "reference/com/google/android/gms/wallet/OfferWalletObject.html", null, null ], [ "ProxyCard", "reference/com/google/android/gms/wallet/ProxyCard.html", null, null ], [ "WalletClient", "reference/com/google/android/gms/wallet/WalletClient.html", null, null ], [ "WalletConstants", "reference/com/google/android/gms/wallet/WalletConstants.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Address", "reference/com/google/android/gms/wallet/Address.html", null, null ], [ "Cart", "reference/com/google/android/gms/wallet/Cart.html", null, null ], [ "Cart.Builder", "reference/com/google/android/gms/wallet/Cart.Builder.html", null, null ], [ "CountrySpecification", "reference/com/google/android/gms/wallet/CountrySpecification.html", null, null ], [ "EnableWalletOptimizationReceiver", "reference/com/google/android/gms/wallet/EnableWalletOptimizationReceiver.html", null, null ], [ "FullWallet", "reference/com/google/android/gms/wallet/FullWallet.html", null, null ], [ "FullWalletRequest", "reference/com/google/android/gms/wallet/FullWalletRequest.html", null, null ], [ "FullWalletRequest.Builder", "reference/com/google/android/gms/wallet/FullWalletRequest.Builder.html", null, null ], [ "LineItem", "reference/com/google/android/gms/wallet/LineItem.html", null, null ], [ "LineItem.Builder", "reference/com/google/android/gms/wallet/LineItem.Builder.html", null, null ], [ "LoyaltyWalletObject", "reference/com/google/android/gms/wallet/LoyaltyWalletObject.html", null, null ], [ "MaskedWallet", "reference/com/google/android/gms/wallet/MaskedWallet.html", null, null ], [ "MaskedWalletRequest", "reference/com/google/android/gms/wallet/MaskedWalletRequest.html", null, null ], [ "MaskedWalletRequest.Builder", "reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html", null, null ], [ "NotifyTransactionStatusRequest", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.html", null, null ], [ "NotifyTransactionStatusRequest.Builder", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html", null, null ], [ "OfferWalletObject", "reference/com/google/android/gms/wallet/OfferWalletObject.html", null, null ], [ "ProxyCard", "reference/com/google/android/gms/wallet/ProxyCard.html", null, null ], [ "WalletClient", "reference/com/google/android/gms/wallet/WalletClient.html", null, null ], [ "WalletConstants", "reference/com/google/android/gms/wallet/WalletConstants.html", null, null ] ] , null ] ] , null ] ] diff --git a/docs/html/reference/com/google/android/gms/R.attr.html b/docs/html/reference/com/google/android/gms/R.attr.html index d1de6fffb3999c9e3ac1aeb013b62732985a72f5..327780081832c4a0af67fa83fa07f91a90ef748c 100644 --- a/docs/html/reference/com/google/android/gms/R.attr.html +++ b/docs/html/reference/com/google/android/gms/R.attr.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ConstantValueDescription match_global_nicknames1 Enable global nickname matching on this section demote_common_words2 Demote common words by a factor in this section +demote_rfc822_hostnames3 Demote RFC822 hostnames by a factor in this section. Only applicable to RFC822 + sections

This is a private symbol.

@@ -3351,11 +3412,13 @@ containing a value of this type. AttributeDescription com.google.android.gms:adSize The size of the ad. + com.google.android.gms:adSizes + A comma-separated list of the supported ad sizes. com.google.android.gms:adUnitId The ad unit ID.

See Also
-
diff --git a/docs/html/reference/com/google/android/gms/ads/AdListener.html b/docs/html/reference/com/google/android/gms/ads/AdListener.html index 321230fe9ffed0cb6e3042cb36ed51fd73451595..dd082cae5faba84a3acc9be56a84477bb18007c0 100644 --- a/docs/html/reference/com/google/android/gms/ads/AdListener.html +++ b/docs/html/reference/com/google/android/gms/ads/AdListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
-

Set the user's birthday for targeting purposes. +

Sets the user's birthday for targeting purposes.

@@ -1440,7 +1460,7 @@ From class
-

Set the user's gender for targeting purposes. This should be +

Sets the user's gender for targeting purposes. This should be GENDER_MALE, GENDER_FEMALE, or GENDER_UNKNOWN.

@@ -1448,6 +1468,36 @@ From class
+ + +
+

+ + public + + + + + AdRequest.Builder + + setLocation + (Location location) +

+
+
+ + + +
+
+ +

Sets the user's location for targeting purposes. +

+ +
+
+ +
diff --git a/docs/html/reference/com/google/android/gms/ads/AdRequest.html b/docs/html/reference/com/google/android/gms/ads/AdRequest.html index 951173acf87adbe83e050c8170bf444ca4c2f2d5..a714e286cc26ad75b27cb9a51693b5bf0d79f03b 100644 --- a/docs/html/reference/com/google/android/gms/ads/AdRequest.html +++ b/docs/html/reference/com/google/android/gms/ads/AdRequest.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
-

The deviceId for emulators to be used with addTestDevice(String). +

The deviceId for emulators to be used with + addTestDevice(String).

@@ -1676,6 +1702,37 @@ From class
+ + +
+

+ + public + + + + + Location + + getLocation + () +

+
+
+ + + +
+
+ +

Returns the user's location targeting information. Returns null if the location was + not set. +

+ +
+
+ +
diff --git a/docs/html/reference/com/google/android/gms/ads/AdSize.html b/docs/html/reference/com/google/android/gms/ads/AdSize.html index 81b7ae4050aed91efbf904422df29cc40360ee4a..2cb4cca69db693c8e44a2498a9c0a0dd3d998242 100644 --- a/docs/html/reference/com/google/android/gms/ads/AdSize.html +++ b/docs/html/reference/com/google/android/gms/ads/AdSize.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
diff --git a/docs/html/reference/com/google/android/gms/ads/AdView.html b/docs/html/reference/com/google/android/gms/ads/AdView.html index 85ec19df9d03aad987035acbb2a73e03aeedd9fb..faff2fb47d4f3e472581b8eae80678586c116be8 100644 --- a/docs/html/reference/com/google/android/gms/ads/AdView.html +++ b/docs/html/reference/com/google/android/gms/ads/AdView.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
-

Returns the size of the banner ad. -

+

Returns the size of the banner ad. Returns null if setAdSize(AdSize) hasn't been + called yet.

+
+
Related XML Attributes
+ +
@@ -13315,8 +13334,13 @@ containing a value of this type.
-

Returns the ad unit ID. -

+

Returns the ad unit ID.

+
+
Related XML Attributes
+ +
@@ -13345,12 +13369,12 @@ containing a value of this type.
-

Start loading the ad on a background thread.

+

Starts loading the ad on a background thread.

Throws
- @@ -13385,7 +13409,7 @@ containing a value of this type.
-

Pause any extra processing associated with this AdView. This method should be called +

Pauses any extra processing associated with this AdView. This method should be called in the parent Activity's onPause() method.

@@ -13416,7 +13440,7 @@ containing a value of this type.
-

Resume an AdView after a previous call to pause(). This method should be +

Resumes an AdView after a previous call to pause(). This method should be called in the parent Activity's onResume() method.

@@ -13447,7 +13471,7 @@ containing a value of this type.
-

Set an AdListener for this AdView. +

Sets an AdListener for this AdView.

@@ -13488,7 +13512,7 @@ containing a value of this type.
Throws
IllegalArgumentException + IllegalStateException If the size of the banner ad or the ad unit ID have not been set.
- @@ -13533,7 +13557,7 @@ containing a value of this type.
Throws
IllegalArgumentException + IllegalStateException If the size of the banner ad was already set.
- diff --git a/docs/html/reference/com/google/android/gms/ads/InterstitialAd.html b/docs/html/reference/com/google/android/gms/ads/InterstitialAd.html index 5c7b0c950cd9c7829542fbcf9f2b506f76d0aa53..c4a6e538e4e1e9fcd26c2469bb9bb262b222ec26 100644 --- a/docs/html/reference/com/google/android/gms/ads/InterstitialAd.html +++ b/docs/html/reference/com/google/android/gms/ads/InterstitialAd.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
@@ -1466,7 +1471,7 @@ From class
Throws
IllegalArgumentException + IllegalStateException If the ad unit ID was already set.
setAdListener(AdListener adListener) -
Set an AdListener for this InterstitialAd.
+
Sets an AdListener for this InterstitialAd.
- @@ -1500,7 +1505,7 @@ From class
-

Set an AdListener for this InterstitialAd. +

Sets an AdListener for this InterstitialAd.

@@ -1535,7 +1540,7 @@ From class
Throws
IllegalArgumentException + IllegalStateException If the the ad unit ID has not been set.
- diff --git a/docs/html/reference/com/google/android/gms/ads/doubleclick/AppEventListener.html b/docs/html/reference/com/google/android/gms/ads/doubleclick/AppEventListener.html new file mode 100644 index 0000000000000000000000000000000000000000..6d532edcb1ad0387b429b5eecafa16162024ed1d --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/doubleclick/AppEventListener.html @@ -0,0 +1,936 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +AppEventListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

AppEventListener

+ + + + + + + + +
+ +
+ +
+
IllegalArgumentException + IllegalStateException If the ad unit ID was already set.
+ + + + + + + + +
com.google.android.gms.ads.doubleclick.AppEventListener
+ + + + + + + +
+ + +

Class Overview

+

A listener interface for app events triggered by ads. App events allow JavaScript within an ad to + trigger events in the application. The ad can trigger the app event with a name and optional + data. It is then up to the application to decide how to handle the event. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onAppEvent(String name, String data) + +
Called when an app event occurs.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onAppEvent + (String name, String data) +

+
+
+ + + +
+
+ +

Called when an app event occurs.

+
+
Parameters
+ + + + + + + +
name + The name of the app event.
data + Extra data included with the app event. The data can be null. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.Builder.html b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.Builder.html new file mode 100644 index 0000000000000000000000000000000000000000..e593d417b91131d78cd78e0b31b2e9d7953d0b07 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.Builder.html @@ -0,0 +1,1712 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PublisherAdRequest.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

PublisherAdRequest.Builder

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.ads.doubleclick.PublisherAdRequest.Builder
+ + + + + + + +
+ + +

Class Overview

+

Builds a PublisherAdRequest. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + PublisherAdRequest.Builder() + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + PublisherAdRequest.Builder + + addKeyword(String keyword) + +
Add a keyword for targeting purposes.
+ +
+ + + + + + PublisherAdRequest.Builder + + addNetworkExtras(NetworkExtras networkExtras) + +
Add extra parameters to pass to a specific ad network adapter.
+ +
+ + + + + + PublisherAdRequest.Builder + + addTestDevice(String deviceId) + +
Causes a device to receive test ads.
+ +
+ + + + + + PublisherAdRequest + + build() + +
Constructs PublisherAdRequest with the specified attributes.
+ +
+ + + + + + PublisherAdRequest.Builder + + setBirthday(Date birthday) + +
Sets the user's birthday for targeting purposes.
+ +
+ + + + + + PublisherAdRequest.Builder + + setGender(int gender) + +
Sets the user's gender for targeting purposes.
+ +
+ + + + + + PublisherAdRequest.Builder + + setLocation(Location location) + +
Sets the user's location for targeting purposes.
+ +
+ + + + + + PublisherAdRequest.Builder + + setManualImpressionsEnabled(boolean manualImpressionsEnabled) + +
Enables manual impression reporting.
+ +
+ + + + + + PublisherAdRequest.Builder + + setPublisherProvidedId(String publisherProvidedId) + +
Sets an identifier for use in frequency capping, audience segmentation and targeting, + sequential ad rotation, and other audience-based ad delivery controls across devices.
+ +
+ + + + + + PublisherAdRequest.Builder + + tagForChildDirectedTreatment(boolean tagForChildDirectedTreatment) + +
This method allows you to specify whether you would like your app to be treated as + child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - + + http://business.ftc.gov/privacy-and-security/childrens-privacy.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + PublisherAdRequest.Builder + () +

+
+
+ + + +
+
+ +

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

Public Methods

+ + + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + addKeyword + (String keyword) +

+
+
+ + + +
+
+ +

Add a keyword for targeting purposes. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + addNetworkExtras + (NetworkExtras networkExtras) +

+
+
+ + + +
+
+ +

Add extra parameters to pass to a specific ad network adapter. networkExtras + should be an instance of com.google.ads.mediation.NetworkExtras, which is + provided by ad network adapters. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + addTestDevice + (String deviceId) +

+
+
+ + + +
+
+ +

Causes a device to receive test ads. The deviceId can be obtained by viewing the + logcat output after creating a new ad. For emulators, use + DEVICE_ID_EMULATOR. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest + + build + () +

+
+
+ + + +
+
+ +

Constructs PublisherAdRequest with the specified attributes. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + setBirthday + (Date birthday) +

+
+
+ + + +
+
+ +

Sets the user's birthday for targeting purposes. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + setGender + (int gender) +

+
+
+ + + +
+
+ +

Sets the user's gender for targeting purposes. This should be + GENDER_MALE, GENDER_FEMALE, or GENDER_UNKNOWN. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + setLocation + (Location location) +

+
+
+ + + +
+
+ +

Sets the user's location for targeting purposes. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + setManualImpressionsEnabled + (boolean manualImpressionsEnabled) +

+
+
+ + + +
+
+ +

Enables manual impression reporting. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + setPublisherProvidedId + (String publisherProvidedId) +

+
+
+ + + +
+
+ +

Sets an identifier for use in frequency capping, audience segmentation and targeting, + sequential ad rotation, and other audience-based ad delivery controls across devices. +

+ +
+
+ + + + +
+

+ + public + + + + + PublisherAdRequest.Builder + + tagForChildDirectedTreatment + (boolean tagForChildDirectedTreatment) +

+
+
+ + + +
+
+ +

This method allows you to specify whether you would like your app to be treated as + child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - + + http://business.ftc.gov/privacy-and-security/childrens-privacy. +

+ If you set this method to true, you will indicate that your app should be treated + as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA). +

+ If you set this method to false, you will indicate that your app should not be + treated as child-directed for purposes of the Children’s Online Privacy Protection Act + (COPPA). +

+ If you do not set this method, ad requests will include no indication of how you would + like your app treated with respect to COPPA. +

+ By setting this method, you certify that this notification is accurate and you are + authorized to act on behalf of the owner of the app. You understand that abuse of this + setting may result in termination of your Google account. +

+ Note: it may take some time for this designation to be fully implemented in applicable + Google services. +

+ This designation will only apply to ad requests for which you have set this method.

+
+
Parameters
+ + + + +
tagForChildDirectedTreatment + Set to true to indicate that your app should + be treated as child-directed. Set to false to indicate that your app + should not be treated as child-directed. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.html b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.html new file mode 100644 index 0000000000000000000000000000000000000000..e498e8e24b9d43c9fce7b898d5077b42f0379afa --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.html @@ -0,0 +1,1942 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PublisherAdRequest | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

PublisherAdRequest

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.ads.doubleclick.PublisherAdRequest
+ + + + + + + +
+ + +

Class Overview

+

A PublisherAdRequest contains targeting information used to fetch an ad from DoubleClick + for Publishers. Ad requests are created using PublisherAdRequest.Builder. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classPublisherAdRequest.BuilderBuilds a PublisherAdRequest
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intERROR_CODE_INTERNAL_ERRORSomething happened internally; for instance, an invalid response was received from the ad + server.
intERROR_CODE_INVALID_REQUESTThe ad request was invalid; for instance, the ad unit ID was incorrect.
intERROR_CODE_NETWORK_ERRORThe ad request was unsuccessful due to network connectivity.
intERROR_CODE_NO_FILLThe ad request was successful, but no ad was returned due to lack of ad inventory.
intGENDER_FEMALEFemale gender.
intGENDER_MALEMale gender.
intGENDER_UNKNOWNUnknown gender.
+ + + + + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + StringDEVICE_ID_EMULATORThe deviceId for emulators to be used with + addTestDevice(String).
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + Date + + getBirthday() + +
Returns the user's birthday targeting information.
+ +
+ + + + + + int + + getGender() + +
Returns the user's gender targeting information.
+ +
+ + + + + + Set<String> + + getKeywords() + +
Returns targeting information keywords.
+ +
+ + + + + + Location + + getLocation() + +
Returns the user's location targeting information.
+ +
+ + + + + + boolean + + getManualImpressionsEnabled() + +
Returns true if manual impression reporting is enabled.
+ +
+ + + + + <T extends NetworkExtras> + T + + getNetworkExtras(Class<T> networkExtrasClass) + +
Returns extra parameters to pass to a specific ad network adapter.
+ +
+ + + + + + String + + getPublisherProvidedId() + +
Returns the identifier used for frequency capping, audience segmentation and targeting, + sequential ad rotation, and other audience-based ad delivery controls across devices.
+ +
+ + + + + + boolean + + isTestDevice(Context context) + +
Returns true if this device will receive test ads.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + ERROR_CODE_INTERNAL_ERROR +

+
+ + + + +
+
+ +

Something happened internally; for instance, an invalid response was received from the ad + server. +

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

+ + public + static + final + int + + ERROR_CODE_INVALID_REQUEST +

+
+ + + + +
+
+ +

The ad request was invalid; for instance, the ad unit ID was incorrect. +

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

+ + public + static + final + int + + ERROR_CODE_NETWORK_ERROR +

+
+ + + + +
+
+ +

The ad request was unsuccessful due to network connectivity. +

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

+ + public + static + final + int + + ERROR_CODE_NO_FILL +

+
+ + + + +
+
+ +

The ad request was successful, but no ad was returned due to lack of ad inventory. +

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

+ + public + static + final + int + + GENDER_FEMALE +

+
+ + + + +
+
+ +

Female gender.

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

+ + public + static + final + int + + GENDER_MALE +

+
+ + + + +
+
+ +

Male gender.

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

+ + public + static + final + int + + GENDER_UNKNOWN +

+
+ + + + +
+
+ +

Unknown gender.

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

Fields

+ + + + + + +
+

+ + public + static + final + String + + DEVICE_ID_EMULATOR +

+
+ + + + +
+
+ +

The deviceId for emulators to be used with + addTestDevice(String). +

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

Public Methods

+ + + + + +
+

+ + public + + + + + Date + + getBirthday + () +

+
+
+ + + +
+
+ +

Returns the user's birthday targeting information. Returns null if the birthday was + not set. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getGender + () +

+
+
+ + + +
+
+ +

Returns the user's gender targeting information. Returns -1 if the gender was not + set. +

+ +
+
+ + + + +
+

+ + public + + + + + Set<String> + + getKeywords + () +

+
+
+ + + +
+
+ +

Returns targeting information keywords. Returns an empty Set if no + keywords were added. +

+ +
+
+ + + + +
+

+ + public + + + + + Location + + getLocation + () +

+
+
+ + + +
+
+ +

Returns the user's location targeting information. Returns null if the location was + not set. +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + getManualImpressionsEnabled + () +

+
+
+ + + +
+
+ +

Returns true if manual impression reporting is enabled. +

+ +
+
+ + + + +
+

+ + public + + + + + T + + getNetworkExtras + (Class<T> networkExtrasClass) +

+
+
+ + + +
+
+ +

Returns extra parameters to pass to a specific ad network adapter. Ad network adapters + provide a NetworkExtras class. Returns null if no network extras of the + provided type were set. +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getPublisherProvidedId + () +

+
+
+ + + +
+
+ +

Returns the identifier used for frequency capping, audience segmentation and targeting, + sequential ad rotation, and other audience-based ad delivery controls across devices. +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isTestDevice + (Context context) +

+
+
+ + + +
+
+ +

Returns true if this device will receive test ads. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdView.html b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdView.html new file mode 100644 index 0000000000000000000000000000000000000000..a3195c96027a2b4d2fb25c9fa20769bcb25ebbd2 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherAdView.html @@ -0,0 +1,13887 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PublisherAdView | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

PublisherAdView

+ + + + + + + + + + + + + extends ViewGroup
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳android.view.View
    ↳android.view.ViewGroup
     ↳com.google.android.gms.ads.doubleclick.PublisherAdView
+ + + + + + + +
+ + +

Class Overview

+

The View to display banner ads for use with DoubleClick for Publishers. The + ad size and ad unit ID must be set prior to calling loadAd(PublisherAdRequest). +

+ Sample code: +

+ public class MyActivity extends Activity {
+     private PublisherAdView mPublisherAdView;
+
+     @Override
+     public void onCreate(Bundle savedInstanceState) {
+         super.onCreate(savedInstanceState);
+
+         LinearLayout layout = new LinearLayout(this);
+         layout.setOrientation(LinearLayout.VERTICAL);
+
+         // Create a banner ad. The ad size and ad unit ID must be set before calling loadAd.
+         mPublisherAdView = new PublisherAdView(this);
+         mPublisherAdView.setAdSize(AdSize.SMART_BANNER);
+         mPublisherAdView.setAdUnitId("myAdUnitId");
+
+         // Create an ad request.
+         PublisherAdRequest.Builder publisherAdRequestBuilder = new PublisherAdRequest.Builder();
+
+         // Optionally populate the ad request builder.
+         publisherAdRequestBuilder.addTestDevice(PublisherAdRequest.DEVICE_ID_EMULATOR);
+
+         // Add the PublisherAdView to the view hierarchy.
+         layout.addView(mPublisherAdView);
+
+         // Start loading the ad.
+         mPublisherAdView.loadAd(PublisherAdRequestBuilder.build());
+
+         setContentView(layout);
+     }
+
+     @Override
+     public void onResume() {
+         super.onResume();
+
+         // Resume the PublisherAdView.
+         mPublisherAdView.resume();
+     }
+
+     @Override
+     public void onPause() {
+         // Pause the PublisherAdView.
+         mPublisherAdView.pause();
+
+         super.onPause();
+     }
+
+     @Override
+     public void onDestroy() {
+         // Destroy the PublisherAdView.
+         mPublisherAdView.destroy();
+
+         super.onDestroy();
+     }
+ }

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
XML Attributes
Attribute NameRelated MethodDescription
com.google.android.gms:adSizes + setAdSizes(AdSize) + + A comma-separated list of the supported ad sizes. 
com.google.android.gms:adUnitId + setAdUnitId(String) + + The ad unit ID. 
+ + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From class +android.view.ViewGroup +
+ + +
+
+ + From class +android.view.View +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Fields
+ + From class +android.view.View +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + PublisherAdView(Context context) + +
Construct an PublisherAdView from code.
+ +
+ + + + + + + + PublisherAdView(Context context, AttributeSet attrs) + +
Construct a PublisherAdView from an XML layout.
+ +
+ + + + + + + + PublisherAdView(Context context, AttributeSet attrs, int defStyle) + +
Construct an PublisherAdView from an XML layout.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + destroy() + +
Destroy the PublisherAdView.
+ +
+ + + + + + AdListener + + getAdListener() + +
Returns the AdListener for this PublisherAdView.
+ +
+ + + + + + AdSize + + getAdSize() + +
Returns the size of the currently displayed banner ad.
+ +
+ + + + + + AdSize[] + + getAdSizes() + +
Returns the ad sizes supported by this PublisherAdView.
+ +
+ + + + + + String + + getAdUnitId() + +
Returns the ad unit ID.
+ +
+ + + + + + AppEventListener + + getAppEventListener() + +
Returns the AppEventListener for this PublisherAdView.
+ +
+ + + + + + void + + loadAd(PublisherAdRequest publisherAdRequest) + +
Start loading the ad on a background thread.
+ +
+ + + + + + void + + pause() + +
Pause any extra processing associated with this PublisherAdView.
+ +
+ + + + + + void + + recordManualImpression() + +
Record a manual impression.
+ +
+ + + + + + void + + resume() + +
Resume a PublisherAdView after a previous call to pause().
+ +
+ + + + + + void + + setAdListener(AdListener adListener) + +
Sets an AdListener for this PublisherAdView.
+ +
+ + + + + + void + + setAdSizes(AdSize... adSizes) + +
Sets the supported sizes of the banner ad.
+ +
+ + + + + + void + + setAdUnitId(String adUnitId) + +
Sets the ad unit ID.
+ +
+ + + + + + void + + setAppEventListener(AppEventListener appEventListener) + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
Protected Methods
+ + + + + + void + + onLayout(boolean changed, int left, int top, int right, int bottom) + +
+ + + + + + void + + onMeasure(int widthMeasureSpec, int heightMeasureSpec) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + android.view.ViewGroup + +
+ + +
+
+ +From class + + android.view.View + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.graphics.drawable.Drawable.Callback + +
+ + +
+
+ +From interface + + android.view.KeyEvent.Callback + +
+ + +
+
+ +From interface + + android.view.ViewManager + +
+ + +
+
+ +From interface + + android.view.ViewParent + +
+ + +
+
+ +From interface + + android.view.accessibility.AccessibilityEventSource + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + +

XML Attributes

+ + + + +
+

com.google.android.gms:adSizes +

+
+ +

A comma-separated list of the supported ad sizes. The sizes must be one of + BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER, + WIDE_SKYSCRAPER, or <width>x<height>. + + + +

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

This is a private symbol.

+ + +
+
Related Methods
+ +
+
+
+ + + +
+

com.google.android.gms:adUnitId +

+
+ +

The ad unit ID. + + +

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

This is a private symbol.

+ + +
+
Related Methods
+ +
+
+
+ + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + PublisherAdView + (Context context) +

+
+
+ + + +
+
+ +

Construct an PublisherAdView from code.

+
+
Parameters
+ + + + +
context + The Context the PublisherAdView is running in. +
+
+ +
+
+ + + + +
+

+ + public + + + + + + + PublisherAdView + (Context context, AttributeSet attrs) +

+
+
+ + + +
+
+ +

Construct a PublisherAdView from an XML layout. +

+ +
+
+ + + + +
+

+ + public + + + + + + + PublisherAdView + (Context context, AttributeSet attrs, int defStyle) +

+
+
+ + + +
+
+ +

Construct an PublisherAdView from an XML layout. +

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

Public Methods

+ + + + + +
+

+ + public + + + + + void + + destroy + () +

+
+
+ + + +
+
+ +

Destroy the PublisherAdView. This method should be called in the parent Activity's + onDestroy() method. No other methods should be called on the + PublisherAdView after destroy() is called. +

+ +
+
+ + + + +
+

+ + public + + + + + AdListener + + getAdListener + () +

+
+
+ + + +
+
+ +

Returns the AdListener for this PublisherAdView. +

+ +
+
+ + + + +
+

+ + public + + + + + AdSize + + getAdSize + () +

+
+
+ + + +
+
+ +

Returns the size of the currently displayed banner ad. Returns null if + setAdSizes(AdSize...) hasn't been called yet. See getAdSizes() for the ad sizes + supported by this PublisherAdView. +

+ +
+
+ + + + +
+

+ + public + + + + + AdSize[] + + getAdSizes + () +

+
+
+ + + +
+
+ +

Returns the ad sizes supported by this PublisherAdView. See getAdSize() for + the size of the currently displayed banner ad.

+
+
Related XML Attributes
+ +
+ +
+
+ + + + +
+

+ + public + + + + + String + + getAdUnitId + () +

+
+
+ + + +
+
+ +

Returns the ad unit ID.

+
+
Related XML Attributes
+ +
+ +
+
+ + + + +
+

+ + public + + + + + AppEventListener + + getAppEventListener + () +

+
+
+ + + +
+
+ +

Returns the AppEventListener for this PublisherAdView. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + loadAd + (PublisherAdRequest publisherAdRequest) +

+
+
+ + + +
+
+ +

Start loading the ad on a background thread.

+
+
Throws
+ + + + +
IllegalStateException + If the size of the banner ad or the ad unit ID have not been + set. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + pause + () +

+
+
+ + + +
+
+ +

Pause any extra processing associated with this PublisherAdView. This method should + be called in the parent Activity's onPause() method. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + recordManualImpression + () +

+
+
+ + + +
+
+ +

Record a manual impression. setManualImpressionsEnabled(boolean) + must be enabled for this method to have any effect. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + resume + () +

+
+
+ + + +
+
+ +

Resume a PublisherAdView after a previous call to pause(). This method should + be called in the parent Activity's onResume() method. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdListener + (AdListener adListener) +

+
+
+ + + +
+
+ +

Sets an AdListener for this PublisherAdView. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdSizes + (AdSize... adSizes) +

+
+
+ + + +
+
+ +

Sets the supported sizes of the banner ad. In most cases, only one ad size will be specified. +

+ Multiple ad sizes can be specified if your application can appropriately handle multiple + ad sizes. For example, your application might call getAdSize() during the + onAdLoaded() callback and change the layout according to the size of the ad + that was loaded. If multiple ad sizes are specified, the PublisherAdView will + assume the size of the first ad size until an ad is loaded. +

+ This method also immediately resizes the currently displayed ad, so calling this method after an + ad has been loaded is not recommended unless you know for certain that the content of the + ad will render correctly in the new ad size. This can be used if an ad needs to be resized + after it has been loaded. If more than one ad size is specified, the currently displayed ad + will be resized to the first ad size.

+
+
Related XML Attributes
+ +
+
+
Throws
+ + + + +
IllegalArgumentException + If adSizes is null or empty. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdUnitId + (String adUnitId) +

+
+
+ + + +
+
+ +

Sets the ad unit ID.

+
+
Related XML Attributes
+ +
+
+
Throws
+ + + + +
IllegalStateException + If the ad unit ID was already set. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setAppEventListener + (AppEventListener appEventListener) +

+
+
+ + + +
+
+ +

Sets an AppEventListener for this PublisherAdView. +

+ +
+
+ + + + + + + +

Protected Methods

+ + + + + +
+

+ + protected + + + + + void + + onLayout + (boolean changed, int left, int top, int right, int bottom) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + protected + + + + + void + + onMeasure + (int widthMeasureSpec, int heightMeasureSpec) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html new file mode 100644 index 0000000000000000000000000000000000000000..cdbaaeb82f8a6c21cfebc104fad96ca585372804 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html @@ -0,0 +1,1728 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +PublisherInterstitialAd | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

PublisherInterstitialAd

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.ads.doubleclick.PublisherInterstitialAd
+ + + + + + + +
+ + +

Class Overview

+

Full-screen interstitial ads for use with DoubleClick for Publishers. The ad unit ID must be set + prior to calling loadAd(PublisherAdRequest). +

+ Sample code: +

+ public class MyActivity extends Activity {
+     private PublisherInterstitialAd mPublisherInterstitialAd;
+     private Button mNextLevelButton;
+     private TextView mTextView;
+
+     @Override
+     public void onCreate(Bundle savedInstanceState) {
+         super.onCreate(savedInstanceState);
+
+         // Create an interstitial ad. When a natural transition in the app occurs (such as a
+         // level ending in a game), show the interstitial. In this simple example, the press of a
+         // button is used instead.
+         //
+         // If the button is clicked before the interstitial is loaded, the user should proceed to
+         // the next part of the app (in this case, the next level).
+         //
+         // If the interstitial is finished loading, the user will view the interstitial before
+         // proceeding.
+         mPublisherInterstitialAd = new PublisherInterstitialAd(this);
+         mPublisherInterstitialAd.setAdUnitId("myAdUnitId");
+
+         // Create an ad request.
+         PublisherAdRequest.Builder publisherAdRequestBuilder = new PublisherAdRequest.Builder();
+
+         // Optionally populate the ad request builder.
+         publisherAdRequestBuilder.addTestDevice(PublisherAdRequest.DEVICE_ID_EMULATOR);
+
+         // Set an AdListener.
+         mPublisherInterstitialAd.setAdListener(new AdListener() {
+             @Override
+             public void onAdLoaded() {
+                 Toast.makeText(MyActivity.this,
+                         "The interstitial is loaded", Toast.LENGTH_SHORT).show();
+             }
+
+             @Override
+             public void onAdClosed() {
+                 // Proceed to the next level.
+                 goToNextLevel();
+             }
+         });
+
+         // Start loading the ad now so that it is ready by the time the user is ready to go to
+         // the next level.
+         mPublisherInterstitialAd.loadAd(publisherAdRequestBuilder.build());
+
+         // Create the button to go to the next level.
+         mNextLevelButton = new Button(this);
+         mNextLevelButton.setText("Next Level");
+         mNextLevelButton.setOnClickListener(new View.OnClickListener() {
+             @Override
+             public void onClick(View view) {
+                 // Show the interstitial if it is ready. Otherwise, proceed to the next level
+                 // without ever showing it.
+                 if (mPublisherInterstitialAd.isLoaded()) {
+                     mPublisherInterstitialAd.show();
+                 } else {
+                     // Proceed to the next level.
+                     goToNextLevel();
+                 }
+             }
+         });
+
+         // Add the next level button to the layout.
+         LinearLayout layout = new LinearLayout(this);
+         layout.setOrientation(LinearLayout.VERTICAL);
+         layout.addView(mNextLevelButton);
+
+         // Create a TextView to display the current level.
+         mTextView = new TextView(this);
+         mTextView.setText("Level 1");
+         layout.addView(mTextView);
+
+         setContentView(layout);
+     }
+
+     public void goToNextLevel() {
+         // Show the next level (and disable the next level button since there are no more levels.
+         mNextLevelButton.setEnabled(false);
+         mTextView.setText("Level 2");
+     }
+ }
+

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + PublisherInterstitialAd(Context context) + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + AdListener + + getAdListener() + +
Returns the AdListener for this PublisherInterstitialAd.
+ +
+ + + + + + String + + getAdUnitId() + +
Returns the ad unit ID.
+ +
+ + + + + + AppEventListener + + getAppEventListener() + + + +
+ + + + + + boolean + + isLoaded() + +
Returns true if the ad was successfully loaded and is ready to be shown.
+ +
+ + + + + + void + + loadAd(PublisherAdRequest publisherAdRequest) + +
Start loading the ad on a background thread.
+ +
+ + + + + + void + + setAdListener(AdListener adListener) + + + +
+ + + + + + void + + setAdUnitId(String adUnitId) + +
Sets the ad unit ID.
+ +
+ + + + + + void + + setAppEventListener(AppEventListener appEventListener) + + + +
+ + + + + + void + + show() + +
Show the interstitial ad.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + PublisherInterstitialAd + (Context context) +

+
+
+ + + +
+
+ +

Construct an PublisherInterstitialAd. +

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

Public Methods

+ + + + + +
+

+ + public + + + + + AdListener + + getAdListener + () +

+
+
+ + + +
+
+ +

Returns the AdListener for this PublisherInterstitialAd. +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getAdUnitId + () +

+
+
+ + + +
+
+ +

Returns the ad unit ID. +

+ +
+
+ + + + +
+

+ + public + + + + + AppEventListener + + getAppEventListener + () +

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

+ + public + + + + + boolean + + isLoaded + () +

+
+
+ + + +
+
+ +

Returns true if the ad was successfully loaded and is ready to be shown. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + loadAd + (PublisherAdRequest publisherAdRequest) +

+
+
+ + + +
+
+ +

Start loading the ad on a background thread.

+
+
Throws
+ + + + +
IllegalStateException + If the the ad unit ID has not been set. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdListener + (AdListener adListener) +

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

+ + public + + + + + void + + setAdUnitId + (String adUnitId) +

+
+
+ + + +
+
+ +

Sets the ad unit ID.

+
+
Throws
+ + + + +
IllegalStateException + If the ad unit ID was already set. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setAppEventListener + (AppEventListener appEventListener) +

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

+ + public + + + + + void + + show + () +

+
+
+ + + +
+
+ +

Show the interstitial ad. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/doubleclick/package-summary.html b/docs/html/reference/com/google/android/gms/ads/doubleclick/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..6e021f78204a417616d9f72942622c518abd953c --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/doubleclick/package-summary.html @@ -0,0 +1,773 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.ads.doubleclick | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.ads.doubleclick

+
+ +
+ +
+ + +
+ Contains classes for DoubleClick for Publishers. + +
+ + + + + + +

Interfaces

+
+ + + + + + +
AppEventListenerA listener interface for app events triggered by ads. 
+
+ + + + +

Classes

+
+ + + + + + + + + + + + + + + + + + +
PublisherAdRequestA PublisherAdRequest contains targeting information used to fetch an ad from DoubleClick + for Publishers. 
PublisherAdRequest.BuilderBuilds a PublisherAdRequest
PublisherAdViewThe View to display banner ads for use with DoubleClick for Publishers. 
PublisherInterstitialAdFull-screen interstitial ads for use with DoubleClick for Publishers. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info.html b/docs/html/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info.html index c4bb33ed967b754e51b45edd69aa5035dc5cb7e5..415e2fffb90e3af48a5fa61407acb7b59f260c39 100644 --- a/docs/html/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info.html +++ b/docs/html/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
diff --git a/docs/html/reference/com/google/android/gms/ads/identifier/package-summary.html b/docs/html/reference/com/google/android/gms/ads/identifier/package-summary.html index f20721aee9730829d0ffa03073bfdc391f671f6c..81b1fd8501440b3b07fb56b58f9e0eb9028d1b92 100644 --- a/docs/html/reference/com/google/android/gms/ads/identifier/package-summary.html +++ b/docs/html/reference/com/google/android/gms/ads/identifier/package-summary.html @@ -243,6 +243,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/html/reference/com/google/android/gms/ads/package-summary.html b/docs/html/reference/com/google/android/gms/ads/package-summary.html index ea28ff18c1977dbfba0efec796cc1428d3653d2c..94e05de363918a7c2e9a314db0ff97a69c6d9b00 100644 --- a/docs/html/reference/com/google/android/gms/ads/package-summary.html +++ b/docs/html/reference/com/google/android/gms/ads/package-summary.html @@ -243,6 +243,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+ + + + + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/search/SearchAdRequest.html b/docs/html/reference/com/google/android/gms/ads/search/SearchAdRequest.html new file mode 100644 index 0000000000000000000000000000000000000000..7ecb526dfd07f08b64172e9a6b69260e5bf10c73 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/search/SearchAdRequest.html @@ -0,0 +1,2553 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SearchAdRequest | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

SearchAdRequest

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.ads.search.SearchAdRequest
+ + + + + + + +
+ + +

Class Overview

+

A SearchAdRequest contains targeting information used to fetch an ad from Search Ads for + Apps. Ad requests are created using SearchAdRequest.Builder. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + classSearchAdRequest.BuilderBuilds a SearchAdRequest
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intBORDER_TYPE_DASHEDDashed border.
intBORDER_TYPE_DOTTEDDotted border.
intBORDER_TYPE_NONENo border.
intBORDER_TYPE_SOLIDSolid border.
intCALL_BUTTON_COLOR_DARKDark-colored call button.
intCALL_BUTTON_COLOR_LIGHTLight-colored call button.
intCALL_BUTTON_COLOR_MEDIUMMedium-colored call button.
intERROR_CODE_INTERNAL_ERRORSomething happened internally; for instance, an invalid response was received from the ad + server.
intERROR_CODE_INVALID_REQUESTThe ad request was invalid; for instance, the ad unit ID was incorrect.
intERROR_CODE_NETWORK_ERRORThe ad request was unsuccessful due to network connectivity.
intERROR_CODE_NO_FILLThe ad request was successful, but no ad was returned due to lack of ad inventory.
+ + + + + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + StringDEVICE_ID_EMULATORThe deviceId for emulators to be used with + addTestDevice(String).
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + getAnchorTextColor() + +
Returns the color of the ad URL.
+ +
+ + + + + + int + + getBackgroundColor() + +
Returns the background color of the ad.
+ +
+ + + + + + int + + getBackgroundGradientBottom() + +
Returns the color of the background gradient at the bottom of the ad.
+ +
+ + + + + + int + + getBackgroundGradientTop() + +
Returns the color of the background gradient at the top of the ad.
+ +
+ + + + + + int + + getBorderColor() + +
Returns the border color of the ad container.
+ +
+ + + + + + int + + getBorderThickness() + +
Returns the thickness of the border in pixels around the ad container.
+ +
+ + + + + + int + + getBorderType() + +
Returns the type of border around the ad container.
+ +
+ + + + + + int + + getCallButtonColor() + +
Returns the color of the call button when a call extension is shown.
+ +
+ + + + + + String + + getCustomChannels() + +
Returns the custom channels for the ad request.
+ +
+ + + + + + int + + getDescriptionTextColor() + +
Returns the color of the ad description.
+ +
+ + + + + + String + + getFontFace() + +
Returns the font used to render the ad.
+ +
+ + + + + + int + + getHeaderTextColor() + +
Returns the font size of the header text in pixels.
+ +
+ + + + + + int + + getHeaderTextSize() + +
Returns the font size of the header text in pixels.
+ +
+ + + + + + Location + + getLocation() + +
Returns the user's location targeting information.
+ +
+ + + + + <T extends NetworkExtras> + T + + getNetworkExtras(Class<T> networkExtrasClass) + +
Returns extra parameters to pass to a specific ad network adapter.
+ +
+ + + + + + String + + getQuery() + +
Returns the query of the search ad request.
+ +
+ + + + + + boolean + + isTestDevice(Context context) + +
Returns true if this device will receive test ads.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + BORDER_TYPE_DASHED +

+
+ + + + +
+
+ +

Dashed border.

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

+ + public + static + final + int + + BORDER_TYPE_DOTTED +

+
+ + + + +
+
+ +

Dotted border.

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

+ + public + static + final + int + + BORDER_TYPE_NONE +

+
+ + + + +
+
+ +

No border.

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

+ + public + static + final + int + + BORDER_TYPE_SOLID +

+
+ + + + +
+
+ +

Solid border.

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

+ + public + static + final + int + + CALL_BUTTON_COLOR_DARK +

+
+ + + + +
+
+ +

Dark-colored call button.

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

+ + public + static + final + int + + CALL_BUTTON_COLOR_LIGHT +

+
+ + + + +
+
+ +

Light-colored call button.

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

+ + public + static + final + int + + CALL_BUTTON_COLOR_MEDIUM +

+
+ + + + +
+
+ +

Medium-colored call button.

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

+ + public + static + final + int + + ERROR_CODE_INTERNAL_ERROR +

+
+ + + + +
+
+ +

Something happened internally; for instance, an invalid response was received from the ad + server. +

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

+ + public + static + final + int + + ERROR_CODE_INVALID_REQUEST +

+
+ + + + +
+
+ +

The ad request was invalid; for instance, the ad unit ID was incorrect. +

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

+ + public + static + final + int + + ERROR_CODE_NETWORK_ERROR +

+
+ + + + +
+
+ +

The ad request was unsuccessful due to network connectivity. +

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

+ + public + static + final + int + + ERROR_CODE_NO_FILL +

+
+ + + + +
+
+ +

The ad request was successful, but no ad was returned due to lack of ad inventory. +

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

Fields

+ + + + + + +
+

+ + public + static + final + String + + DEVICE_ID_EMULATOR +

+
+ + + + +
+
+ +

The deviceId for emulators to be used with + addTestDevice(String). +

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

Public Methods

+ + + + + +
+

+ + public + + + + + int + + getAnchorTextColor + () +

+
+
+ + + +
+
+ +

Returns the color of the ad URL. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getBackgroundColor + () +

+
+
+ + + +
+
+ +

Returns the background color of the ad. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getBackgroundGradientBottom + () +

+
+
+ + + +
+
+ +

Returns the color of the background gradient at the bottom of the ad. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getBackgroundGradientTop + () +

+
+
+ + + +
+
+ +

Returns the color of the background gradient at the top of the ad. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getBorderColor + () +

+
+
+ + + +
+
+ +

Returns the border color of the ad container. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getBorderThickness + () +

+
+
+ + + +
+
+ +

Returns the thickness of the border in pixels around the ad container. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getBorderType + () +

+
+
+ + + +
+
+ +

Returns the type of border around the ad container. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getCallButtonColor + () +

+
+
+ + + +
+
+ +

Returns the color of the call button when a call extension is shown. +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getCustomChannels + () +

+
+
+ + + +
+
+ +

Returns the custom channels for the ad request. Custom channels allow publishers to track the + performance of specific groups of ads. These custom channels need to created on the AdSense + website. Reports can then be created based on the channels. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getDescriptionTextColor + () +

+
+
+ + + +
+
+ +

Returns the color of the ad description. +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getFontFace + () +

+
+
+ + + +
+
+ +

Returns the font used to render the ad. The same font is used in the header, the description + and the anchor. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getHeaderTextColor + () +

+
+
+ + + +
+
+ +

Returns the font size of the header text in pixels. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getHeaderTextSize + () +

+
+
+ + + +
+
+ +

Returns the font size of the header text in pixels. The font sizes for the description and + the anchor are determined from the header size. +

+ +
+
+ + + + +
+

+ + public + + + + + Location + + getLocation + () +

+
+
+ + + +
+
+ +

Returns the user's location targeting information. Returns null if the location was + not set. +

+ +
+
+ + + + +
+

+ + public + + + + + T + + getNetworkExtras + (Class<T> networkExtrasClass) +

+
+
+ + + +
+
+ +

Returns extra parameters to pass to a specific ad network adapter. Ad network adapters + provide a NetworkExtras class. Returns null if no network extras of the + provided type were set. +

+ +
+
+ + + + +
+

+ + public + + + + + String + + getQuery + () +

+
+
+ + + +
+
+ +

Returns the query of the search ad request. +

+ +
+
+ + + + +
+

+ + public + + + + + boolean + + isTestDevice + (Context context) +

+
+
+ + + +
+
+ +

Returns true if this device will receive test ads. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/search/SearchAdView.html b/docs/html/reference/com/google/android/gms/ads/search/SearchAdView.html new file mode 100644 index 0000000000000000000000000000000000000000..6912386dadb852bcee22c03a4f3cbe7e53c0150e --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/search/SearchAdView.html @@ -0,0 +1,13680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SearchAdView | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

SearchAdView

+ + + + + + + + + + + + + extends ViewGroup
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳android.view.View
    ↳android.view.ViewGroup
     ↳com.google.android.gms.ads.search.SearchAdView
+ + + + + + + +
+ + +

Class Overview

+

The View to display search banner ads for use with Search Ads for Apps. The + ad size and ad unit ID must be set prior to calling loadAd(SearchAdRequest). +

+ Sample code: +

+ public class MyActivity extends Activity {
+     private SearchAdView mSearchAdView;
+
+     @Override
+     public void onCreate(Bundle savedInstanceState) {
+         super.onCreate(savedInstanceState);
+
+         LinearLayout layout = new LinearLayout(this);
+         layout.setOrientation(LinearLayout.VERTICAL);
+
+         // Create a banner ad. The ad size and ad unit ID must be set before calling loadAd.
+         mSearchAdView = new SearchAdView(this);
+         mSearchAdView.setAdSize(AdSize.SMART_BANNER);
+         mSearchAdView.setAdUnitId("myAdUnitId");
+
+         // Create an ad request.
+         SearchAdRequest.Builder searchAdRequestBuilder = new SearchAdRequest.Builder();
+
+         // Optionally populate the ad request builder.
+         searchAdRequestBuilder.addTestDevice(AdRequest.DEVICE_ID_EMULATOR);
+
+         // Add the SearchAdView to the view hierarchy.
+         layout.addView(mSearchAdView);
+
+         // Start loading the ad.
+         mSearchAdView.loadAd(searchAdRequestBuilder.build());
+
+         setContentView(layout);
+     }
+
+     @Override
+     public void onResume() {
+         super.onResume();
+
+         // Resume the SearchAdView.
+         mSearchAdView.resume();
+     }
+
+     @Override
+     public void onPause() {
+         // Pause the SearchAdView.
+         mSearchAdView.pause();
+
+         super.onPause();
+     }
+
+     @Override
+     public void onDestroy() {
+         // Destroy the SearchAdView.
+         mSearchAdView.destroy();
+
+         super.onDestroy();
+     }
+ }

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
XML Attributes
Attribute NameRelated MethodDescription
com.google.android.gms:adSize + setAdSize(AdSize) + + The size of the ad. 
com.google.android.gms:adUnitId + setAdUnitId(String) + + The ad unit ID. 
+ + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From class +android.view.ViewGroup +
+ + +
+
+ + From class +android.view.View +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Fields
+ + From class +android.view.View +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + SearchAdView(Context context) + +
Construct a SearchAdView from code.
+ +
+ + + + + + + + SearchAdView(Context context, AttributeSet attrs) + +
Construct a SearchAdView from an XML layout.
+ +
+ + + + + + + + SearchAdView(Context context, AttributeSet attrs, int defStyle) + +
Construct a SearchAdView from an XML layout.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + void + + destroy() + +
Destroy the SearchAdView.
+ +
+ + + + + + AdListener + + getAdListener() + +
Returns the AdListener for this SearchAdView.
+ +
+ + + + + + AdSize + + getAdSize() + +
Returns the size of the banner ad.
+ +
+ + + + + + String + + getAdUnitId() + +
Returns the ad unit ID.
+ +
+ + + + + + void + + loadAd(SearchAdRequest searchAdRequest) + +
Start loading the ad on a background thread.
+ +
+ + + + + + void + + pause() + +
Pause any extra processing associated with this SearchAdView.
+ +
+ + + + + + void + + resume() + +
Resume an SearchAdView after a previous call to pause().
+ +
+ + + + + + void + + setAdListener(AdListener adListener) + +
Sets an AdListener for this SearchAdView.
+ +
+ + + + + + void + + setAdSize(AdSize adSize) + +
Sets the size of the banner ad.
+ +
+ + + + + + void + + setAdUnitId(String adUnitId) + +
Sets the ad unit ID.
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
Protected Methods
+ + + + + + void + + onLayout(boolean changed, int left, int top, int right, int bottom) + +
+ + + + + + void + + onMeasure(int widthMeasureSpec, int heightMeasureSpec) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + android.view.ViewGroup + +
+ + +
+
+ +From class + + android.view.View + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.graphics.drawable.Drawable.Callback + +
+ + +
+
+ +From interface + + android.view.KeyEvent.Callback + +
+ + +
+
+ +From interface + + android.view.ViewManager + +
+ + +
+
+ +From interface + + android.view.ViewParent + +
+ + +
+
+ +From interface + + android.view.accessibility.AccessibilityEventSource + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + +

XML Attributes

+ + + + +
+

com.google.android.gms:adSize +

+
+ +

The size of the ad. It must be one of BANNER, FULL_BANNER, LEADERBOARD, + MEDIUM_RECTANGLE, SMART_BANNER, WIDE_SKYSCRAPER, or + <width>x<height>. + + + +

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

This is a private symbol.

+ + +
+
Related Methods
+ +
+
+
+ + + +
+

com.google.android.gms:adUnitId +

+
+ +

The ad unit ID. + + +

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +

This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

This is a private symbol.

+ + +
+
Related Methods
+ +
+
+
+ + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + SearchAdView + (Context context) +

+
+
+ + + +
+
+ +

Construct a SearchAdView from code.

+
+
Parameters
+ + + + +
context + The Context the SearchAdView is running in. +
+
+ +
+
+ + + + +
+

+ + public + + + + + + + SearchAdView + (Context context, AttributeSet attrs) +

+
+
+ + + +
+
+ +

Construct a SearchAdView from an XML layout. +

+ +
+
+ + + + +
+

+ + public + + + + + + + SearchAdView + (Context context, AttributeSet attrs, int defStyle) +

+
+
+ + + +
+
+ +

Construct a SearchAdView from an XML layout. +

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

Public Methods

+ + + + + +
+

+ + public + + + + + void + + destroy + () +

+
+
+ + + +
+
+ +

Destroy the SearchAdView. This method should be called in the parent Activity's + onDestroy() method. No other methods should be called on the + SearchAdView after destroy() is called. +

+ +
+
+ + + + +
+

+ + public + + + + + AdListener + + getAdListener + () +

+
+
+ + + +
+
+ +

Returns the AdListener for this SearchAdView. +

+ +
+
+ + + + +
+

+ + public + + + + + AdSize + + getAdSize + () +

+
+
+ + + +
+
+ +

Returns the size of the banner ad. Returns null if setAdSize(AdSize) hasn't been + called yet.

+
+
Related XML Attributes
+ +
+ +
+
+ + + + +
+

+ + public + + + + + String + + getAdUnitId + () +

+
+
+ + + +
+
+ +

Returns the ad unit ID.

+
+
Related XML Attributes
+ +
+ +
+
+ + + + +
+

+ + public + + + + + void + + loadAd + (SearchAdRequest searchAdRequest) +

+
+
+ + + +
+
+ +

Start loading the ad on a background thread.

+
+
Throws
+ + + + +
IllegalStateException + If the size of the banner ad or the ad unit ID have not been + set. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + pause + () +

+
+
+ + + +
+
+ +

Pause any extra processing associated with this SearchAdView. This method should be + called in the parent Activity's onPause() method. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + resume + () +

+
+
+ + + +
+
+ +

Resume an SearchAdView after a previous call to pause(). This method should + be called in the parent Activity's onResume() method. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdListener + (AdListener adListener) +

+
+
+ + + +
+
+ +

Sets an AdListener for this SearchAdView. +

+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdSize + (AdSize adSize) +

+
+
+ + + +
+
+ +

Sets the size of the banner ad.

+
+
Related XML Attributes
+ +
+
+
Throws
+ + + + +
IllegalStateException + If the size of the banner ad was already set. +
+
+ +
+
+ + + + +
+

+ + public + + + + + void + + setAdUnitId + (String adUnitId) +

+
+
+ + + +
+
+ +

Sets the ad unit ID.

+
+
Related XML Attributes
+ +
+
+
Throws
+ + + + +
IllegalStateException + If the ad unit ID was already set. +
+
+ +
+
+ + + + + + + +

Protected Methods

+ + + + + +
+

+ + protected + + + + + void + + onLayout + (boolean changed, int left, int top, int right, int bottom) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + protected + + + + + void + + onMeasure + (int widthMeasureSpec, int heightMeasureSpec) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/ads/search/package-summary.html b/docs/html/reference/com/google/android/gms/ads/search/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..717f695fc2d54260ec86ce5397334e905e6caca2 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/search/package-summary.html @@ -0,0 +1,758 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.ads.search | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+
+ + + + +
+
+ +
+ package +

com.google.android.gms.ads.search

+
+ +
+ +
+ + +
+ Contains classes for Search Ads for Apps. + +
+ + + + + + + + + +

Classes

+
+ + + + + + + + + + + + + + +
SearchAdRequestA SearchAdRequest contains targeting information used to fetch an ad from Search Ads for + Apps. 
SearchAdRequest.BuilderBuilds a SearchAdRequest
SearchAdViewThe View to display search banner ads for use with Search Ads for Apps. 
+
+ + + + + + + + + + + + + +
+
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/appstate/AppState.html b/docs/html/reference/com/google/android/gms/appstate/AppState.html index 356d960572e18a0a9a6e0eae304347703928c0e3..62e27e182eecd1f9d795662f7720155ac1297bd7 100644 --- a/docs/html/reference/com/google/android/gms/appstate/AppState.html +++ b/docs/html/reference/com/google/android/gms/appstate/AppState.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
+
+
+
+
See Also
diff --git a/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html b/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html index 0c32261eb2e4ae21d1f4c8623464c540d4f23575..42d577053b77a34d009411956044b11d29436cf5 100644 --- a/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html +++ b/docs/html/reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+

diff --git a/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html b/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html index 73da7d9ce8b97f34675f0fe65f1f1c782b04395a..fd12a738e3a0bba57d956def6444c715b59eb5ba 100644 --- a/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/appstate/OnStateListLoadedListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+

diff --git a/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html b/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html index 9442754c7e8a4455fbf9ca5c525bee8eb61ceb9a..9e14ec04ec13cdaf2df7ef90c29b7d3ef04d6eaa 100644 --- a/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/appstate/OnStateLoadedListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/html/reference/com/google/android/gms/common/OnStatusReceivedCallback.html b/docs/html/reference/com/google/android/gms/common/OnStatusReceivedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..2fa3a13b04ec3bd959a7569dc2666610fa3f40f1 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/common/OnStatusReceivedCallback.html @@ -0,0 +1,919 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OnStatusReceivedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

OnStatusReceivedCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.common.OnStatusReceivedCallback
+ + + + + + + +
+ + +

Class Overview

+

For use with ERROR(/PendingResult) for generic status callacks in + PendingResult. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onStatusReceived(Status status) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onStatusReceived + (Status status) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + 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 98e6dddf661cf04c8c166bf6733b8916184b57c4..60fc1fd4c90581b822ef19d70d14fe5fe082f7da 100644 --- a/docs/html/reference/com/google/android/gms/common/Scopes.html +++ b/docs/html/reference/com/google/android/gms/common/Scopes.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
+
+
+
+
@@ -806,21 +814,29 @@ Summary: Data structure providing access to a list of app states.  + FilteredDataBuffer<T> + Base class for filtered buffers of typed data.  + + GameBuffer Data structure providing access to a list of games.  - + InvitationBuffer DataBuffer implementation containing Invitation data.  - + LeaderboardBuffer DataBuffer containing Leaderboard data.  - + LeaderboardScoreBuffer DataBuffer containing LeaderboardScore data.  + + MetadataBuffer + A data buffer that points to Metadata entries.  + MomentBuffer Data structure providing access to a list of Moment objects.  @@ -837,6 +853,10 @@ Summary: PlayerBuffer Data structure providing access to a list of players.  + + TurnBasedMatchBuffer + DataBuffer implementation containing TurnBasedMatch details.  + 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 63074f5d04bdce0a11cc8828e69d6c6027e3ef25..f85c660129c34d3626b61df27daa90b9fe008ec8 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
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 479afbb484126f6f0af8fea40bb6682422803cf3..e66ae8060b652df23337db0c87f6c384c699e7d4 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 @@ -243,6 +243,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
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 6c41369e313dea1c7e8b6eb7c7699af52ffea73a..ad01e869daaf85ff4de97168a0f3da45c28492af 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
+
+
+
+
diff --git a/docs/html/reference/com/google/android/gms/drive/Contents.html b/docs/html/reference/com/google/android/gms/drive/Contents.html new file mode 100644 index 0000000000000000000000000000000000000000..1cf542c04e79f198ffc400241262271d698a88e5 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/Contents.html @@ -0,0 +1,1662 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Contents | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

Contents

+ + + + + extends Object
+ + + + + + + implements + + Parcelable + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.drive.Contents
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A reference to a Drive file's contents. Any changes made to the FileDescriptor will be local to + the app until close or create is called. Once closed you may no longer access the contents via + this instance. + +

+ Specifically, if these contents refer to an existing file, call + commitAndCloseContents(GoogleApiClient, Contents). If these are new contents, provide them to create a new + file programatically via createFile(GoogleApiClient, MetadataChangeSet, Contents) or set them as the initial contents in + the create file dialog: newCreateFileActivityBuilder(). +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Constants
+ + From interface +android.os.Parcelable +
+ + +
+
+ + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + Creator<Contents>CREATOR
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + int + + describeContents() + +
+ + + + + + DriveId + + getDriveId() + +
Gets the DriveId for the file that owns these contents.
+ +
+ + + + + + InputStream + + getInputStream() + +
Gets an OutputStream that allows you to read this file's contents.
+ +
+ + + + + + int + + getMode() + +
Gets the mode the contents were opened in.
+ +
+ + + + + + OutputStream + + getOutputStream() + +
Gets an OutputStream that allows you to write new contents.
+ +
+ + + + + + ParcelFileDescriptor + + getParcelFileDescriptor() + +
Gets a FileDescriptor that points to the Drive file's contents.
+ +
+ + + + + + void + + writeToParcel(Parcel dest, int flags) + +
+ + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + android.os.Parcelable + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

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

+
+ + + + +
+
+ +

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

Public Methods

+ + + + + +
+

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

+
+
+ + + +
+
+ +

+ +
+
+ + + + +
+

+ + public + + + + + DriveId + + getDriveId + () +

+
+
+ + + +
+
+ +

Gets the DriveId for the file that owns these contents. Will be null if these are new + contents. +

+ +
+
+ + + + +
+

+ + public + + + + + InputStream + + getInputStream + () +

+
+
+ + + +
+
+ +

Gets an OutputStream that allows you to read this file's contents. This method may only be + used with files opened with MODE_READ_ONLY; to read/write from a file + opened with MODE_READ_WRITE, use the file descriptor returned by + getParcelFileDescriptor(). This method may only be called once per Contents + instance. +

+ +
+
+ + + + +
+

+ + public + + + + + int + + getMode + () +

+
+
+ + + +
+
+ +

Gets the mode the contents were opened in. +

+ +
+
+ + + + +
+

+ + public + + + + + OutputStream + + getOutputStream + () +

+
+
+ + + +
+
+ +

Gets an OutputStream that allows you to write new contents. This method may only be used + with files opened with MODE_WRITE_ONLY; to read/write from a file opened + with MODE_READ_WRITE, use the file descriptor returned by + getParcelFileDescriptor(). This method may only be called once per Contents + instance. +

+ +
+
+ + + + +
+

+ + public + + + + + ParcelFileDescriptor + + getParcelFileDescriptor + () +

+
+
+ + + +
+
+ +

Gets a FileDescriptor that points to the Drive file's contents. If this file was opened with + MODE_READ_ONLY or MODE_READ_WRITE, the file referenced by + the FileDescriptor will contain the most recent version of the file. Otherwise, the file will + be empty. +

+ +
+
+ + + + +
+

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

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/CreateFileActivityBuilder.html b/docs/html/reference/com/google/android/gms/drive/CreateFileActivityBuilder.html new file mode 100644 index 0000000000000000000000000000000000000000..9d247ef41c71e590d8474abbbc9620ed68e92642 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/CreateFileActivityBuilder.html @@ -0,0 +1,1483 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +CreateFileActivityBuilder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + class +

CreateFileActivityBuilder

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.drive.CreateFileActivityBuilder
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A builder that is used to configure and display the create file activity. This dialog creates a + new file in the user's drive with a destination and title selected by the user, and the initial + metadata and contents specified in this builder. If the device is currently offline, the file + will be created locally and committed to the server when connectivity is restored. +

+ To create a new DriveFile, create a Contents object using + newContents(GoogleApiClient) and use it to write the file content and + MetadataChangeSet.Builder to create the associated metadata and set them on the builder + using setInitialContents(Contents) and setInitialMetadata(MetadataChangeSet) before building. +

+ To create a new DriveFolder, create a metadata change set using + MetadataChangeSet.Builder and be sure to set the MIME type to + MIME_TYPE. Store this metadata on the activity builder using + setInitialMetadata(MetadataChangeSet). No Contents should be set on the builder. +

+ To display the activity, pass the result of build(GoogleApiClient) to #startActivityForResult(). + When the activity completes, a successful response will include an extra + EXTRA_RESPONSE_DRIVE_ID with the selected DriveId. + +

+ Note: you cannot use #startActivity to invoke the activity. This will fail. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
StringEXTRA_RESPONSE_DRIVE_IDA successful result will return an extra by this name which will contain the DriveId + of the created file.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ + + + + + IntentSender + + build(GoogleApiClient apiClient) + +
Gets an Intent that can be used to start the Create File activity.
+ +
+ + + + + + CreateFileActivityBuilder + + setActivityStartFolder(DriveId folder) + +
Sets the default folder that will be presented at activity startup as the location for + file creation.
+ +
+ + + + + + CreateFileActivityBuilder + + setActivityTitle(String title) + +
Sets the title displayed in the activity.
+ +
+ + + + + + CreateFileActivityBuilder + + setInitialContents(Contents contents) + +
Sets the initial contents for the new file.
+ +
+ + + + + + CreateFileActivityBuilder + + setInitialMetadata(MetadataChangeSet metadataChangeSet) + +
Sets the default metadata for the new file.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + EXTRA_RESPONSE_DRIVE_ID +

+
+ + + + +
+
+ +

A successful result will return an extra by this name which will contain the DriveId + of the created file. +

+ + +
+ Constant Value: + + + "response_drive_id" + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + + + IntentSender + + build + (GoogleApiClient apiClient) +

+
+
+ + + +
+
+ +

Gets an Intent that can be used to start the Create File activity. Note that you must start + this activity with startActivityForResult, not startActivity. Once this is + invoked, the provided contents are finalized and cannot be edited. To make additional edits, + reopen the contents with the returned DriveId.

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call. The client must be connected + before invoking this method. +
+
+ +
+
+ + + + +
+

+ + public + + + + + CreateFileActivityBuilder + + setActivityStartFolder + (DriveId folder) +

+
+
+ + + +
+
+ +

Sets the default folder that will be presented at activity startup as the location for + file creation. The activity supports navigation from this point to other folders. +

+ +
+
+ + + + +
+

+ + public + + + + + CreateFileActivityBuilder + + setActivityTitle + (String title) +

+
+
+ + + +
+
+ +

Sets the title displayed in the activity.

+
+
Parameters
+ + + + +
title + the title to set on the activity (may not be null) +
+
+ +
+
+ + + + +
+

+ + public + + + + + CreateFileActivityBuilder + + setInitialContents + (Contents contents) +

+
+
+ + + +
+
+ +

Sets the initial contents for the new file. This will close the contents, and persist them + as the initial contents for the file. To continue editing the contents, reopen them + once the file has been created. +

+ +
+
+ + + + +
+

+ + public + + + + + CreateFileActivityBuilder + + setInitialMetadata + (MetadataChangeSet metadataChangeSet) +

+
+
+ + + +
+
+ +

Sets the default metadata for the new file. +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/Drive.html b/docs/html/reference/com/google/android/gms/drive/Drive.html new file mode 100644 index 0000000000000000000000000000000000000000..3d3aa75ccd2822c5b0d8a1933bf8e4075939fbc6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/Drive.html @@ -0,0 +1,1262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Drive | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + final + + class +

Drive

+ + + + + extends Object
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.android.gms.drive.Drive
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

The Drive API provides easy access to users' Google Drive contents. This API includes Activities + to open or create files in users' Drives, as well as the ability to programmatically interact + with contents, metadata, and the folder hierarchy. + +

To use Drive, enable the API and SCOPE_FILE in a GoogleApiClient. + DriveApi, provides the entry point for interacting with Drive. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields
+ public + static + final + ApiAPIThe API necessary to use Drive.
+ public + static + final + DriveApiDriveApiThe entry point for interacting with the Drive API.
+ public + static + final + ScopeSCOPE_FILEA Scope that gives 'drive.file' access to user's drive.
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + final + Api + + API +

+
+ + + + +
+
+ +

The API necessary to use Drive. Provide this as an API + addApi(Api). +

+ + +
+
+ + + + + +
+

+ + public + static + final + DriveApi + + DriveApi +

+
+ + + + +
+
+ +

The entry point for interacting with the Drive API. +

+ + +
+
+ + + + + +
+

+ + public + static + final + Scope + + SCOPE_FILE +

+
+ + + + +
+
+ +

A Scope that gives 'drive.file' access to user's drive. This scope give per-file access to + files that have been created with, or specifically opened by the app. +

This scope can be provided in + addScope(Scope) +

+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.ContentsResult.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.ContentsResult.html new file mode 100644 index 0000000000000000000000000000000000000000..2099c5d322143a7fd73c79f40322d2e0d6eb8858 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.ContentsResult.html @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi.ContentsResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveApi.ContentsResult

+ + + + + + implements + + Result + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi.ContentsResult
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

Result that contains a Contents reference. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + Contents + + getContents() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.common.api.Result + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + Contents + + getContents + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.IntentSenderResult.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.IntentSenderResult.html new file mode 100644 index 0000000000000000000000000000000000000000..aa90257ff8c0ee5ff855ba2714c065760561b065 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.IntentSenderResult.html @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi.IntentSenderResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveApi.IntentSenderResult

+ + + + + + implements + + Result + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi.IntentSenderResult
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

Result that contains an IntentSender reference. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + IntentSender + + getIntentSender() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.common.api.Result + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + IntentSender + + getIntentSender + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html new file mode 100644 index 0000000000000000000000000000000000000000..4185e5b444ca88ca9b48b82194f35dcf569a2bca --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi.MetadataBufferResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveApi.MetadataBufferResult

+ + + + + + implements + + Result + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi.MetadataBufferResult
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

Result that contains a MetadataBuffer. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + MetadataBuffer + + getMetadataBuffer() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.common.api.Result + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + MetadataBuffer + + getMetadataBuffer + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.OnContentsDiscardedCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.OnContentsDiscardedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..9d92a04f62efbd4bf8bd4866d8b513add3ab3bde --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.OnContentsDiscardedCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi.OnContentsDiscardedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveApi.OnContentsDiscardedCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi.OnContentsDiscardedCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a discardContents(GoogleApiClient, Contents) request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onContentsDiscarded(Status result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onContentsDiscarded + (Status result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.OnNewContentsCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.OnNewContentsCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..5d629315db5e3d46062c3d35788d8ebda0665cc9 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.OnNewContentsCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi.OnNewContentsCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveApi.OnNewContentsCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi.OnNewContentsCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a OpenContents request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onNewContents(DriveApi.ContentsResult result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onNewContents + (DriveApi.ContentsResult result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.OnSyncFinishCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.OnSyncFinishCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..10298608b06fdc265bb3c7ef959a384713e2ff4a --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.OnSyncFinishCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi.OnSyncFinishCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveApi.OnSyncFinishCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi.OnSyncFinishCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a requestSync(GoogleApiClient) request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onSyncFinish(Status result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onSyncFinish + (Status result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveApi.html b/docs/html/reference/com/google/android/gms/drive/DriveApi.html new file mode 100644 index 0000000000000000000000000000000000000000..2301758ad2e57a283b5f730193626e2815dec55d --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveApi.html @@ -0,0 +1,1504 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveApi | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

DriveApi

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveApi
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

The main entry point for interacting with Drive. This class provides methods for obtaining + a reference to a file or folder, or querying across the entire Drive. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + interfaceDriveApi.ContentsResultResult that contains a Contents reference. 
+ + + + + interfaceDriveApi.IntentSenderResultResult that contains an IntentSender reference. 
+ + + + + interfaceDriveApi.MetadataBufferResultResult that contains a MetadataBuffer. 
+ + + + + interfaceDriveApi.OnContentsDiscardedCallbackA callback that provides the result for a discardContents(GoogleApiClient, Contents) request. 
+ + + + + interfaceDriveApi.OnNewContentsCallbackA callback that provides the result for a OpenContents request. 
+ + + + + interfaceDriveApi.OnSyncFinishCallbackA callback that provides the result for a requestSync(GoogleApiClient) request. 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + PendingResult<StatusDriveApi.OnContentsDiscardedCallback> + + discardContents(GoogleApiClient apiClient, Contents contents) + +
Closes the provided contents without saving the results.
+ +
+ abstract + + + + + DriveFile + + getFile(GoogleApiClient apiClient, DriveId id) + +
Retrieves a DriveFile object that can be used to interact with the file specified by + the provided DriveId.
+ +
+ abstract + + + + + DriveFolder + + getFolder(GoogleApiClient apiClient, DriveId id) + +
Retrieves a DriveFolder object that can be used to interact with the folder specified + by the provided DriveId.
+ +
+ abstract + + + + + DriveFolder + + getRootFolder(GoogleApiClient apiClient) + +
Retrieves a DriveFolder object that can be used to interact with the root folder.
+ +
+ abstract + + + + + PendingResult<DriveApi.ContentsResultDriveApi.OnNewContentsCallback> + + newContents(GoogleApiClient apiClient) + +
Retrieves a new contents instance that can be used to provide initial contents for a new + file.
+ +
+ abstract + + + + + CreateFileActivityBuilder + + newCreateFileActivityBuilder() + +
Creates a builder for a Create File activity where a user can select a file name and + destination for a new file in their Drive with the contents and additional metadata provided + in the builder.
+ +
+ abstract + + + + + OpenFileActivityBuilder + + newOpenFileActivityBuilder() + +
Creates a builder for an Open File activity that allows user selection of a Drive file.
+ +
+ abstract + + + + + PendingResult<DriveApi.MetadataBufferResultDriveFolder.OnChildrenRetrievedCallback> + + query(GoogleApiClient apiClient, Query query) + +
Retrieves a collection of metadata for the files and folders that match the specified query.
+ +
+ abstract + + + + + PendingResult<StatusDriveApi.OnSyncFinishCallback> + + requestSync(GoogleApiClient apiClient) + +
Requests synchronization a PendingResult that is ready when synchronization has + completed.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + PendingResult<StatusDriveApi.OnContentsDiscardedCallback> + + discardContents + (GoogleApiClient apiClient, Contents contents) +

+
+
+ + + +
+
+ +

Closes the provided contents without saving the results.

+
+
Parameters
+ + + + + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected before invoking this method.
contents + The contents to discard.
+
+
+
Returns
+
  • a PendingResult which can be used to verify the success of the operation. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + DriveFile + + getFile + (GoogleApiClient apiClient, DriveId id) +

+
+
+ + + +
+
+ +

Retrieves a DriveFile object that can be used to interact with the file specified by + the provided DriveId.

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected using connect() before invoking this method. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + DriveFolder + + getFolder + (GoogleApiClient apiClient, DriveId id) +

+
+
+ + + +
+
+ +

Retrieves a DriveFolder object that can be used to interact with the folder specified + by the provided DriveId.

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected using connect() before invoking this method. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + DriveFolder + + getRootFolder + (GoogleApiClient apiClient) +

+
+
+ + + +
+
+ +

Retrieves a DriveFolder object that can be used to interact with the root folder. + This method will return synchronously, and is safe to invoke from the UI thread.

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected using connect() before invoking this method. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<DriveApi.ContentsResultDriveApi.OnNewContentsCallback> + + newContents + (GoogleApiClient apiClient) +

+
+
+ + + +
+
+ +

Retrieves a new contents instance that can be used to provide initial contents for a new + file. Write the initial contents to the Contents object returned by this request + using the file APIs provided in Contents. +

To be persisted, the contents must be saved by being passed as initial contents to + createFile(GoogleApiClient, MetadataChangeSet, Contents) or + setInitialContents(Contents). +

To discard the contents without saving them, invoke + discardContents(GoogleApiClient, Contents).

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected using connect() before invoking this method.
+
+
+
Returns
+
  • a PendingResult which can be used to retrieve the Contents object. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + CreateFileActivityBuilder + + newCreateFileActivityBuilder + () +

+
+
+ + + +
+
+ +

Creates a builder for a Create File activity where a user can select a file name and + destination for a new file in their Drive with the contents and additional metadata provided + in the builder. +

+ +
+
+ + + + +
+

+ + public + + + abstract + + OpenFileActivityBuilder + + newOpenFileActivityBuilder + () +

+
+
+ + + +
+
+ +

Creates a builder for an Open File activity that allows user selection of a Drive file. + Upon completion, the result Intent will contain the DriveId for the selected file. + This activity will authorize the requesting app to interact with the selected file. +

+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<DriveApi.MetadataBufferResultDriveFolder.OnChildrenRetrievedCallback> + + query + (GoogleApiClient apiClient, Query query) +

+
+
+ + + +
+
+ +

Retrieves a collection of metadata for the files and folders that match the specified query.

+
+
Parameters
+ + + + + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected using connect() before invoking this method.
query + The query that will restrict the contents of the result set.
+
+
+
Returns
+
  • a PendingResult which can be used to retrieve the children list. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<StatusDriveApi.OnSyncFinishCallback> + + requestSync + (GoogleApiClient apiClient) +

+
+
+ + + +
+
+ +

Requests synchronization a PendingResult that is ready when synchronization has + completed.

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected before invoking this method. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFile.DownloadProgressListener.html b/docs/html/reference/com/google/android/gms/drive/DriveFile.DownloadProgressListener.html new file mode 100644 index 0000000000000000000000000000000000000000..bdd4a86f9a40586611075cb7e03d1f33b46038b5 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFile.DownloadProgressListener.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFile.DownloadProgressListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFile.DownloadProgressListener

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFile.DownloadProgressListener
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A listener that listens for progress events on an active contents download. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onProgress(long bytesDownloaded, long bytesExpected) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onProgress + (long bytesDownloaded, long bytesExpected) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFile.OnContentsClosedCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveFile.OnContentsClosedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..1da990907dbf05af774f158679136882ca4a9d6b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFile.OnContentsClosedCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFile.OnContentsClosedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFile.OnContentsClosedCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFile.OnContentsClosedCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a commitAndCloseContents(GoogleApiClient, Contents) request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onClose(Status result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onClose + (Status result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFile.OnContentsOpenedCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveFile.OnContentsOpenedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..f5fd0092d81aa2736b1376114a6e79c377580d44 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFile.OnContentsOpenedCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFile.OnContentsOpenedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFile.OnContentsOpenedCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFile.OnContentsOpenedCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a OpenContents request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onOpen(DriveApi.ContentsResult result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onOpen + (DriveApi.ContentsResult result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFile.html b/docs/html/reference/com/google/android/gms/drive/DriveFile.html new file mode 100644 index 0000000000000000000000000000000000000000..451d4135653e79af050fa1e463487c5f634cbfd6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFile.html @@ -0,0 +1,1421 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFile | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

DriveFile

+ + + + + + implements + + DriveResource + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFile
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A file in Drive. This class provides access to the contents and metadata of the specified file. + To retrieve a DriveFile from a known drive id, use ERROR(/DriveApi#getFile(DriveId)). +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + interfaceDriveFile.DownloadProgressListenerA listener that listens for progress events on an active contents download. 
+ + + + + interfaceDriveFile.OnContentsClosedCallbackA callback that provides the result for a commitAndCloseContents(GoogleApiClient, Contents) request. 
+ + + + + interfaceDriveFile.OnContentsOpenedCallbackA callback that provides the result for a OpenContents request. 
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Constants
intMODE_READ_ONLYA mode that opens the contents only for reading.
intMODE_READ_WRITEA mode that opens the contents only for writing.
intMODE_WRITE_ONLYA mode that opens the contents for reading and writing.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + PendingResult<StatusDriveFile.OnContentsClosedCallback> + + commitAndCloseContents(GoogleApiClient apiClient, Contents contents) + +
Closes the previously opened contents, and commits any changes if the contents were open + for write.
+ +
+ abstract + + + + + PendingResult<StatusDriveApi.OnContentsDiscardedCallback> + + discardContents(GoogleApiClient apiClient, Contents contents) + +
Closes the provided contents without saving the results.
+ +
+ abstract + + + + + PendingResult<DriveApi.ContentsResultDriveFile.OnContentsOpenedCallback> + + openContents(GoogleApiClient apiClient, int mode, DriveFile.DownloadProgressListener listener) + +
Opens the contents that are associated with this file for read and/or write.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.drive.DriveResource + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + int + + MODE_READ_ONLY +

+
+ + + + +
+
+ +

A mode that opens the contents only for reading. +

+ + +
+ Constant Value: + + + 268435456 + (0x10000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + MODE_READ_WRITE +

+
+ + + + +
+
+ +

A mode that opens the contents only for writing. +

+ + +
+ Constant Value: + + + 805306368 + (0x30000000) + + +
+ +
+
+ + + + + +
+

+ + public + static + final + int + + MODE_WRITE_ONLY +

+
+ + + + +
+
+ +

A mode that opens the contents for reading and writing. +

+ + +
+ Constant Value: + + + 536870912 + (0x20000000) + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + PendingResult<StatusDriveFile.OnContentsClosedCallback> + + commitAndCloseContents + (GoogleApiClient apiClient, Contents contents) +

+
+
+ + + +
+
+ +

Closes the previously opened contents, and commits any changes if the contents were open + for write. After invoking this method, the contents are no longer valid. New contents + should not be closed via this method. Instead, use them to create a new file via + createFile(GoogleApiClient, MetadataChangeSet, Contents) or + ERROR(/DriveApi#newCreateFileActivityBuilder(GoogleApiClient)).

+
+
Parameters
+ + + + + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected before invoking this method.
contents + The contents that will be saved and closed.
+
+
+
Returns
+
  • a PendingResult which can be used to verify the success of the operation. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<StatusDriveApi.OnContentsDiscardedCallback> + + discardContents + (GoogleApiClient apiClient, Contents contents) +

+
+
+ + + +
+
+ +

Closes the provided contents without saving the results.

+
+
Parameters
+ + + + + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected before invoking this method.
contents + The contents to discard.
+
+
+
Returns
+
  • a PendingResult which can be used to verify the success of the operation. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<DriveApi.ContentsResultDriveFile.OnContentsOpenedCallback> + + openContents + (GoogleApiClient apiClient, int mode, DriveFile.DownloadProgressListener listener) +

+
+
+ + + +
+
+ +

Opens the contents that are associated with this file for read and/or write. The returned + file is a temporary copy available only to this app. The contents are returned when they are + available on the device in their entirety. To listen for progress, provide a + DriveFile.DownloadProgressListener. + +

The contents must be closed via commitAndCloseContents(GoogleApiClient, Contents). If the contents are + opened for write, invoking close will save the updates. Every open must be matched with a + corresponding commitAndCloseContents(GoogleApiClient, Contents).

+
+
Parameters
+ + + + + + + + + + +
apiClient + The GoogleApiClient to service the call.
mode + Describes the mode in which to open the file. Possible values are + MODE_READ_ONLY, MODE_READ_WRITE and MODE_WRITE_ONLY.
listener + An optional listener that will announce progress as the file is downloaded. + If you don't care about progress, provide null.
+
+
+
Returns
+
  • a PendingResult which can be used to retrieve the Contents when they are available. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFolder.DriveFileResult.html b/docs/html/reference/com/google/android/gms/drive/DriveFolder.DriveFileResult.html new file mode 100644 index 0000000000000000000000000000000000000000..8cee05aa69779e1ab605cdc25b3217b58b201918 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFolder.DriveFileResult.html @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFolder.DriveFileResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFolder.DriveFileResult

+ + + + + + implements + + Result + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFolder.DriveFileResult
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A result that contains a DriveFile. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + DriveFile + + getDriveFile() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.common.api.Result + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + DriveFile + + getDriveFile + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFolder.DriveFolderResult.html b/docs/html/reference/com/google/android/gms/drive/DriveFolder.DriveFolderResult.html new file mode 100644 index 0000000000000000000000000000000000000000..8aaa43653792ae6172e7579e22ec7d95cd288ca9 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFolder.DriveFolderResult.html @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFolder.DriveFolderResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFolder.DriveFolderResult

+ + + + + + implements + + Result + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFolder.DriveFolderResult
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A result that contains a DriveFolder. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + DriveFolder + + getDriveFolder() + +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.common.api.Result + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + DriveFolder + + getDriveFolder + () +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnChildrenRetrievedCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnChildrenRetrievedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..0234a1b491fb3cffe9fefb3cf2e570eb100ac8aa --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnChildrenRetrievedCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFolder.OnChildrenRetrievedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFolder.OnChildrenRetrievedCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFolder.OnChildrenRetrievedCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a get children request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onChildrenRetrieved(DriveApi.MetadataBufferResult result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onChildrenRetrieved + (DriveApi.MetadataBufferResult result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnCreateFileCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnCreateFileCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..af959e8ad24901995db1a3c67411c9908a133dd5 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnCreateFileCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFolder.OnCreateFileCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFolder.OnCreateFileCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFolder.OnCreateFileCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a create file request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onCreateFile(DriveFolder.DriveFileResult result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onCreateFile + (DriveFolder.DriveFileResult result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnCreateFolderCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnCreateFolderCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..7b80ddbf36b0e297bf29ea2fc6d7711ae69d687b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFolder.OnCreateFolderCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFolder.OnCreateFolderCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ public + static + + + interface +

DriveFolder.OnCreateFolderCallback

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFolder.OnCreateFolderCallback
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A callback that provides the result for a create folder request. +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + void + + onCreateFolder(DriveFolder.DriveFolderResult result) + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onCreateFolder + (DriveFolder.DriveFolderResult result) +

+
+
+ + + +
+
+ +

+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveFolder.html b/docs/html/reference/com/google/android/gms/drive/DriveFolder.html new file mode 100644 index 0000000000000000000000000000000000000000..76fadfcb286177362dc7233d15e0b8476da512a7 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveFolder.html @@ -0,0 +1,1404 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveFolder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + + + + interface +

DriveFolder

+ + + + + + implements + + DriveResource + + + + + +
+ +
+ +
+ + + + + + + + + +
com.google.android.gms.drive.DriveFolder
+ + + + + + + +
+ + +

Class Overview

+

+ Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

+

A folder in Drive. This class provides access to list or query the contents of the folder, or + create new resources within it. +

To retrieve a DriveFolder from a known drive id, use ERROR(/DriveApi#getFolder(DriveId)). +

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

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nested Classes
+ + + + + interfaceDriveFolder.DriveFileResultA result that contains a DriveFile. 
+ + + + + interfaceDriveFolder.DriveFolderResultA result that contains a DriveFolder. 
+ + + + + interfaceDriveFolder.OnChildrenRetrievedCallbackA callback that provides the result for a get children request. 
+ + + + + interfaceDriveFolder.OnCreateFileCallbackA callback that provides the result for a create file request. 
+ + + + + interfaceDriveFolder.OnCreateFolderCallbackA callback that provides the result for a create folder request. 
+ + + + + + + + + + + +
Constants
StringMIME_TYPEThe MIME type associated with folder resources.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + + PendingResult<DriveFolder.DriveFileResultDriveFolder.OnCreateFileCallback> + + createFile(GoogleApiClient apiClient, MetadataChangeSet changeSet, Contents contents) + +
Creates a new file within this folder, with the provided initial metadata and contents.
+ +
+ abstract + + + + + PendingResult<DriveFolder.DriveFolderResultDriveFolder.OnCreateFolderCallback> + + createFolder(GoogleApiClient apiClient, MetadataChangeSet changeSet) + +
Creates a new folder within this folder, with the provided initial metadata.
+ +
+ abstract + + + + + PendingResult<DriveApi.MetadataBufferResultDriveFolder.OnChildrenRetrievedCallback> + + listChildren(GoogleApiClient apiClient) + +
Retrieves a collection of metadata for the direct children of this folder.
+ +
+ abstract + + + + + PendingResult<DriveApi.MetadataBufferResultDriveFolder.OnChildrenRetrievedCallback> + + queryChildren(GoogleApiClient apiClient, Query query) + +
Retrieves a collection of metadata for the all authorized direct children of this folder.
+ +
+ + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + com.google.android.gms.drive.DriveResource + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + +

Constants

+ + + + + + +
+

+ + public + static + final + String + + MIME_TYPE +

+
+ + + + +
+
+ +

The MIME type associated with folder resources. +

+ + +
+ Constant Value: + + + "application/vnd.google-apps.folder" + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + PendingResult<DriveFolder.DriveFileResultDriveFolder.OnCreateFileCallback> + + createFile + (GoogleApiClient apiClient, MetadataChangeSet changeSet, Contents contents) +

+
+
+ + + +
+
+ +

Creates a new file within this folder, with the provided initial metadata and contents.

+
+
Parameters
+ + + + + + + + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected before invoking this method.
changeSet + A set of metadata fields that should be initially set. This should + minimally include a title and mime type.
contents + The initial contents.
+
+
+
Returns
+
  • A PendingResult which can be used to retrieve the newly created DriveFile. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<DriveFolder.DriveFolderResultDriveFolder.OnCreateFolderCallback> + + createFolder + (GoogleApiClient apiClient, MetadataChangeSet changeSet) +

+
+
+ + + +
+
+ +

Creates a new folder within this folder, with the provided initial metadata.

+
+
Parameters
+ + + + + + + +
apiClient + The GoogleApiClient to service the call. The client must be + connected before invoking this method.
changeSet + A set of metadata fields that should be initially set. This should + minimally include a title. The mime type will be set to the folder mime type.
+
+
+
Returns
+
  • A PendingResult which can be used to retrieve the newly created DriveFile. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<DriveApi.MetadataBufferResultDriveFolder.OnChildrenRetrievedCallback> + + listChildren + (GoogleApiClient apiClient) +

+
+
+ + + +
+
+ +

Retrieves a collection of metadata for the direct children of this folder. The result will + include metadata for both files and folders.

+
+
Parameters
+ + + + +
apiClient + The GoogleApiClient to service the call.
+
+
+
Returns
+
  • a PendingResult which can be used to retrieve the children list. +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + PendingResult<DriveApi.MetadataBufferResultDriveFolder.OnChildrenRetrievedCallback> + + queryChildren + (GoogleApiClient apiClient, Query query) +

+
+
+ + + +
+
+ +

Retrieves a collection of metadata for the all authorized direct children of this folder. + Unless restricted by the query, the result will include metadata for both files and folders.

+
+
Parameters
+ + + + + + + +
apiClient + The GoogleApiClient to service the call.
query + A query that will restrict the results of the retrieved children.
+
+
+
Returns
+
  • a PendingResult which can be used to retrieve the children list. +
+
+ +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/auth/RecoveryDecision.html b/docs/html/reference/com/google/android/gms/drive/DriveId.html similarity index 77% rename from docs/html/reference/com/google/android/gms/auth/RecoveryDecision.html rename to docs/html/reference/com/google/android/gms/drive/DriveId.html index f375b279996749a6e7406824578320e520479a9b..3f62f229b3bf32acd7ec152cc0809b60afd62b69 100644 --- a/docs/html/reference/com/google/android/gms/auth/RecoveryDecision.html +++ b/docs/html/reference/com/google/android/gms/drive/DriveId.html @@ -83,7 +83,7 @@ -RecoveryDecision | Android Developers +DriveId | Android Developers
- Quicknav + Quicknav Quicknav
@@ -141,7 +141,7 @@ href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,medium ru-lang="Проектирование" ko-lang="디자인" ja-lang="設計" - es-lang="Diseñar" + es-lang="Diseñar" >Design
  • Develop
  • Distribute
  • - + - - + + - - - + + + - - - + + +
    @@ -629,12 +631,12 @@ onkeyup="return search_changed(event, false, '/')" /> - +
    - + @@ -654,21 +656,21 @@ onkeyup="return search_changed(event, false, '/')" /> - - - - - - - - - - - - - - + + + + + + + + + + + + + +
    - - - + + +
    @@ -717,28 +716,28 @@ Summary:
    public - - - + + + class -

    RecoveryDecision

    +

    DriveId

    + - extends Object
    - - - - - - implements - - Parcelable - - - + + + + + + implements + + Parcelable + + +
    @@ -750,18 +749,18 @@ Summary: - + java.lang.Object - + - +    ↳ - - com.google.android.gms.auth.RecoveryDecision + + com.google.android.gms.drive.DriveId - + @@ -774,6 +773,16 @@ Summary:
    +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A canonical identifier for a Drive resource. +

    + @@ -837,23 +846,23 @@ android.os.Parcelable
    @@ -869,74 +878,18 @@ android.os.Parcelable - + - + Creator<DriveId> + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
    Fields
    public static final - RecoveryDecisionCreatorCREATORCREATOR
    - public - - - booleanisRecoveryInfoNeededIs true if either the account has no recovery information or it - was updated long time back (controlled by server, default 1 year).
    - public - - - booleanisRecoveryInterstitialAllowedIs true iff the user has permission to update the account.
    - public - - - PendingIntentrecoveryIntentA PendingIntent to an activity that gathers recovery information for the given account.
    - public - - - PendingIntentrecoveryIntentWithoutIntroA PendingIntent to an activity that gathers recovery information for the given account.
    - public - - - booleanshowRecoveryInterstitialRepresents the decision and should be obeyed by the client.
    @@ -946,85 +899,166 @@ android.os.Parcelable - - - + + +
    Public Constructors
    + + + + -
    Public Methods
    - - - - - - + + + + static + + DriveId - RecoveryDecision() - + createFromResourceId(String resourceId) + +
    Creates a DriveId from the provided remote Drive resource id.
    +
    + + + static + DriveId + + + decodeFromString(String s) +
    Decodes the result of encodeToString() back into a DriveId.
    - - + - - + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1059,182 +1093,182 @@ From class
    Public Methods
    - - - - - + + + + + int - describeContents() - + describeContents() +
    - - - - - + + + final + + + String + + encodeToString() + +
    Returns a String representation of this DriveId that can be safely + persisted, and from which an equal DriveId can later be + reconstructed via decodeFromString(String).
    + +
    + + + + + + boolean + + equals(Object obj) + +
    + + + + + + String + + getResourceId() + +
    Returns the remote Drive resource id associated with the resource.
    + +
    + + + + + int - getVersionCode() - + hashCode() + +
    + + + + + + String + + toString() +
    - - - - - + + + + + void - writeToParcel(Parcel out, int flags) - + writeToParcel(Parcel out, int flags) +
    - - + + - + - + - + - + - + - + - + - + - + - + @@ -1261,38 +1295,38 @@ From interface
    - - - - - + + + + + Object clone() - +
    - - - - - + + + + + boolean equals(Object arg0) - +
    - - - - - + + + + + void finalize() - +
    - - + + final - - + + Class<?> getClass() - +
    - - - - - + + + + + int hashCode() - +
    - - + + final - - + + void notify() - +
    - - + + final - - + + void notifyAll() - +
    - - - - - + + + + + String toString() - +
    - - + + final - - + + void wait() - +
    - - + + final - - + + void wait(long arg0, int arg1) - +
    - - + + final - - + + void wait(long arg0) - +
    - - + + - + @@ -1336,293 +1370,292 @@ From interface -
    +

    - public - static - final - RecoveryDecisionCreator + public + static + final + Creator<DriveId> CREATOR

    - - - + + +
    - +

    - +
    - -
    + + + + + + + + + + + + +

    Public Methods

    + + + + + +

    - public - - - boolean + public + static + + + + DriveId - isRecoveryInfoNeeded + createFromResourceId + (String resourceId)

    - - - +
    + +
    - -

    Is true if either the account has no recovery information or it - was updated long time back (controlled by server, default 1 year). + +

    Creates a DriveId from the provided remote Drive resource id.

    -
    + - - -
    +

    - public - - - boolean + public + static + + + + DriveId - isRecoveryInterstitialAllowed + decodeFromString + (String s)

    - - - +
    + +
    - -

    Is true iff the user has permission to update the account. - Dasher accounts can have recovery information edit disabled by the administrator. - Eg: @google.com -

    - +

    Decodes the result of encodeToString() back into a DriveId.

    +
    +
    Throws
    +
    abstract - - - - + + + + int describeContents() - +
    abstract - - - - + + + + void writeToParcel(Parcel arg0, int arg1) - +
    + + + +
    IllegalArgumentException + if the argument is not a valid result of + encodeToString(). +
    + + + - - -
    +

    - public - - - PendingIntent + public + + + + + int - recoveryIntent + describeContents + ()

    - - - +
    + +
    - -

    A PendingIntent to an activity that gathers recovery information for the given account. - This intent will be null iff isRecoveryInterstitialAllowed is false. -

    - +

    +
    + - - -
    +

    - public - - - PendingIntent + public + + final + + + String - recoveryIntentWithoutIntro + encodeToString + ()

    - - - +
    + +
    - -

    A PendingIntent to an activity that gathers recovery information for the given account. - This intent will be null iff isRecoveryInterstitialAllowed is false. - This intent directly skips to the input activity without showing the intro message. + +

    Returns a String representation of this DriveId that can be safely + persisted, and from which an equal DriveId can later be + reconstructed via decodeFromString(String).

    -
    + - - -
    +

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

    - - - +
    + +
    - -

    Represents the decision and should be obeyed by the client. The remaining - two flags are provided as additional information for one off decisions. This value - is true iff isRecoveryInfoNeeded is true, isRecoveryInterstitialAllowed is - true and a specified period (controlled by server, default 2 months) has passed - since the user was shown a prompt for recovery information on any google property - (Android, Web, etc.) -

    - +

    +
    + - - - - - -

    Public Constructors

    +
    +

    + + public - -
    -

    - - public - - - - - + String - RecoveryDecision + getResourceId ()

    - - + +
    - -

    + +

    Returns the remote Drive resource id associated with the resource. May be null for + local resources that have not yet been synchronized to the Drive service. +

    + - - - - - - - - - - -

    Public Methods

    +
    +

    + + public - -
    -

    - - public - - - - int - describeContents + hashCode ()

    - - + +
    - +

    - + -
    +

    - public - - - - - int + public + + + + + String - getVersionCode + toString ()

    - - + +
    - +

    @@ -1631,14 +1664,14 @@ From interface -
    +

    - public - - - - + public + + + + void writeToParcel @@ -1646,12 +1679,12 @@ From interface

    - - + +
    - +

    @@ -1669,17 +1702,17 @@ From interface diff --git a/docs/html/reference/com/google/android/gms/drive/DriveResource.MetadataResult.html b/docs/html/reference/com/google/android/gms/drive/DriveResource.MetadataResult.html new file mode 100644 index 0000000000000000000000000000000000000000..5f85a9fab260cd8e3374a131c83370547b814dda --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveResource.MetadataResult.html @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveResource.MetadataResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + static + + + interface +

    DriveResource.MetadataResult

    + + + + + + implements + + Result + + + + + +
    + +
    + +
    + + + + + + + + + +
    com.google.android.gms.drive.DriveResource.MetadataResult
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    Result that is returned in response to metadata requests. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + abstract + + + + + Metadata + + getMetadata() + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From interface + + com.google.android.gms.common.api.Result + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

    + + public + + + abstract + + Metadata + + getMetadata + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveResource.OnMetadataRetrievedCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveResource.OnMetadataRetrievedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..e8fbd27772bcd6d1629758f498608cf982ada595 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveResource.OnMetadataRetrievedCallback.html @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveResource.OnMetadataRetrievedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + +
    + + + + +
    +
    + + + + +
    + public + static + + + interface +

    DriveResource.OnMetadataRetrievedCallback

    + + + + + + + + +
    + +
    + +
    + + + + + + + + + +
    com.google.android.gms.drive.DriveResource.OnMetadataRetrievedCallback
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A callback that provides the result for a get request. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + abstract + + + + + void + + onMetadataRetrieved(DriveResource.MetadataResult result) + +
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

    + + public + + + abstract + + void + + onMetadataRetrieved + (DriveResource.MetadataResult result) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveResource.OnMetadataUpdatedCallback.html b/docs/html/reference/com/google/android/gms/drive/DriveResource.OnMetadataUpdatedCallback.html new file mode 100644 index 0000000000000000000000000000000000000000..445dda1dd5ed592b8c008a3fd0a51ab91b3268aa --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveResource.OnMetadataUpdatedCallback.html @@ -0,0 +1,925 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveResource.OnMetadataUpdatedCallback | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + +
    + + + + +
    +
    + + + + +
    + public + static + + + interface +

    DriveResource.OnMetadataUpdatedCallback

    + + + + + + + + +
    + +
    + +
    + + + + + + + + + +
    com.google.android.gms.drive.DriveResource.OnMetadataUpdatedCallback
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A callback that indicates that the metadata update has completed. Check the status in + the result to ensure it completed successfully. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + abstract + + + + + void + + onMetadataUpdated(DriveResource.MetadataResult result) + +
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

    + + public + + + abstract + + void + + onMetadataUpdated + (DriveResource.MetadataResult result) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/DriveResource.html b/docs/html/reference/com/google/android/gms/drive/DriveResource.html new file mode 100644 index 0000000000000000000000000000000000000000..86a1d9750fa5f81e4f2c75c255822b7311d3bb2a --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/DriveResource.html @@ -0,0 +1,1160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DriveResource | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + interface +

    DriveResource

    + + + + + + + + +
    + +
    + +
    + + + + + + + + + +
    com.google.android.gms.drive.DriveResource
    + + + + + + +
    + + Known Indirect Subclasses + +
    + + +
    +
    + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A Resource represents a file or folder in Drive. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nested Classes
    + + + + + interfaceDriveResource.MetadataResultResult that is returned in response to metadata requests. 
    + + + + + interfaceDriveResource.OnMetadataRetrievedCallbackA callback that provides the result for a get request. 
    + + + + + interfaceDriveResource.OnMetadataUpdatedCallbackA callback that indicates that the metadata update has completed. 
    + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + abstract + + + + + DriveId + + getDriveId() + +
    Returns the DriveId that uniquely identifies this resource.
    + +
    + abstract + + + + + PendingResult<DriveResource.MetadataResultDriveResource.OnMetadataRetrievedCallback> + + getMetadata(GoogleApiClient apiClient) + +
    Retrieves the Metadata that is associated with this resource.
    + +
    + abstract + + + + + PendingResult<DriveResource.MetadataResultDriveResource.OnMetadataUpdatedCallback> + + updateMetadata(GoogleApiClient apiClient, MetadataChangeSet changeSet) + +
    Updates the Metadata that is associated with this resource with the changes described + in the MetadataChangeSet.
    + +
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

    + + public + + + abstract + + DriveId + + getDriveId + () +

    +
    +
    + + + +
    +
    + +

    Returns the DriveId that uniquely identifies this resource. +

    + +
    +
    + + + + +
    +

    + + public + + + abstract + + PendingResult<DriveResource.MetadataResultDriveResource.OnMetadataRetrievedCallback> + + getMetadata + (GoogleApiClient apiClient) +

    +
    +
    + + + +
    +
    + +

    Retrieves the Metadata that is associated with this resource.

    +
    +
    Parameters
    + + + + +
    apiClient + The GoogleApiClient to service the call.
    +
    +
    +
    Returns
    +
    • a PendingResult which can be used to retrieve the Metadata when it is available. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + abstract + + PendingResult<DriveResource.MetadataResultDriveResource.OnMetadataUpdatedCallback> + + updateMetadata + (GoogleApiClient apiClient, MetadataChangeSet changeSet) +

    +
    +
    + + + +
    +
    + +

    Updates the Metadata that is associated with this resource with the changes described + in the MetadataChangeSet.

    +
    +
    Parameters
    + + + + + + + +
    apiClient + The GoogleApiClient to service the call. The client must be + connected when this method is invoked.
    changeSet + The set of changes that will be applied to the Metadata. Only include the + specific fields that wish to be updated.
    +
    +
    +
    Returns
    +
    • a PendingResult which will return the updated Metadata when it is available. +
    +
    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/Metadata.html b/docs/html/reference/com/google/android/gms/drive/Metadata.html new file mode 100644 index 0000000000000000000000000000000000000000..c90a862766639638b3f6e8254115d99bc4648ba8 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/Metadata.html @@ -0,0 +1,1794 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Metadata | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + abstract + class +

    Metadata

    + + + + + extends Object
    + + + + + + + implements + + Freezable<T> + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.Metadata
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    The details of a Drive file or folder. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + Metadata() + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + Date + + getCreatedDate() + +
    Returns the create time for this resource.
    + +
    + + + + + + DriveId + + getDriveId() + +
    Returns the id of the resource
    + +
    + + + + + + String + + getMimeType() + +
    Returns the MIME type of the resource
    + +
    + + + + + + Date + + getModifiedByMeDate() + +
    Returns the last time this resource was modified by the user.
    + +
    + + + + + + Date + + getModifiedDate() + +
    Returns the last time this resource was modified by anyone.
    + +
    + + + + + + Date + + getSharedWithMeDate() + +
    Returns the time at which this resource was shared with the user.
    + +
    + + + + + + String + + getTitle() + +
    Returns the title of the resource
    + +
    + + + + + + boolean + + isEditable() + +
    Returns true if this resource can be edited by the current user.
    + +
    + + + + + + boolean + + isFolder() + +
    Returns true if this Metadata is for a folder.
    + +
    + + + + + + boolean + + isStarred() + +
    Returns true if this resource is starred by the user.
    + +
    + + + + + + boolean + + isTrashed() + +
    Returns true if this resource has been trashed.
    + +
    + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + +From interface + + com.google.android.gms.common.data.Freezable + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + Metadata + () +

    +
    +
    + + + +
    +
    + +

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

    Public Methods

    + + + + + +
    +

    + + public + + + + + Date + + getCreatedDate + () +

    +
    +
    + + + +
    +
    + +

    Returns the create time for this resource. +

    + +
    +
    + + + + +
    +

    + + public + + + + + DriveId + + getDriveId + () +

    +
    +
    + + + +
    +
    + +

    Returns the id of the resource

    + +
    +
    + + + + +
    +

    + + public + + + + + String + + getMimeType + () +

    +
    +
    + + + +
    +
    + +

    Returns the MIME type of the resource

    + +
    +
    + + + + +
    +

    + + public + + + + + Date + + getModifiedByMeDate + () +

    +
    +
    + + + +
    +
    + +

    Returns the last time this resource was modified by the user. +

    + +
    +
    + + + + +
    +

    + + public + + + + + Date + + getModifiedDate + () +

    +
    +
    + + + +
    +
    + +

    Returns the last time this resource was modified by anyone. +

    + +
    +
    + + + + +
    +

    + + public + + + + + Date + + getSharedWithMeDate + () +

    +
    +
    + + + +
    +
    + +

    Returns the time at which this resource was shared with the user. +

    + +
    +
    + + + + +
    +

    + + public + + + + + String + + getTitle + () +

    +
    +
    + + + +
    +
    + +

    Returns the title of the resource

    + +
    +
    + + + + +
    +

    + + public + + + + + boolean + + isEditable + () +

    +
    +
    + + + +
    +
    + +

    Returns true if this resource can be edited by the current user. +

    + +
    +
    + + + + +
    +

    + + public + + + + + boolean + + isFolder + () +

    +
    +
    + + + +
    +
    + +

    Returns true if this Metadata is for a folder. +

    + +
    +
    + + + + +
    +

    + + public + + + + + boolean + + isStarred + () +

    +
    +
    + + + +
    +
    + +

    Returns true if this resource is starred by the user. +

    + +
    +
    + + + + +
    +

    + + public + + + + + boolean + + isTrashed + () +

    +
    +
    + + + +
    +
    + +

    Returns true if this resource has been trashed. +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/MetadataBuffer.html b/docs/html/reference/com/google/android/gms/drive/MetadataBuffer.html new file mode 100644 index 0000000000000000000000000000000000000000..b57890fb12efac374dcd255a4dd3fbca04d68066 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/MetadataBuffer.html @@ -0,0 +1,1440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +MetadataBuffer | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + final + + class +

    MetadataBuffer

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

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A data buffer that points to Metadata entries. Objects of this class are returned in responses to + list requests (such as query(GoogleApiClient, Query)). This object behaves as an Iterable, as well as + allowing indexed access to its entries. Be sure to call close on any buffers when you are done + with them. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + Metadata + + get(int row) + +
    Get the item at the specified position.
    + +
    + + + + + + String + + getNextPageToken() + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + [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 + + + + + Metadata + + get + (int row) +

    +
    +
    + + + +
    +
    + +

    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.

    +
    +
    Parameters
    + + + + +
    row + The position of the item to retrieve.
    +
    +
    +
    Returns
    +
    • the item at position in this buffer. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + String + + getNextPageToken + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/MetadataChangeSet.Builder.html b/docs/html/reference/com/google/android/gms/drive/MetadataChangeSet.Builder.html new file mode 100644 index 0000000000000000000000000000000000000000..2aac6f686d01ebc61e86ec3cd71eb1749ad77cea --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/MetadataChangeSet.Builder.html @@ -0,0 +1,1375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +MetadataChangeSet.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + static + + + class +

    MetadataChangeSet.Builder

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.MetadataChangeSet.Builder
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A builder for creating a new MetadataChangeSet. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + MetadataChangeSet.Builder() + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + MetadataChangeSet + + build() + +
    + + + + + + MetadataChangeSet.Builder + + setMimeType(String mimeType) + +
    + + + + + + MetadataChangeSet.Builder + + setStarred(boolean starred) + +
    + + + + + + MetadataChangeSet.Builder + + setTitle(String title) + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + MetadataChangeSet.Builder + () +

    +
    +
    + + + +
    +
    + +

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

    Public Methods

    + + + + + +
    +

    + + public + + + + + MetadataChangeSet + + build + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + MetadataChangeSet.Builder + + setMimeType + (String mimeType) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + MetadataChangeSet.Builder + + setStarred + (boolean starred) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + MetadataChangeSet.Builder + + setTitle + (String title) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/MetadataChangeSet.html b/docs/html/reference/com/google/android/gms/drive/MetadataChangeSet.html new file mode 100644 index 0000000000000000000000000000000000000000..deb6cbdb922d3b3ceb6971d9c73235ec5373960d --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/MetadataChangeSet.html @@ -0,0 +1,1289 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +MetadataChangeSet | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + final + + class +

    MetadataChangeSet

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.MetadataChangeSet
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A collection of metadata changes. Any fields with null values will retain their current value. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nested Classes
    + + + + + classMetadataChangeSet.BuilderA builder for creating a new MetadataChangeSet. 
    + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + String + + getMimeType() + +
    + + + + + + String + + getTitle() + +
    + + + + + + Boolean + + isStarred() + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

    + + public + + + + + String + + getMimeType + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + String + + getTitle + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + Boolean + + isStarred + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/OpenFileActivityBuilder.html b/docs/html/reference/com/google/android/gms/drive/OpenFileActivityBuilder.html new file mode 100644 index 0000000000000000000000000000000000000000..5487ec6dfa31d04eadd10f85577d48432b301bdf --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/OpenFileActivityBuilder.html @@ -0,0 +1,1436 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OpenFileActivityBuilder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + class +

    OpenFileActivityBuilder

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.OpenFileActivityBuilder
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A builder that is used to configure and display the open file activity. This activity displays + files and folders from the user's Drive. The activity can be used to display all files in the + Drive, not just those your application has access to. Your application will be given access to + the selected file. + +

    + To display the activity, pass the result of build(GoogleApiClient) to #startActivityForResult(). + When the activity completes, a successful response will include an extra + EXTRA_RESPONSE_DRIVE_ID with the selected DriveId. + +

    + Note: you cannot use #startActivity to invoke the activity. This will fail. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Constants
    StringEXTRA_RESPONSE_DRIVE_IDA successful result will return an extra by this name which will contain the DriveId + of the selected file.
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + IntentSender + + build(GoogleApiClient apiClient) + +
    Builds an IntentSender from the builder attributes that can be used to start the Open + File activity using + startIntentSenderForResult(IntentSender, int, Intent, int, int, int).
    + +
    + + + + + + OpenFileActivityBuilder + + setActivityStartFolder(DriveId folder) + +
    Sets the folder that the Activity will display initially.
    + +
    + + + + + + OpenFileActivityBuilder + + setActivityTitle(String title) + +
    Sets the title displayed in the activity.
    + +
    + + + + + + OpenFileActivityBuilder + + setMimeType(String[] mimeTypes) + +
    Sets the MIME type filter which controls which kinds of files can be selected from the file + picker.
    + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    Constants

    + + + + + + +
    +

    + + public + static + final + String + + EXTRA_RESPONSE_DRIVE_ID +

    +
    + + + + +
    +
    + +

    A successful result will return an extra by this name which will contain the DriveId + of the selected file. +

    + + +
    + Constant Value: + + + "response_drive_id" + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

    + + public + + + + + IntentSender + + build + (GoogleApiClient apiClient) +

    +
    +
    + + + +
    +
    + +

    Builds an IntentSender from the builder attributes that can be used to start the Open + File activity using + startIntentSenderForResult(IntentSender, int, Intent, int, int, int).

    +
    +
    Parameters
    + + + + +
    apiClient + The GoogleApiClient to service the call. The client must be connected + before invoking this method. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + OpenFileActivityBuilder + + setActivityStartFolder + (DriveId folder) +

    +
    +
    + + + +
    +
    + +

    Sets the folder that the Activity will display initially. If not specified, it will default + to the root of "My Drive". +

    + +
    +
    + + + + +
    +

    + + public + + + + + OpenFileActivityBuilder + + setActivityTitle + (String title) +

    +
    +
    + + + +
    +
    + +

    Sets the title displayed in the activity.

    +
    +
    Parameters
    + + + + +
    title + the title to set on the activity (may not be null) +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + OpenFileActivityBuilder + + setMimeType + (String[] mimeTypes) +

    +
    +
    + + + +
    +
    + +

    Sets the MIME type filter which controls which kinds of files can be selected from the file + picker. This method must be called on the builder or the {#build} method will fail.

    +
    +
    Parameters
    + + + + +
    mimeTypes + the mime types to show in the picker. May not be null, and must contain at + least one value +
    +
    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/metadata/CollectionMetadataField.html b/docs/html/reference/com/google/android/gms/drive/metadata/CollectionMetadataField.html new file mode 100644 index 0000000000000000000000000000000000000000..ab652b27b4812bd8ad68b2bb44a9ddd12b88e6b7 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/metadata/CollectionMetadataField.html @@ -0,0 +1,1257 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +CollectionMetadataField | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + abstract + class +

    CollectionMetadataField

    + + + + + + + + + extends MetadataField<T>
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.metadata.MetadataField<T>
        ↳com.google.android.gms.drive.metadata.CollectionMetadataField<T>
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A metadata field which holds a collection of values. Instances of this class (such as the static + values in SearchableField) can be used to create + "in" filters for file queries.

    + For example, the following code will find all files in the folder with ID "folder" with the MIME + type "text/plain":

    +

    + DriveId parent = DriveId.createFromResourceId("folder");
    + Filter parentFilter = Filters.in(SearchableField.PARENTS, parent);
    + Filter mimeTypeFilter = Filters.eq(SearchableField.MIME_TYPE, "text/plain");
    + Query query = new Query.Builder().addFilters(parentFilter, mimeTypeFilter).build();
    + for (Metadata metadata : Drive.DriveApi.query(apiClient, query).await().getMetadataBuffer()) {
    +     System.out.println(metadata.getTitle());
    + }
    + 
    +

    + Note that you must pass a CollectionMetadataField to the Filters.in method; + a plain MetadataField cannot be used as part of an "in" query. However, every + CollectionMetadataField is also a MetadataField, so you can use a + CollectionMetadataField with Filters.eq (for example, if you want to find a + file with an exact set of parents).

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Protected Constructors
    + + + + + + + + CollectionMetadataField(String fieldName) + +
    + + + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + com.google.android.gms.drive.metadata.MetadataField + +
    + + +
    +
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Protected Constructors

    + + + + + +
    +

    + + protected + + + + + + + CollectionMetadataField + (String fieldName) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/metadata/MetadataField.html b/docs/html/reference/com/google/android/gms/drive/metadata/MetadataField.html new file mode 100644 index 0000000000000000000000000000000000000000..46053a89e38aeb34827dfb531e00e21d97f89b69 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/metadata/MetadataField.html @@ -0,0 +1,1236 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +MetadataField | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + abstract + class +

    MetadataField

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.metadata.MetadataField<T>
    + + + + +
    + + Known Direct Subclasses + +
    + + +
    +
    + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A single metadata field that can be used as part of file queries. Instances of this class (such + as the static values in SearchableField) can be used + to create filters for file queries. +

    +

    + For example, the following code will find all files that are starred and have the MIME type type + "text/plain": +

    + +

    + Date oneHourAgo = new Date(System.currentTimeMillis() - (60 * 60 * 1000));
    + Filter starredFilter = Filters.eq(SearchableField.STARRED, true);
    + Filter mimeTypeFilter = Filters.eq(SearchableField.MIME_TYPE, "text/plain");
    + Query query = new Query.Builder().addFilters(starredFilter, mimeTypeFilter).build();
    + for (Metadata metadata : Drive.DriveApi.query(apiClient, query).await().getMetadataBuffer()) {
    +     System.out.println(metadata.getTitle());
    + }
    + 

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + String + + toString() + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Methods

    + + + + + +
    +

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

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/metadata/OrderedMetadataField.html b/docs/html/reference/com/google/android/gms/drive/metadata/OrderedMetadataField.html new file mode 100644 index 0000000000000000000000000000000000000000..6320c9f90e48d755c4402b8040c84f39a2deb7e3 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/metadata/OrderedMetadataField.html @@ -0,0 +1,1304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +OrderedMetadataField | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + abstract + class +

    OrderedMetadataField

    + + + + + + + + + extends MetadataField<T>
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.metadata.MetadataField<T>
        ↳com.google.android.gms.drive.metadata.OrderedMetadataField<T extends java.lang.Comparable<T>>
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A metadata field which holds an ordered value (such as a date) which can be used for range + queries. Instances of this class (such as the static values in + SearchableField) can be used to create inequality + filters for file queries.

    + For example, the following code will find all files that were modified in the last hour with the + MIME type "text/plain":

    +

    + Date oneHourAgo = new Date(System.currentTimeMillis() - (60 * 60 * 1000));
    + Filter dateFilter = Filters.greaterThan(SearchableField.MODIFIED_DATE, parent);
    + Filter mimeTypeFilter = Filters.eq(SearchableField.MIME_TYPE, "text/plain");
    + Query query = new Query.Builder().addFilters(dateFilter, mimeTypeFilter).build();
    + for (Metadata metadata : Drive.DriveApi.query(apiClient, query).await().getMetadataBuffer()) {
    +   System.out.println(metadata.getTitle());
    + }
    + 
    +

    + Note that you must pass a DateMetadataField to the Filters.greaterThan, + Filters.lessThan, Filters.lessThanEquals, or Filters.greaterThanEquals + methods; a plain MetadataField cannot be used as part of an inequality query. However, + every DateMetadataField is also a MetadataField, so you can use a + DateMetadataField with Filters.eq (for example, if you want to find a file that + was modified at an exact time).

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Protected Constructors
    + + + + + + + + OrderedMetadataField(String fieldName) + +
    + + + + + + + + OrderedMetadataField(String fieldName, Collection<String> dataHolderFieldNames) + +
    + + + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + com.google.android.gms.drive.metadata.MetadataField + +
    + + +
    +
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Protected Constructors

    + + + + + +
    +

    + + protected + + + + + + + OrderedMetadataField + (String fieldName) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + protected + + + + + + + OrderedMetadataField + (String fieldName, Collection<String> dataHolderFieldNames) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/metadata/StringMetadataField.html b/docs/html/reference/com/google/android/gms/drive/metadata/StringMetadataField.html new file mode 100644 index 0000000000000000000000000000000000000000..0948cd84768331cfbfa5e033f484f386b773d271 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/metadata/StringMetadataField.html @@ -0,0 +1,1257 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +StringMetadataField | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + final + + class +

    StringMetadataField

    + + + + + + + + + extends MetadataField<T>
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.metadata.MetadataField<T>
        ↳com.google.android.gms.drive.metadata.StringMetadataField
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A metadata field which holds a string value of values. Instances of this class (such as the + static values in SearchableField) can be used to + create "substring" filters for file queries.

    + For example, the following code will find all files with "pizza" in the title:

    +

    + Filter titleFilter = Filters.substring(SearchableField.TITLE, "pizza");
    + Query query = new Query.Builder().addFilters(titleFilter).build();
    + for (Metadata metadata : Drive.DriveApi.query(apiClient, query).await().getMetadataBuffer()) {
    +     System.out.println(metadata.getTitle());
    + }
    + 
    +

    + Note that you must pass a StringMetadataField to the Filters.substring method; + a plain MetadataField cannot be used as part of an "substring" query. However, every + StringMetadataField is also a MetadataField, so you can use a + StringMetadataField with Filters.eq (for example, if you want to find a + file with an exact title). +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + StringMetadataField(String fieldName) + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + com.google.android.gms.drive.metadata.MetadataField + +
    + + +
    +
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + StringMetadataField + (String fieldName) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/metadata/package-summary.html b/docs/html/reference/com/google/android/gms/drive/metadata/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..0abce93c4f77713619e01c0eea4b7cc76d1032e0 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/metadata/package-summary.html @@ -0,0 +1,757 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.drive.metadata | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + + + +
    +
    + +
    + package +

    com.google.android.gms.drive.metadata

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

    Classes

    +
    + + + + + + + + + + + + + + + + + + +
    CollectionMetadataField<T>A metadata field which holds a collection of values. 
    MetadataField<T>A single metadata field that can be used as part of file queries. 
    OrderedMetadataField<T extends Comparable<T>>A metadata field which holds an ordered value (such as a date) which can be used for range + queries. 
    StringMetadataFieldA metadata field which holds a string value of values. 
    +
    + + + + + + + + + + + + + +
    +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/package-summary.html b/docs/html/reference/com/google/android/gms/drive/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..aa880af8980a42bd8d5c33d6af6581273dcf8019 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/package-summary.html @@ -0,0 +1,873 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.drive | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + + + +
    +
    + +
    + package +

    com.google.android.gms.drive

    +
    + +
    + +
    + +
    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +
    + + + + +

    Interfaces

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    DriveApiThe main entry point for interacting with Drive. 
    DriveApi.ContentsResultResult that contains a Contents reference. 
    DriveApi.IntentSenderResultResult that contains an IntentSender reference. 
    DriveApi.MetadataBufferResultResult that contains a MetadataBuffer. 
    DriveApi.OnContentsDiscardedCallbackA callback that provides the result for a discardContents(GoogleApiClient, Contents) request. 
    DriveApi.OnNewContentsCallbackA callback that provides the result for a OpenContents request. 
    DriveApi.OnSyncFinishCallbackA callback that provides the result for a requestSync(GoogleApiClient) request. 
    DriveFileA file in Drive. 
    DriveFile.DownloadProgressListenerA listener that listens for progress events on an active contents download. 
    DriveFile.OnContentsClosedCallbackA callback that provides the result for a commitAndCloseContents(GoogleApiClient, Contents) request. 
    DriveFile.OnContentsOpenedCallbackA callback that provides the result for a OpenContents request. 
    DriveFolderA folder in Drive. 
    DriveFolder.DriveFileResultA result that contains a DriveFile. 
    DriveFolder.DriveFolderResultA result that contains a DriveFolder. 
    DriveFolder.OnChildrenRetrievedCallbackA callback that provides the result for a get children request. 
    DriveFolder.OnCreateFileCallbackA callback that provides the result for a create file request. 
    DriveFolder.OnCreateFolderCallbackA callback that provides the result for a create folder request. 
    DriveResourceA Resource represents a file or folder in Drive. 
    DriveResource.MetadataResultResult that is returned in response to metadata requests. 
    DriveResource.OnMetadataRetrievedCallbackA callback that provides the result for a get request. 
    DriveResource.OnMetadataUpdatedCallbackA callback that indicates that the metadata update has completed. 
    +
    + + + + +

    Classes

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ContentsA reference to a Drive file's contents. 
    CreateFileActivityBuilderA builder that is used to configure and display the create file activity. 
    DriveThe Drive API provides easy access to users' Google Drive contents. 
    DriveIdA canonical identifier for a Drive resource. 
    MetadataThe details of a Drive file or folder. 
    MetadataBufferA data buffer that points to Metadata entries. 
    MetadataChangeSetA collection of metadata changes. 
    MetadataChangeSet.BuilderA builder for creating a new MetadataChangeSet. 
    OpenFileActivityBuilderA builder that is used to configure and display the open file activity. 
    +
    + + + + + + + + + + + + + +
    +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/query/Filter.html b/docs/html/reference/com/google/android/gms/drive/query/Filter.html new file mode 100644 index 0000000000000000000000000000000000000000..fd9427e2fd906fce8ed03a4341e30e0013d1615b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/query/Filter.html @@ -0,0 +1,832 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Filter | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + interface +

    Filter

    + + + + + + + + +
    + +
    + +
    + + + + + + + + + +
    com.google.android.gms.drive.query.Filter
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A query filter that can be used to restrict the results on queries. +

    + + + + + +
    + + + + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/query/Filters.html b/docs/html/reference/com/google/android/gms/drive/query/Filters.html new file mode 100644 index 0000000000000000000000000000000000000000..28d4e611a8465bf53605ba35f479f0c521f36c71 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/query/Filters.html @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Filters | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + class +

    Filters

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.query.Filters
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A factory for creating filters that are used to construct a Query. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + Filters() + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + static + + Filter + + and(Filter filter, Filter... additionalFilters) + +
    Returns a logical expression which combines filters with the 'AND' operator.
    + +
    + + + + static + + Filter + + and(List<Filter> filters) + +
    Returns a filter that matches items which are matched by every element of filters.
    + +
    + + + + static + + Filter + + contains(MetadataField<String> field, String value) + +
    Returns a filter that matches items which are matched by all of the provided filter + parameters.
    + +
    + + + + static + <T> + Filter + + eq(MetadataField<T> field, T value) + +
    Returns a filter which checks if the value of field equals value.
    + +
    + + + + static + <T extends Comparable<T>> + Filter + + greaterThan(OrderedMetadataField<T> field, T value) + +
    Returns a filter which checks if the value of field is greater than value.
    + +
    + + + + static + <T extends Comparable<T>> + Filter + + greaterThanEquals(OrderedMetadataField<T> field, T value) + +
    Returns a filter which checks if the value of field is greater than or equal to + value.
    + +
    + + + + static + <T> + Filter + + in(CollectionMetadataField<T> field, T value) + +
    Returns a filter which checks whether value is an element of field.
    + +
    + + + + static + <T extends Comparable<T>> + Filter + + lessThan(OrderedMetadataField<T> field, T value) + +
    Returns a filter which checks if the value of field is less than value.
    + +
    + + + + static + <T extends Comparable<T>> + Filter + + lessThanEquals(OrderedMetadataField<T> field, T value) + +
    Returns a filter which checks if the value of field is less than or equal to + value.
    + +
    + + + + static + + Filter + + not(Filter toNegate) + +
    Returns the negation of an filter.
    + +
    + + + + static + + Filter + + or(List<Filter> filters) + +
    Returns a filter that matches items which are matched by any element of filters.
    + +
    + + + + static + + Filter + + or(Filter filter, Filter... additionalFilters) + +
    Returns a filter that matches items which are matched by any of the provided filter + parameters.
    + +
    + + + + static + + Filter + + sharedWithMe() + +
    Returns a filter that matches only items that are shared with the current user.
    + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + Filters + () +

    +
    +
    + + + +
    +
    + +

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

    Public Methods

    + + + + + +
    +

    + + public + static + + + + Filter + + and + (Filter filter, Filter... additionalFilters) +

    +
    +
    + + + +
    +
    + +

    Returns a logical expression which combines filters with the 'AND' operator. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + and + (List<Filter> filters) +

    +
    +
    + + + +
    +
    + +

    Returns a filter that matches items which are matched by every element of filters. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + contains + (MetadataField<String> field, String value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter that matches items which are matched by all of the provided filter + parameters. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + eq + (MetadataField<T> field, T value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter which checks if the value of field equals value. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + greaterThan + (OrderedMetadataField<T> field, T value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter which checks if the value of field is greater than value. + This filter can only be used with fields that have a sort order. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + greaterThanEquals + (OrderedMetadataField<T> field, T value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter which checks if the value of field is greater than or equal to + value. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + in + (CollectionMetadataField<T> field, T value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter which checks whether value is an element of field. + This filter can only be used with fields that contain a collection value. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + lessThan + (OrderedMetadataField<T> field, T value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter which checks if the value of field is less than value. This + filter can only be used with fields that have a sort order. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + lessThanEquals + (OrderedMetadataField<T> field, T value) +

    +
    +
    + + + +
    +
    + +

    Returns a filter which checks if the value of field is less than or equal to + value. This filter can only be used with fields that have a sort order. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + not + (Filter toNegate) +

    +
    +
    + + + +
    +
    + +

    Returns the negation of an filter. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + or + (List<Filter> filters) +

    +
    +
    + + + +
    +
    + +

    Returns a filter that matches items which are matched by any element of filters. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + or + (Filter filter, Filter... additionalFilters) +

    +
    +
    + + + +
    +
    + +

    Returns a filter that matches items which are matched by any of the provided filter + parameters. +

    + +
    +
    + + + + +
    +

    + + public + static + + + + Filter + + sharedWithMe + () +

    +
    +
    + + + +
    +
    + +

    Returns a filter that matches only items that are shared with the current user. +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/query/Query.Builder.html b/docs/html/reference/com/google/android/gms/drive/query/Query.Builder.html new file mode 100644 index 0000000000000000000000000000000000000000..81dc78c9040809012993102a3b6c42f421a7e7d6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/query/Query.Builder.html @@ -0,0 +1,1341 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Query.Builder | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + static + + + class +

    Query.Builder

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.query.Query.Builder
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A builder for creating queries. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + Query.Builder() + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + Query.Builder + + addFilter(Filter filter) + +
    Adds a search filter to the query.
    + +
    + + + + + + Query + + build() + +
    + + + + + + Query.Builder + + setPageToken(String token) + +
    Set the page token to retrieve the next page of results.
    + +
    + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + Query.Builder + () +

    +
    +
    + + + +
    +
    + +

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

    Public Methods

    + + + + + +
    +

    + + public + + + + + Query.Builder + + addFilter + (Filter filter) +

    +
    +
    + + + +
    +
    + +

    Adds a search filter to the query. If more than one filter is added, they are combined + with a logical AND.

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

    + + public + + + + + Query + + build + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + Query.Builder + + setPageToken + (String token) +

    +
    +
    + + + +
    +
    + +

    Set the page token to retrieve the next page of results. +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/query/Query.html b/docs/html/reference/com/google/android/gms/drive/query/Query.html new file mode 100644 index 0000000000000000000000000000000000000000..c5ce31bbe2adaf023f6254502d0342f3703ba0e9 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/query/Query.html @@ -0,0 +1,1523 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Query | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + class +

    Query

    + + + + + extends Object
    + + + + + + + implements + + Parcelable + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.query.Query
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    The query object specifies constraints on a query result, including filters and paging + information. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nested Classes
    + + + + + classQuery.BuilderA builder for creating queries. 
    + + + + + + + + +
    + [Expand] +
    Inherited Constants
    + + From interface +android.os.Parcelable +
    + + +
    +
    + + + + + + + + + + + + + + + + + +
    Fields
    + public + static + final + Creator<Query>CREATOR
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + int + + describeContents() + +
    + + + + + + Filter + + getFilter() + +
    Get the filters that will restrict the query results.
    + +
    + + + + + + String + + getPageToken() + +
    A token that indicates the next page of results to retrieve.
    + +
    + + + + + + void + + writeToParcel(Parcel out, int flags) + +
    + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + +From interface + + android.os.Parcelable + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + +

    Fields

    + + + + + + +
    +

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

    +
    + + + + +
    +
    + +

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

    Public Methods

    + + + + + +
    +

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

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + Filter + + getFilter + () +

    +
    +
    + + + +
    +
    + +

    Get the filters that will restrict the query results. +

    + +
    +
    + + + + +
    +

    + + public + + + + + String + + getPageToken + () +

    +
    +
    + + + +
    +
    + +

    A token that indicates the next page of results to retrieve. This should be a token + that was returned in a previous query. +

    + +
    +
    + + + + +
    +

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

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/query/SearchableField.html b/docs/html/reference/com/google/android/gms/drive/query/SearchableField.html new file mode 100644 index 0000000000000000000000000000000000000000..7016c72aa12debdf76cb88763b3dd4592552f74b --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/query/SearchableField.html @@ -0,0 +1,1437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SearchableField | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + class +

    SearchableField

    + + + + + extends Object
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳com.google.android.gms.drive.query.SearchableField
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    An attribute of the file that is to be searched. +

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Fields
    + public + static + final + MetadataField<String>MIME_TYPEThe MIME type of the item.
    + public + static + final + OrderedMetadataField<Date>MODIFIED_DATEThe date when the item was most recently modified.
    + public + static + final + CollectionMetadataField<DriveId>PARENTSThe IDs of the parent folders (if any) of the item.
    + public + static + final + MetadataField<Boolean>STARREDWhether the user has starred the item.
    + public + static + final + MetadataField<String>TITLEThe title of the item.
    + public + static + final + MetadataField<Boolean>TRASHEDWhether the item is in the trash.
    + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + SearchableField() + +
    + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + java.lang.Object + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + +

    Fields

    + + + + + + +
    +

    + + public + static + final + MetadataField<String> + + MIME_TYPE +

    +
    + + + + +
    +
    + +

    The MIME type of the item. +

    + + +
    +
    + + + + + +
    +

    + + public + static + final + OrderedMetadataField<Date> + + MODIFIED_DATE +

    +
    + + + + +
    +
    + +

    The date when the item was most recently modified. +

    + + +
    +
    + + + + + +
    +

    + + public + static + final + CollectionMetadataField<DriveId> + + PARENTS +

    +
    + + + + +
    +
    + +

    The IDs of the parent folders (if any) of the item. +

    + + +
    +
    + + + + + +
    +

    + + public + static + final + MetadataField<Boolean> + + STARRED +

    +
    + + + + +
    +
    + +

    Whether the user has starred the item. +

    + + +
    +
    + + + + + +
    +

    + + public + static + final + MetadataField<String> + + TITLE +

    +
    + + + + +
    +
    + +

    The title of the item. +

    + + +
    +
    + + + + + +
    +

    + + public + static + final + MetadataField<Boolean> + + TRASHED +

    +
    + + + + +
    +
    + +

    Whether the item is in the trash. +

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

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + SearchableField + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/query/package-summary.html b/docs/html/reference/com/google/android/gms/drive/query/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..338f77ec721451f810a3604f024cab6ff2c17e6e --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/query/package-summary.html @@ -0,0 +1,768 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.drive.query | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + + + +
    +
    + +
    + package +

    com.google.android.gms.drive.query

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

    Interfaces

    +
    + + + + + + +
    FilterA query filter that can be used to restrict the results on queries. 
    +
    + + + + +

    Classes

    +
    + + + + + + + + + + + + + + + + + + +
    FiltersA factory for creating filters that are used to construct a Query. 
    QueryThe query object specifies constraints on a query result, including filters and paging + information. 
    Query.BuilderA builder for creating queries. 
    SearchableFieldAn attribute of the file that is to be searched. 
    +
    + + + + + + + + + + + + + +
    +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/widget/DataBufferAdapter.html b/docs/html/reference/com/google/android/gms/drive/widget/DataBufferAdapter.html new file mode 100644 index 0000000000000000000000000000000000000000..ced0fb00f4b9c8299fbe97acb90b0ecb546efa83 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/widget/DataBufferAdapter.html @@ -0,0 +1,2592 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DataBufferAdapter | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    +
    + + + + +
    + public + + + + class +

    DataBufferAdapter

    + + + + + + + + + extends BaseAdapter
    + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    java.lang.Object
       ↳android.widget.BaseAdapter
        ↳com.google.android.gms.drive.widget.DataBufferAdapter<T>
    + + + + + + + +
    + + +

    Class Overview

    +

    + Note: The Google Drive Android API is currently in developer + preview. Applications compiled using this version of the API will + continue to operate on devices using future versions of Google Play services; + however, changes to the API are expected in future releases. +

    +

    A concrete BaseAdapter that is backed by concatenated DataBuffers. The assumptions and + behaviors of this adapter parallel those of the ArrayAdapter: + +

      +
    • that the provided resource id in the simple constructors references a single TextView +
    • that more complex layouts use constructors taking a field id that references a TextView in + the larger layout resource +
    • that the objects in the DataBuffer have an appropriate toString() method, which will be used + to populate the TextView +
    + +

    If you need to modify how the objects display in the TextView, override their toString() + method. + +

    In addition, any DataBuffers added to this adapter are managed entirely by this adapter, + including their life cycle. Be sure to call clear() anywhere you would otherwise close + the data buffers used here, and if you want to manage their life cycles more granularly, you will + need to override the behavior of clear(), as well as add your own management methods to + ensure resources are properly managed within your application. + +

    If you need something other than a single TextView for the data in this adapter, override + getView(int, View, ViewGroup) to populate and return the type of view you want.

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

    Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Constants
    + + From interface +android.widget.Adapter +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Constructors
    + + + + + + + + DataBufferAdapter(Context context, int resource, int textViewResourceId, List<DataBuffer<T>> objects) + +
    + + + + + + + + DataBufferAdapter(Context context, int resource, int textViewResourceId) + +
    + + + + + + + + DataBufferAdapter(Context context, int resource, List<DataBuffer<T>> objects) + +
    + + + + + + + + DataBufferAdapter(Context context, int resource) + +
    + + + + + + + + DataBufferAdapter(Context context, int resource, int textViewResourceId, DataBuffer...<T> buffers) + +
    + + + + + + + + DataBufferAdapter(Context context, int resource, DataBuffer...<T> buffers) + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + + + + + + void + + append(DataBuffer<T> buffer) + +
    Appends the specified buffer to the end of the adapter.
    + +
    + + + + + + void + + clear() + +
    Closes and removes all buffers, and so all elements, from the adapter.
    + +
    + + + + + + Context + + getContext() + +
    + + + + + + int + + getCount() + +
    +
    + +
    + + + + + + View + + getDropDownView(int position, View convertView, ViewGroup parent) + +
    +
    + +
    + + + + + + T + + getItem(int position) + +
    +
    + +
    + + + + + + long + + getItemId(int position) + +
    +
    + +
    + + + + + + View + + getView(int position, View convertView, ViewGroup parent) + +
    +
    + +
    + + + + + + void + + notifyDataSetChanged() + +
    + + This will also re-enable automatic notifications.
    + +
    + + + + + + void + + setDropDownViewResource(int resource) + +
    Sets the layout resource to create the drop down views.
    + +
    + + + + + + void + + setNotifyOnChange(boolean notifyOnChange) + +

    Control whether methods that change the list (append(DataBuffer), clear()) + automatically call notifyDataSetChanged().

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + [Expand] +
    Inherited Methods
    + +From class + + android.widget.BaseAdapter + +
    + + +
    +
    + +From class + + java.lang.Object + +
    + + +
    +
    + +From interface + + android.widget.Adapter + +
    + + +
    +
    + +From interface + + android.widget.ListAdapter + +
    + + +
    +
    + +From interface + + android.widget.SpinnerAdapter + +
    + + +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Constructors

    + + + + + +
    +

    + + public + + + + + + + DataBufferAdapter + (Context context, int resource, int textViewResourceId, List<DataBuffer<T>> objects) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + + + DataBufferAdapter + (Context context, int resource, int textViewResourceId) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + + + DataBufferAdapter + (Context context, int resource, List<DataBuffer<T>> objects) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + + + DataBufferAdapter + (Context context, int resource) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + + + DataBufferAdapter + (Context context, int resource, int textViewResourceId, DataBuffer...<T> buffers) +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + + + DataBufferAdapter + (Context context, int resource, DataBuffer...<T> buffers) +

    +
    +
    + + + +
    +
    + +

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

    Public Methods

    + + + + + +
    +

    + + public + + + + + void + + append + (DataBuffer<T> buffer) +

    +
    +
    + + + +
    +
    + +

    Appends the specified buffer to the end of the adapter. +

    + +
    +
    + + + + +
    +

    + + public + + + + + void + + clear + () +

    +
    +
    + + + +
    +
    + +

    Closes and removes all buffers, and so all elements, from the adapter. +

    + +
    +
    + + + + +
    +

    + + public + + + + + Context + + getContext + () +

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + + +
    +

    + + public + + + + + int + + getCount + () +

    +
    +
    + + + +
    +
    + +

    +

    + +
    +
    + + + + +
    +

    + + public + + + + + View + + getDropDownView + (int position, View convertView, ViewGroup parent) +

    +
    +
    + + + +
    +
    + +

    +

    + +
    +
    + + + + +
    +

    + + public + + + + + T + + getItem + (int position) +

    +
    +
    + + + +
    +
    + +

    +

    +
    +
    Throws
    + + + + +
    CursorIndexOutOfBoundsException +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + long + + getItemId + (int position) +

    +
    +
    + + + +
    +
    + +

    +

    + +
    +
    + + + + +
    +

    + + public + + + + + View + + getView + (int position, View convertView, ViewGroup parent) +

    +
    +
    + + + +
    +
    + +

    +

    + +
    +
    + + + + +
    +

    + + public + + + + + void + + notifyDataSetChanged + () +

    +
    +
    + + + +
    +
    + +

    + + This will also re-enable automatic notifications. Pairing this with setNotifyOnChange(boolean) + gives the ability to make a series of changes to the adapter without triggering multiple + notifications at the same time. Use these two methods together to temporarily disable + notifications for the purpose of batching operations on the adapter. +

    + +
    +
    + + + + +
    +

    + + public + + + + + void + + setDropDownViewResource + (int resource) +

    +
    +
    + + + +
    +
    + +

    Sets the layout resource to create the drop down views. +

    + +
    +
    + + + + +
    +

    + + public + + + + + void + + setNotifyOnChange + (boolean notifyOnChange) +

    +
    +
    + + + +
    +
    + +

    Control whether methods that change the list (append(DataBuffer), clear()) + automatically call notifyDataSetChanged(). If set to false, caller must manually call + notifyDataSetChanged() to have the changes reflected in the attached view. + +

    The default is true, and calling notifyDataSetChanged() resets the flag to true. Use this + method if you want to make several changes to the adapter in a row, and don't need the view + to update in between changes. This reduces the processing load for each operation + significantly.

    +
    +
    Parameters
    + + + + +
    notifyOnChange + if true, modifications to the list will automatically call notifyDataSetChanged() +
    +
    + +
    +
    + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/drive/widget/package-summary.html b/docs/html/reference/com/google/android/gms/drive/widget/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..fb04eaf5259c7c0f22f642cb455bedfd0cfb81f7 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/drive/widget/package-summary.html @@ -0,0 +1,744 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +com.google.android.gms.drive.widget | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + +
    +
    + + + + +
    +
    + +
    + package +

    com.google.android.gms.drive.widget

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

    Classes

    +
    + + + + + + +
    DataBufferAdapter<T>

    A concrete BaseAdapter that is backed by concatenated DataBuffers. 

    +
    + + + + + + + + + + + + + +
    +
    + +
    + + + + + + + + diff --git a/docs/html/reference/com/google/android/gms/games/Game.html b/docs/html/reference/com/google/android/gms/games/Game.html index b2d32542f4904f2ba50597dcf5ce2228e2ec82b1..bb461092a05875c944f0c3c83d707e53314b47fe 100644 --- a/docs/html/reference/com/google/android/gms/games/Game.html +++ b/docs/html/reference/com/google/android/gms/games/Game.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    + + +
    +

    + + public + + + abstract + + boolean + + isRealTimeMultiplayerEnabled + () +

    +
    +
    + + + +
    +
    + +

    Indicates whether or not this game supports real-time multiplayer.

    +
    +
    Returns
    +
    • Whether or not this game supports real-time mulitplayer. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + abstract + + boolean + + isTurnBasedMultiplayerEnabled + () +

    +
    +
    + + + +
    +
    + +

    Indicates whether or not this game supports turn-based multiplayer.

    +
    +
    Returns
    +
    • Whether or not this game supports turn-based mulitplayer. +
    +
    + +
    +
    + + diff --git a/docs/html/reference/com/google/android/gms/games/GameBuffer.html b/docs/html/reference/com/google/android/gms/games/GameBuffer.html index 3b1582c972dc6cea5e8bf242cd637ef26f53ff95..850112694756fc97be9d849d01ca68c55d658944 100644 --- a/docs/html/reference/com/google/android/gms/games/GameBuffer.html +++ b/docs/html/reference/com/google/android/gms/games/GameBuffer.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +

    @@ -2836,6 +2910,74 @@ From interface
    + + +
    +

    + + public + + + + + boolean + + isRealTimeMultiplayerEnabled + () +

    +
    +
    + + + +
    +
    + +

    Indicates whether or not this game supports real-time multiplayer.

    +
    +
    Returns
    +
    • Whether or not this game supports real-time mulitplayer. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + boolean + + isTurnBasedMultiplayerEnabled + () +

    +
    +
    + + + +
    +
    + +

    Indicates whether or not this game supports turn-based multiplayer.

    +
    +
    Returns
    +
    • Whether or not this game supports turn-based mulitplayer. +
    +
    + +
    +
    + +
    diff --git a/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html b/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html index caec38e973ae71aef851a768d4c51d0e0b9b2690..2db368a54dee2f6013d7c71ffabe91252a042c01 100644 --- a/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html +++ b/docs/html/reference/com/google/android/gms/games/GamesActivityResultCodes.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    @@ -1223,6 +1233,46 @@ From class + + +
    +

    + + public + static + final + int + + RESULT_NETWORK_FAILURE +

    +
    + + + + +
    +
    + +

    Result code sent back to the calling Activity when the server request resulted in a network + error. +

    + + +
    + Constant Value: + + + 10006 + (0x00002716) + + +
    + +
    +
    + + +
    @@ -1245,7 +1295,7 @@ From class

    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 + The GoogleApiClient 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.

    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 index 28bd52c8b2b0a63ce8cfe8ea0b5e94e72eb6832f..c4f8a67c08083a65090e2d1fab87e4a5f3bb48f2 100644 --- a/docs/html/reference/com/google/android/gms/games/GamesClient.Builder.html +++ b/docs/html/reference/com/google/android/gms/games/GamesClient.Builder.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    + + +
    +

    + + public + + + + + GamesClient.Builder + + setShowConnectingPopup + (boolean showConnectingPopup) +

    +
    +
    + + + +
    +
    + +

    Sets whether a "connecting" popup should be displayed automatically at the start of the + sign-in flow. By default this is enabled. +

    + Note that this call will use the default gravity for the "connecting" popup, which will + display the popup at the center of the screen. If you prefer that the popup appear in a + different section of the screen, you can use + setShowConnectingPopup(boolean, int), and provide a Gravity value.

    +
    +
    Parameters
    + + + + +
    showConnectingPopup + Whether or not to show a "connecting" popup at the beginning + of the sign-in flow. Default behavior is for this to be true.
    +
    +
    +
    Returns
    +
    • This Builder. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + GamesClient.Builder + + setShowConnectingPopup + (boolean showConnectingPopup, int gravity) +

    +
    +
    + + + +
    +
    + +

    Sets whether a "connecting" popup should be displayed automatically at the start of the + sign-in flow. By default this is enabled.

    +
    +
    Parameters
    + + + + + + + +
    showConnectingPopup + Whether or not to show a "connecting" popup at the beginning + of the sign-in flow. Default behavior is for this to be true.
    gravity + The Gravity which controls where the "connecting" popup should be + displayed during sign-in.
    +
    +
    +
    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 index 20f3072801bfbf47898be2fe5296703abdd69642..0c93005709a453077143cea28d5ac28a6cc1ab0c 100644 --- a/docs/html/reference/com/google/android/gms/games/GamesClient.html +++ b/docs/html/reference/com/google/android/gms/games/GamesClient.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    - + + + + + + + + + + + +
    + [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_PLAYER_SEARCH_RESULTS +

    +
    + + + + +
    +
    + +

    Used by the Player Search UI to return a list of parceled Player objects. + Retrieve with getParcelableArrayListExtra(String).

    +
    +
    See Also
    + +
    + + +
    + Constant Value: + + + "player_search_results" + + +
    + +
    +
    + + + + + +
    +

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

    +
    + + + + +
    +
    + +

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

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

    + + public + static + final + String + + EXTRA_TURN_BASED_MATCH +

    +
    + + + + +
    +
    + +

    Used to return a TurnBasedMatch. Retrieve with + getParcelableExtra(String) or getParcelable(String). +

    + + +
    + Constant Value: + + + "turn_based_match" + + +
    + +
    +
    + + + + + +
    +

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

    +
    + + + + +
    +
    + +

    This gives the maximum message size supported via the sendReliableRealTimeMessage(RealTimeReliableMessageSentListener, byte[], String, String) + methods (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) methods (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: + + + 3 + (0x00000003) + + +
    + +
    +
    + + + + + +
    +

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

    +
    + + + + +
    +
    + +

    Notification type for invites to multiplayer games.

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

    + + public + static + final + int + + NOTIFICATION_TYPE_MATCH_UPDATE +

    +
    + + + + +
    +
    + +

    Notification type for updates to match information.

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

    + + 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_APP_MISCONFIGURED +

    +
    + + + + +
    +
    + +

    The developer has misconfigured their application in some way. The logs will contain more + data about the error and the appropriate resolution. +

    + + +
    + Constant Value: + + + 8 + (0x00000008) + + +
    + +
    +
    + + + + + +
    +

    + + 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_GAME_NOT_FOUND +

    +
    + + + + +
    +
    + +

    The specified game ID was not recognized by the server. +

    + + +
    + Constant Value: + + + 9 + (0x00000009) + + +
    + +
    +
    + + + + + +
    +

    + + 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 the real-time room ID provided to the operation was not valid, or + does not correspond to the 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 - String + public + static + final + int - EXTRA_MIN_AUTOMATCH_PLAYERS + STATUS_MATCH_ERROR_ALREADY_REMATCHED

    - - - + + +
    - -

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

    - + +

    The specified match has already had a rematch created. Only one rematch may be created for + any initial match. +

    + + +
    + Constant Value: + + + 6505 + (0x00001969) + + +
    + +
    +
    + + + + + +
    +

    + + public + static + final + int + + STATUS_MATCH_ERROR_INACTIVE_MATCH +

    +
    + + + + +
    +
    + +

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

    + + +
    + Constant Value: + + + 6501 + (0x00001965) + + +
    + +
    +
    + + + + + +
    +

    + + public + static + final + int + + STATUS_MATCH_ERROR_INVALID_MATCH_RESULTS +

    +
    + + + + +
    +
    + +

    The match results provided in this API call are invalid. This covers cases of duplicate + results, results for players who are not in the match, etc. +

    + + +
    + Constant Value: + + + 6504 + (0x00001968) + + +
    + +
    +
    + + + + + +
    +

    + + public + static + final + int + + STATUS_MATCH_ERROR_INVALID_MATCH_STATE +

    +
    + + + + +
    +
    + +

    The match is not in the correct state to perform the specified action. +

    + + +
    + Constant Value: + + + 6502 + (0x00001966) + + +
    + +
    +
    + + + + + +
    +

    + + public + static + final + int + + STATUS_MATCH_ERROR_INVALID_PARTICIPANT_STATE +

    +
    + + + + +
    +
    + +

    One or more participants in this match are not in valid states. This could occur if a + specified participant is not actually a participant of the match, or is invalid, or is in an + incorrect state to make the API call. Check the logs for more detailed information. +

    Constant Value: - "min_automatch_players" + 6500 + (0x00001964)
    @@ -2969,7 +4471,7 @@ From interface - +

    @@ -2977,9 +4479,9 @@ From interface public static final - String + int - EXTRA_PLAYERS + STATUS_MATCH_ERROR_LOCALLY_MODIFIED

    @@ -2989,20 +4491,17 @@ From interface
    -

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

    - +

    The specified match has already been modified locally. This operation cannot be performed + until the match has been sent to the server. +

    Constant Value: - "players" + 6507 + (0x0000196b)
    @@ -3012,7 +4511,7 @@ From interface - +

    @@ -3020,9 +4519,9 @@ From interface public static final - String + int - EXTRA_ROOM + STATUS_MATCH_ERROR_OUT_OF_DATE_VERSION

    @@ -3032,7 +4531,8 @@ From interface
    -

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

    The match data is out of date. Someone else has modified the data on the server, so the + request could not be completed safely.

    @@ -3040,7 +4540,8 @@ From interface Constant Value: - "room" + 6503 + (0x00001967)
    @@ -3050,7 +4551,7 @@ From interface - +

    @@ -3060,7 +4561,7 @@ From interface final int - MAX_RELIABLE_MESSAGE_LEN + STATUS_MATCH_NOT_FOUND

    @@ -3070,8 +4571,8 @@ From interface
    -

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

    The specified match cannot be found. The provided match ID does not correspond to any known + match.

    @@ -3079,8 +4580,8 @@ From interface Constant Value: - 1400 - (0x00000578) + 6506 + (0x0000196a)
    @@ -3090,7 +4591,7 @@ From interface - +

    @@ -3100,7 +4601,7 @@ From interface final int - MAX_UNRELIABLE_MESSAGE_LEN + STATUS_MULTIPLAYER_DISABLED

    @@ -3110,8 +4611,8 @@ From interface
    -

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

    This game does not support multiplayer. This could occur if the linked app is not configured + appropriately in the developer console.

    @@ -3119,8 +4620,8 @@ From interface Constant Value: - 1168 - (0x00000490) + 6003 + (0x00001773)
    @@ -3130,7 +4631,7 @@ From interface - +

    @@ -3140,7 +4641,7 @@ From interface final int - NOTIFICATION_TYPES_ALL + STATUS_MULTIPLAYER_ERROR_CREATION_NOT_ALLOWED

    @@ -3150,15 +4651,17 @@ From interface
    -

    Notification types for any notification.

    +

    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: - -1 - (0xffffffff) + 6000 + (0x00001770)
    @@ -3168,7 +4671,7 @@ From interface - +

    @@ -3178,7 +4681,7 @@ From interface final int - NOTIFICATION_TYPES_MULTIPLAYER + STATUS_MULTIPLAYER_ERROR_INVALID_MULTIPLAYER_TYPE

    @@ -3188,15 +4691,17 @@ From interface
    -

    Notification types for multiplayer notifications.

    +

    The match is not the right type to perform this action on. For example, this error will be + returned when trying to take a turn in a real-time match. +

    Constant Value: - 1 - (0x00000001) + 6002 + (0x00001772)
    @@ -3206,7 +4711,7 @@ From interface - +

    @@ -3216,7 +4721,7 @@ From interface final int - NOTIFICATION_TYPE_INVITATION + STATUS_MULTIPLAYER_ERROR_INVALID_OPERATION

    @@ -3226,15 +4731,17 @@ From interface
    -

    Notification type for invites to multiplayer games.

    +

    This multiplayer operation is not valid, and the server rejected it. Check the logs for more + information. +

    Constant Value: - 1 - (0x00000001) + 6004 + (0x00001774)
    @@ -3244,7 +4751,7 @@ From interface - +

    @@ -3254,7 +4761,7 @@ From interface final int - STATUS_ACHIEVEMENT_NOT_INCREMENTAL + STATUS_MULTIPLAYER_ERROR_NOT_TRUSTED_TESTER

    @@ -3264,8 +4771,9 @@ From interface
    -

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

    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.

    @@ -3273,8 +4781,8 @@ From interface Constant Value: - 3002 - (0x00000bba) + 6001 + (0x00001771)
    @@ -3284,7 +4792,7 @@ From interface - +

    @@ -3294,7 +4802,7 @@ From interface final int - STATUS_ACHIEVEMENT_UNKNOWN + STATUS_NETWORK_ERROR_NO_DATA

    @@ -3304,7 +4812,8 @@ From interface
    -

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

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

    @@ -3312,8 +4821,8 @@ From interface Constant Value: - 3001 - (0x00000bb9) + 4 + (0x00000004)
    @@ -3323,7 +4832,7 @@ From interface - +

    @@ -3333,7 +4842,7 @@ From interface final int - STATUS_ACHIEVEMENT_UNLOCKED + STATUS_NETWORK_ERROR_OPERATION_DEFERRED

    @@ -3343,8 +4852,9 @@ From interface
    -

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

    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.

    @@ -3352,8 +4862,8 @@ From interface Constant Value: - 3003 - (0x00000bbb) + 5 + (0x00000005)
    @@ -3363,7 +4873,7 @@ From interface - +

    @@ -3373,7 +4883,7 @@ From interface final int - STATUS_ACHIEVEMENT_UNLOCK_FAILURE + STATUS_NETWORK_ERROR_OPERATION_FAILED

    @@ -3383,8 +4893,8 @@ From interface
    -

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

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

    @@ -3392,8 +4902,8 @@ From interface Constant Value: - 3000 - (0x00000bb8) + 6 + (0x00000006)
    @@ -3403,7 +4913,7 @@ From interface - +

    @@ -3413,7 +4923,7 @@ From interface final int - STATUS_APP_MISCONFIGURED + STATUS_NETWORK_ERROR_STALE_DATA

    @@ -3423,8 +4933,8 @@ From interface
    -

    The developer has misconfigured their application in some way. The logs will contain more - data about the error and the appropriate resolution. +

    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.

    @@ -3432,8 +4942,8 @@ From interface Constant Value: - 8 - (0x00000008) + 3 + (0x00000003)
    @@ -3443,7 +4953,7 @@ From interface - +

    @@ -3453,7 +4963,7 @@ From interface final int - STATUS_CLIENT_RECONNECT_REQUIRED + STATUS_OK

    @@ -3463,8 +4973,7 @@ From interface
    -

    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. +

    The operation was successful.

    @@ -3472,8 +4981,8 @@ From interface Constant Value: - 2 - (0x00000002) + 0 + (0x00000000)
    @@ -3483,7 +4992,7 @@ From interface - +

    @@ -3493,7 +5002,7 @@ From interface final int - STATUS_INTERNAL_ERROR + STATUS_OPERATION_IN_FLIGHT

    @@ -3503,8 +5012,7 @@ From interface
    -

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

    Trying to start a join/create operation while another is already in flight.

    @@ -3512,8 +5020,8 @@ From interface Constant Value: - 1 - (0x00000001) + 7007 + (0x00001b5f)
    @@ -3523,7 +5031,7 @@ From interface - +

    @@ -3533,7 +5041,7 @@ From interface final int - STATUS_INVALID_REAL_TIME_ROOM_ID + STATUS_PARTICIPANT_NOT_CONNECTED

    @@ -3543,8 +5051,8 @@ From interface
    -

    Constant indicating that the real-time room ID provided to the operation was not valid, or - does not correspond to the currently active real-time room. +

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

    @@ -3552,8 +5060,8 @@ From interface Constant Value: - 7002 - (0x00001b5a) + 7003 + (0x00001b5b)
    @@ -3563,7 +5071,7 @@ From interface - +

    @@ -3573,7 +5081,7 @@ From interface final int - STATUS_LICENSE_CHECK_FAILED + STATUS_REAL_TIME_CONNECTION_FAILED

    @@ -3583,7 +5091,7 @@ From interface
    -

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

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

    @@ -3591,8 +5099,8 @@ From interface Constant Value: - 7 - (0x00000007) + 7000 + (0x00001b58)
    @@ -3602,7 +5110,7 @@ From interface - +

    @@ -3612,7 +5120,7 @@ From interface final int - STATUS_MULTIPLAYER_ERROR_CREATION_NOT_ALLOWED + STATUS_REAL_TIME_INACTIVE_ROOM

    @@ -3622,8 +5130,7 @@ From interface
    -

    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. +

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

    @@ -3631,8 +5138,8 @@ From interface Constant Value: - 6000 - (0x00001770) + 7005 + (0x00001b5d)
    @@ -3642,7 +5149,7 @@ From interface - +

    @@ -3652,7 +5159,7 @@ From interface final int - STATUS_MULTIPLAYER_ERROR_NOT_TRUSTED_TESTER + STATUS_REAL_TIME_MESSAGE_FAILED

    @@ -3662,9 +5169,9 @@ From interface
    -

    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. +

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

    @@ -3672,8 +5179,8 @@ From interface Constant Value: - 6001 - (0x00001771) + -1 + (0xffffffff)
    @@ -3683,7 +5190,7 @@ From interface - +

    @@ -3693,7 +5200,7 @@ From interface final int - STATUS_NETWORK_ERROR_NO_DATA + STATUS_REAL_TIME_MESSAGE_SEND_FAILED

    @@ -3703,8 +5210,7 @@ From interface
    -

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

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

    @@ -3712,8 +5218,8 @@ From interface Constant Value: - 4 - (0x00000004) + 7001 + (0x00001b59)
    @@ -3723,7 +5229,7 @@ From interface - +

    @@ -3733,7 +5239,7 @@ From interface final int - STATUS_NETWORK_ERROR_OPERATION_DEFERRED + STATUS_REAL_TIME_ROOM_NOT_JOINED

    @@ -3743,9 +5249,8 @@ From interface
    -

    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. +

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

    @@ -3753,8 +5258,8 @@ From interface Constant Value: - 5 - (0x00000005) + 7004 + (0x00001b5c)
    @@ -3764,384 +5269,454 @@ From interface - + + + + + + + + + + + + + + + + +

    Public Methods

    + + + +

    public - static - final - int + + + + + void - STATUS_NETWORK_ERROR_OPERATION_FAILED + acceptTurnBasedInvitation + (OnTurnBasedMatchInitiatedListener listener, String invitationId)

    - +
    -

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

    +

    Accept an invitation for a turn-based match.

    +
    +
    Parameters
    + + + + + + + +
    listener + The listener that is called when the match has been accepted. The listener is + called on the main thread.
    invitationId + The ID of the invitation to be accepted. +
    +
    - -
    - Constant Value: - - - 6 - (0x00000006) - - -
    -
    - - +

    public - static - final - int + + + + + void - STATUS_NETWORK_ERROR_STALE_DATA + cancelTurnBasedMatch + (String matchId)

    - +
    -

    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. -

    +

    Cancels a turn-based match. Once this call succeeds, the match will be removed from local + storage. Note that this will cancel the match completely, forcing it to end for all players + involved. See leaveTurnBasedMatch(OnTurnBasedMatchLeftListener, String) for a + different alternative.

    +
    +
    Parameters
    + + + + +
    matchId + The ID of the match to cancel. +
    +
    - -
    - Constant Value: - - - 3 - (0x00000003) - - -
    -
    - - +

    public - static - final - int + + + + + void - STATUS_OK + cancelTurnBasedMatch + (OnTurnBasedMatchCanceledListener listener, String matchId)

    - +
    -

    The operation was successful. -

    +

    Cancels a turn-based match. Once this call succeeds, the match will be removed from local + storage. Note that this will cancel the match completely, forcing it to end for all players + involved. See leaveTurnBasedMatch(OnTurnBasedMatchLeftListener, String) for a + different alternative.

    +
    +
    Parameters
    + + + + + + + +
    listener + The listener that is called after the match has been canceled. The listener + is called on the main thread.
    matchId + The ID of the match to cancel. +
    +
    - -
    - Constant Value: - - - 0 - (0x00000000) - - -
    -
    - - +

    - - public - static - final - int + + public + + + + + void - STATUS_PARTICIPANT_NOT_CONNECTED + clearAllNotifications + ()

    - +
    - -

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

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

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

    public - static - final - int + + + + + void - STATUS_REAL_TIME_CONNECTION_FAILED + clearNotifications + (int notificationTypes)

    - +
    -

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

    +

    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. +
    +
    - -
    - Constant Value: - - - 7000 - (0x00001b58) - - -
    -
    - - +

    public - static - final - int + + + + + void - STATUS_REAL_TIME_INACTIVE_ROOM + connect + ()

    - +
    -

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

    +

    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
    + +
    - -
    - Constant Value: - - - 7005 - (0x00001b5d) - - -
    -
    - - +

    public - static - final - int + + + + + void - STATUS_REAL_TIME_MESSAGE_FAILED + createRoom + (RoomConfig config)

    - +
    -

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

    +

    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. +
    +
    - -
    - Constant Value: - - - -1 - (0xffffffff) - - -
    -
    - - +

    public - static - final - int + + + + + void - STATUS_REAL_TIME_MESSAGE_SEND_FAILED + createTurnBasedMatch + (OnTurnBasedMatchInitiatedListener listener, TurnBasedMatchConfig config)

    - +
    -

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

    +

    Create a turn-based match for the current game.

    +
    +
    Parameters
    + + + + + + + +
    listener + The listener that is called when the match has been created. The listener is + called on the main thread.
    config + The configuration parameters for the match to create.
    +
    +
    +
    See Also
    + +
    - -
    - Constant Value: - - - 7001 - (0x00001b59) - - -
    -
    - - +

    public - static - final - int + + + + + void - STATUS_REAL_TIME_ROOM_NOT_JOINED + declineRoomInvitation + (String invitationId)

    - +
    -

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

    +

    Decline an invitation for a real-time room.

    +
    +
    Parameters
    + + + + +
    invitationId + The ID of the invitation to decline. +
    +
    - -
    - Constant Value: - - - 7004 - (0x00001b5c) - - -
    -
    + +
    +

    + + public - - - - - - + void + + declineTurnBasedInvitation + (String invitationId) +

    +
    +
    - - +
    +
    -

    Public Methods

    +

    Decline an invitation for a turn-based match.

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

    @@ -4153,7 +5728,7 @@ From interface void - clearAllNotifications + disconnect ()

    @@ -4164,14 +5739,14 @@ From interface
    -

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

    +

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

    - +

    @@ -4183,8 +5758,8 @@ From interface void - clearNotifications - (int notificationTypes) + dismissRoomInvitation + (String invitationId)

    @@ -4194,16 +5769,14 @@ From interface
    -

    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.

    +

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

    Parameters
    -
    notificationTypes - Mask of notification types to clear. + invitationId + The ID of the invitation to dismiss.
    @@ -4213,7 +5786,7 @@ From interface
    - +

    @@ -4225,8 +5798,8 @@ From interface void - connect - () + dismissTurnBasedInvitation + (String invitationId)

    @@ -4236,33 +5809,24 @@ From interface
    -

    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: -

    +

    Dismiss an invitation to a turn-based match. Dismissing an invitation will not change the + state of the match for the other participants.

    -
    See Also
    - +
    Parameters
    + + + + +
    invitationId + The ID of the invitation to dismiss. +
    - +

    @@ -4274,8 +5838,8 @@ From interface void - createRoom - (RoomConfig config) + dismissTurnBasedMatch + (String matchId)

    @@ -4285,18 +5849,15 @@ From interface
    -

    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.

    +

    Delete a match from the server and local storage. Dismissing a match will not change the + state of the match for the other participants, but dismissed matches will never be shown to + the dismissing player again.

    Parameters
    -
    config - The real-time room configuration. + matchId + The ID of the match to dismiss.
    @@ -4306,7 +5867,7 @@ From interface
    - +

    @@ -4318,8 +5879,8 @@ From interface void - declineRoomInvitation - (String invitationId) + finishTurnBasedMatch + (OnTurnBasedMatchUpdatedListener listener, String matchId, byte[] matchData, List<ParticipantResult> results)

    @@ -4329,13 +5890,33 @@ From interface
    -

    Decline an invitation for a real-time room.

    +

    Mark a match as finished. This should be called when the match is over and all participants + have results to be reported (if appropriate). Note that the last client to update a match is + responsible for calling finish on that match.

    Parameters
    - + + + + + + + + +
    invitationId - The ID of the invitation to decline. + listener + The listener that is called when the match has been updated. The listener is + called on the main thread.
    matchId + ID of the match to finish.
    matchData + Data representing the new state of the match after this update. Limited to a + maximum of getMaxTurnBasedMatchDataSize() bytes.
    results + List of ParticipantResult objects for this match. The client which + calls finishMatch is responsible for reporting the results for all + appropriate participants in the match. Not every participant is required to have a + result, but providing results for participants who are not in the match is an + error.
    @@ -4345,7 +5926,7 @@ From interface
    - +

    @@ -4357,8 +5938,8 @@ From interface void - disconnect - () + finishTurnBasedMatch + (OnTurnBasedMatchUpdatedListener listener, String matchId)

    @@ -4368,14 +5949,32 @@ From interface
    -

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

    +

    Indicate that a participant is finished with a match. This will not change the data of the + match, but it will transition the match into state + MATCH_STATUS_COMPLETE if the match is not already in that state. This + method is most commonly used to report that a participant has finished any post-processing + steps the game might have and has seen their results in the match.

    +
    +
    Parameters
    + + + + + + + +
    listener + The listener that is called when the match has been updated. The listener is + called on the main thread.
    matchId + ID of the match to finish. +
    +
    - +

    @@ -4387,8 +5986,8 @@ From interface void - dismissRoomInvitation - (String invitationId) + finishTurnBasedMatch + (OnTurnBasedMatchUpdatedListener listener, String matchId, byte[] matchData, ParticipantResult... results)

    @@ -4398,18 +5997,44 @@ From interface
    -

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

    +

    Mark a match as finished. This should be called when the match is over and all participants + have results to be reported (if appropriate). Note that the last client to update a match is + responsible for calling finish on that match. +

    + On the last turn of the match, the client should call this method instead of + takeTurn(OnTurnBasedMatchUpdatedListener, String, byte[], String).

    Parameters
    - + + + + + + + + + +
    invitationId - The ID of the invitation to dismiss. -listener + The listener that is called when the match has been updated. The listener is + called on the main thread.
    matchId + ID of the match to finish.
    matchData + Data representing the new state of the match after this update. Limited to a + maximum of getMaxTurnBasedMatchDataSize() bytes.
    results + List of ParticipantResult objects for this match. The client which + calls finishMatch is responsible for reporting the results for all + appropriate participants in the match. Not every participant is required to have a + result, but providing results for participants who are not in the match is an + error.
    +
    @@ -4662,22 +6287,155 @@ From interface String - getCurrentPlayerId + getCurrentPlayerId + () + +
    +
    + + + +
    +
    + +

    +
    +
    Returns
    +
    • The player ID for the currently signed in player. May be null if an error occurred + while communicating with the games service. +
    +
    + +
    +
    + + + + +
    +

    + + 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 + + + + + Intent + + getMatchInboxIntent ()

    - - + +
    - -

    + +

    Returns an intent that will let the user see and manage any outstanding invitations and + matches. 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 or a match to accept, the result will be RESULT_OK + and the data intent will contain the selected invitation/match as a parcelable extra in the + extras. Based on the type of the match, the result will include either + EXTRA_TURN_BASED_MATCH or EXTRA_INVITATION.

    Returns
    -
    • The player ID for the currently signed in player. May be null if an error occurred - while communicating with the games service. +
      • An Intent that can be started to view the match inbox.
    @@ -4685,40 +6443,38 @@ From interface
    - + -
    +

    - public - - - - - Intent + public + + + + + int - getInvitationInboxIntent + getMaxTurnBasedMatchDataSize ()

    - - + +
    - -

    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. + +

    Gets the maximum data size per match in bytes. Guaranteed to be at least 128 KB. May increase + in the future.

    - 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.

    + 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
    -
    • An Intent that can be started to view the invitation inbox UI. +
      • The maximum data size per match in bytes.
    @@ -4726,48 +6482,46 @@ From interface
    - + -
    +

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

    - - + +
    - -

    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. + +

    Returns an intent that will display a screen where the user can search for people + on Google+. 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.
    -
    + If the user canceled, the result will be RESULT_CANCELED. If the + user selected any players from the search results list, the result will be + RESULT_OK, and the data intent will contain a list of parceled + Player objects in EXTRA_PLAYER_SEARCH_RESULTS. +

    + Note that the current Player Search UI only allows a single selection, so the + returned list of parceled Player objects will currently contain at most one + Player. The Player Search UI may allow multiple selections in a future release, + though.

    Returns
    -
    • An Intent that can be started to view the specified leaderboard. +
      • An Intent that can be started to display the player selector.
    @@ -4949,7 +6703,78 @@ From interface 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.

    + will include only the other players selected, not the current player. +

    + This method is the equivalent of calling getSelectPlayersIntent(int, int, boolean) + with the allowAutomatch parameter set to true.

    +
    +
    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.
    +
    + + +
    +
    + + + + +
    +

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

    +
    +
    + + + +
    +
    + +

    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. +

    + If the allowAutomatch parameter is set to false, the UI will not display an option + for selecting automatch players. Set this to false if your game does not support + automatching.

    Parameters
    @@ -4961,6 +6786,10 @@ From interface + + +
    maxPlayers The maximum number of players to select (not including the current player).
    allowAutomatch + Whether or not to display an option for selecting automatch players.
    @@ -4969,7 +6798,7 @@ From interface
    @@ -5022,6 +6851,50 @@ From interface
    + + +
    +

    + + public + + + + + void + + getTurnBasedMatch + (OnTurnBasedMatchLoadedListener listener, String matchId) +

    +
    +
    + + + +
    +
    + +

    Load a specified turn-based match.

    +
    +
    Parameters
    + + + + + + + +
    listener + The listener that is called when the load is complete. The listener is called + on the main thread.
    matchId + The ID of the match to retreive. +
    +
    + +
    +
    + +
    @@ -5367,12 +7240,118 @@ From interface + + + + +
    listener - The listener that is notified after the room has been left. The listener is + 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 + + leaveTurnBasedMatch + (OnTurnBasedMatchLeftListener listener, String matchId) +

    +
    +
    + + + +
    +
    + +

    Leave the specified match when it is not the current player's turn. If this takes the match + to fewer than two participants, the match will be canceled. +

    + See leaveTurnBasedMatchDuringTurn(OnTurnBasedMatchLeftListener, String, String) for + the form of the API to call during the current player's turn.

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

    + + public + + + + + void + + leaveTurnBasedMatchDuringTurn + (OnTurnBasedMatchLeftListener listener, String matchId, String pendingParticipantId) +

    +
    +
    + + + +
    +
    + +

    Leave the specified match during the current player's turn. If this takes the match to fewer + than two participants, the match will be canceled. The provided pendingParticipantId + will be used to determine which participant should act next. If no pending participant is + provided and the match has available auto-match slots, the match will wait for additional + players to be found. If there are no auto-match slots available for this match, a pending + participant ID is required. +

    + See leaveTurnBasedMatch(OnTurnBasedMatchLeftListener, String) for the form of the + API to call when it is not the current player's turn.

    +
    +
    Parameters
    + + + - + + +
    listener + The listener that is called after the match has been left. The listener is called on the main thread.
    roomId - ID of the room to leave. + matchId + ID of the match to leave.
    pendingParticipantId + ID of the participant who will be set to pending after this + update succeeds, or null to wait for additional automatched players (if + possible).
    @@ -5432,7 +7411,7 @@ From interface
    - +

    @@ -5444,8 +7423,8 @@ From interface void - loadGame - (OnGamesLoadedListener listener) + loadCurrentPlayerLeaderboardScore + (OnPlayerLeaderboardScoreLoadedListener listener, String leaderboardId, int span, int leaderboardCollection)

    @@ -5455,72 +7434,31 @@ From interface
    -

    Load the details for the current game.

    +

    Asynchronously load the currently signed in player's score for a given leaderboard.

    Parameters
    + on the main thread. -
    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.leaderboardId + ID of the leaderboard to load the score from.
    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.span + Time span to retrieve data for. Valid values are + TIME_SPAN_DAILY, + TIME_SPAN_WEEKLY, or + TIME_SPAN_ALL_TIME.
    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. + leaderboardCollection + The leaderboard collection to retrieve scores for. Valid values + are either COLLECTION_PUBLIC or + COLLECTION_SOCIAL.
    @@ -5530,7 +7468,7 @@ From interface
    - +

    @@ -5542,8 +7480,8 @@ From interface void - loadInvitations - (OnInvitationsLoadedListener listener) + loadGame + (OnGamesLoadedListener listener)

    @@ -5553,10 +7491,7 @@ From interface
    -

    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.

    +

    Load the details for the current game.

    Parameters
    @@ -5573,7 +7508,7 @@ From interface - +

    @@ -5585,8 +7520,8 @@ From interface void - loadLeaderboardMetadata - (OnLeaderboardMetadataLoadedListener listener, boolean forceReload) + loadInvitablePlayers + (OnPlayersLoadedListener listener, int pageSize, boolean forceReload)

    @@ -5596,7 +7531,8 @@ From interface
    -

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

    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.

    @@ -5608,6 +7544,13 @@ From interface
    + + + - +
    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 @@ -5623,7 +7566,7 @@ From interface - +

    @@ -5635,8 +7578,8 @@ From interface void - loadLeaderboardMetadata - (OnLeaderboardMetadataLoadedListener listener, String leaderboardId) + loadInvitations + (OnInvitationsLoadedListener listener)

    @@ -5646,25 +7589,17 @@ From interface
    -

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

    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. -

    - This form of the API is deprecated and will be removed in a future release. Please use - loadLeaderboardMetadata(OnLeaderboardMetadataLoadedListener, String, boolean) - instead.

    + 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. + on the main thread.
    @@ -5674,7 +7609,7 @@ From interface
    - +

    @@ -5687,7 +7622,7 @@ From interface void loadLeaderboardMetadata - (OnLeaderboardMetadataLoadedListener listener) + (OnLeaderboardMetadataLoadedListener listener, boolean forceReload)

    @@ -5700,17 +7635,21 @@ From interface

    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. -

    - This form of the API is deprecated and will be removed in a future release. Please use - loadLeaderboardMetadata(OnLeaderboardMetadataLoadedListener, boolean) instead.

    + 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. + on the main thread.
    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.
    @@ -6200,6 +8139,62 @@ From interface
    + + +
    +

    + + public + + + + + void + + loadTurnBasedMatches + (OnTurnBasedMatchesLoadedListener listener, int... matchTurnStatuses) +

    +
    +
    + + + +
    +
    + +

    Asynchronously load turn-based matches for the current game. Matches with any specified turn + status codes will be returned to the provided listener. +

    + Valid turn status values are MATCH_TURN_STATUS_INVITED, + MATCH_TURN_STATUS_MY_TURN, + MATCH_TURN_STATUS_THEIR_TURN, or + MATCH_TURN_STATUS_COMPLETE. Note that if your game implements both + turn-based and real-time multiplayer, requesting + MATCH_TURN_STATUS_INVITED will return invitations for both turn-based + matches and real-time matches. +

    + 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.
    matchTurnStatuses + List of turn statuses to request. +
    +
    + +
    +
    + +
    @@ -6228,10 +8223,10 @@ From interface 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.

    + As with a regular connect() call, a call to this method will be followed by either + onConnected(Bundle) if the connection is + successful or onConnectionFailed(ConnectionResult) + on a failure.

    See Also
    - + + +
    +

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

    +
    +
    + + + +
    +
    + +

    Registers a listener to receive connection events from this GooglePlayServicesClient. + If the service is 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 the service + is 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. +
    +
    + +
    +
    + + +

    @@ -6254,8 +8353,8 @@ From interface void - registerConnectionCallbacks - (GooglePlayServicesClient.ConnectionCallbacks listener) + registerInvitationListener + (OnInvitationReceivedListener listener)

    @@ -6265,26 +8364,20 @@ From interface
    -

    Registers a listener to receive connection events from this GooglePlayServicesClient. - If the service is 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. +

    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 the order of messages received here may not be stable, so clients should not rely - on the order that multiple listeners receive events in.

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

    Parameters
    listener - the listener where the results of the asynchronous connect() call are - delivered. + The listener that is called when a new invitation is received. The listener + is called on the main thread.
    @@ -6294,7 +8387,7 @@ From interface
    - +

    @@ -6306,8 +8399,8 @@ From interface void - registerConnectionFailedListener - (GooglePlayServicesClient.OnConnectionFailedListener listener) + registerMatchUpdateListener + (OnTurnBasedMatchUpdateReceivedListener listener)

    @@ -6317,26 +8410,20 @@ From interface
    -

    Registers a listener to receive connection failed events from this - GooglePlayServicesClient. Unlike registerConnectionCallbacks(GooglePlayServicesClient.ConnectionCallbacks), if the service - is 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. +

    Register a listener to intercept incoming match updates for the currently signed-in user. If + a listener is registered by this method, the incoming match update will not generate a status + bar notification as long as this client remains 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.

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

    Parameters
    listener - the listener where the results of the asynchronous connect() call are - delivered. + The listener that is called when a match update is received. The listener is + called on the main thread.
    @@ -6346,7 +8433,7 @@ From interface
    - +

    @@ -6358,8 +8445,8 @@ From interface void - registerInvitationListener - (OnInvitationReceivedListener listener) + rematchTurnBasedMatch + (OnTurnBasedMatchInitiatedListener listener, String matchId)

    @@ -6369,19 +8456,20 @@ From interface
    -

    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.

    +

    Create a rematch of a previously completed turn-based match. The new match will have the same + participants as the previous match. Note that only one rematch may be created from any single + completed match.

    Parameters
    + + +
    listener - The listener that is called when a new invitation is received. The listener - is called on the main thread. + The listener that is called when the match has been created. The listener is + called on the main thread.
    matchId + The ID of the previous match to re-create.
    @@ -6878,46 +8966,6 @@ From interface
    - - -
    -

    - - 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. -
    -
    - -
    -
    - -
    @@ -7330,6 +9378,224 @@ From interface
    + + +
    +

    + + public + + + + + void + + takeTurn + (OnTurnBasedMatchUpdatedListener listener, String matchId, byte[] matchData, String pendingParticipantId) +

    +
    +
    + + + +
    +
    + +

    Update a match with new turn data. The participant that is passed in as the pending + participant will be notified that it is their turn to take action. If no pending participant + is provided and the match has available auto-match slots, the match will wait for additional + players to be found. If there are no auto-match slots available for this match, a pending + participant ID is required. +

    + For the final turn of the match, there is no need to call this method. Instead, call + finishTurnBasedMatch(OnTurnBasedMatchUpdatedListener, String) directly.

    +
    +
    Parameters
    + + + + + + + + + + + + + +
    listener + The listener that is called when the match has been updated. The listener is + called on the main thread.
    matchId + ID of the match to update.
    matchData + Data representing the new state of the match after this update. Limited to a + maximum of getMaxTurnBasedMatchDataSize() bytes.
    pendingParticipantId + ID of the participant who will be set to pending after this + update succeeds, or null to wait for additional automatched players (if + possible).
    +
    + + +
    +
    + + + + +
    +

    + + public + + + + + void + + takeTurn + (OnTurnBasedMatchUpdatedListener listener, String matchId, byte[] matchData, String pendingParticipantId, ParticipantResult... results) +

    +
    +
    + + + +
    +
    + +

    Update a match with new turn data. The participant that is passed in as the pending + participant will be notified that it is their turn to take action. If no pending participant + is provided and the match has available auto-match slots, the match will wait for additional + players to be found. If there are no auto-match slots available for this match, a pending + participant ID is required. +

    + For the final turn of the match, there is no need to call this method. Instead, call + finishTurnBasedMatch(OnTurnBasedMatchUpdatedListener, String) directly.

    +
    +
    Parameters
    + + + + + + + + + + + + + + + + +
    listener + The listener that is called when the match has been updated. The listener is + called on the main thread.
    matchId + ID of the match to update.
    matchData + Data representing the new state of the match after this update. Limited to a + maximum of getMaxTurnBasedMatchDataSize() bytes.
    pendingParticipantId + ID of the participant who will be set to pending after this + update succeeds, or null to wait for additional automatched players (if + possible).
    results + Optional list of ParticipantResult objects for this match. Note that + the results reported here should be final - if results reported later conflict + with these values, the returned value will indicate a conflicted result by + returning MATCH_RESULT_DISAGREED. This is most useful + for cases where a participant knows their results early. For example, a single + elimination game where participants are eliminated as the game continues might + wish to specify results for the eliminated participants here.
    +
    + + +
    +
    + + + + +
    +

    + + public + + + + + void + + takeTurn + (OnTurnBasedMatchUpdatedListener listener, String matchId, byte[] matchData, String pendingParticipantId, List<ParticipantResult> results) +

    +
    +
    + + + +
    +
    + +

    Update a match with new turn data. The participant that is passed in as the pending + participant will be notified that it is their turn to take action. If no pending participant + is provided and the match has available auto-match slots, the match will wait for additional + players to be found. If there are no auto-match slots available for this match, a pending + participant ID is required. +

    + For the final turn of the match, there is no need to call this method. Instead, call + finishTurnBasedMatch(OnTurnBasedMatchUpdatedListener, String) directly.

    +
    +
    Parameters
    + + + + + + + + + + + + + + + + +
    listener + The listener that is called when the match has been updated. The listener is + called on the main thread.
    matchId + ID of the match to update.
    matchData + Data representing the new state of the match after this update. Limited to a + maximum of getMaxTurnBasedMatchDataSize() bytes.
    pendingParticipantId + ID of the participant who will be set to pending after this + update succeeds, or null to wait for additional automatched players (if + possible).
    results + Optional list of ParticipantResult objects for this match. Note that + the results reported here should be final - if results reported later conflict + with these values, the returned value will indicate a conflicted result by + returning MATCH_RESULT_DISAGREED. This is most useful + for cases where a participant knows their results early. For example, a single + elimination game where participants are eliminated as the game continues might + wish to specify results for the eliminated participants here.
    +
    + + +
    +
    + +
    @@ -7554,6 +9820,37 @@ From interface
    + + +
    +

    + + public + + + + + void + + unregisterMatchUpdateListener + () +

    +
    +
    + + + +
    +
    + +

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

    + +
    +
    + + diff --git a/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html b/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html index 5152163816b170c74dfd40817bf0155d7e5f8e8f..971af409c5a658c69e852642c9abe5437e52d0c7 100644 --- a/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/games/OnGamesLoadedListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Possible status codes include:
      • STATUS_OK if data was successfully loaded and is up-to-date.
      • +
      • STATUS_NETWORK_ERROR_NO_DATA if the device was unable to retrieve any + data from the network and has no data cached locally.
      • STATUS_NETWORK_ERROR_STALE_DATA if the device was unable to retrieve - the latest data from the network.
      • + the latest data from the network, but has some data cached locally.
      • STATUS_CLIENT_RECONNECT_REQUIRED if the GamesClient needs to reconnect to the service to access this data.
      • STATUS_LICENSE_CHECK_FAILED if the game is not licensed to the user. diff --git a/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html b/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html index a29897669ac989fd3a0f65f19501fc50ff4c6da7..730358b23bd44d716228694b690ef74259b93c3c 100644 --- a/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html +++ b/docs/html/reference/com/google/android/gms/games/OnSignOutCompleteListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    OnAchievementUpdatedListenerListener for receiving callbacks when achievement data has been updated - (revealed, unlocked or incremented). Listener for receiving callbacks when achievement data has been updated (revealed, unlocked or + incremented). 
    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 index f4c8074da75c8e753297c2008c1a1a2ba4964ea2..4e9dece2895f1cfa2dd3be45da70dfcc3741e5c4 100644 --- a/docs/html/reference/com/google/android/gms/games/leaderboard/Leaderboard.html +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/Leaderboard.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • + + + + + + +
      @@ -681,6 +714,11 @@ onkeyup="return search_changed(event, false, '/')" /> + implements + + Freezable<T> + + @@ -911,6 +949,76 @@ onkeyup="return search_changed(event, false, '/')" /> + + + + + + + + +
      + [Expand] +
      Inherited Methods
      + +From interface + + com.google.android.gms.common.data.Freezable + +
      + + +
      +
      + +
      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 index 8316c89b7c372e5c4ea59b5c1f607936baf217d4..cc90375f6bb41e0150134e6b52dfff7e7f8b3621 100644 --- a/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    Returns
    • Rank of score. 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 index 62b58d88e59c5b5d7215edc78118f933dcab8467..c4fad6ce49f6308a9d2bed5569fa598698cc4c5c 100644 --- a/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Possible status codes include:
      • STATUS_OK if data was successfully loaded and is up-to-date.
      • +
      • STATUS_NETWORK_ERROR_NO_DATA if the device was unable to retrieve any + data from the network and has no data cached locally.
      • STATUS_NETWORK_ERROR_STALE_DATA if the device was unable to retrieve - the latest data from the network.
      • -
      • STATUS_CLIENT_RECONNECT_REQUIRED if the GamesClient needs to + the latest data from the network, but has some data cached locally.
      • +
      • STATUS_CLIENT_RECONNECT_REQUIRED if the client needs to reconnect to the service to access this data.
      • STATUS_LICENSE_CHECK_FAILED if the game is not licensed to the user.
      • 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 index b78d48843fa8279efbe9a079a7476df00a96aafa..23dc04c2f29e92f418272827341f0f1ca6da275d 100644 --- a/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Constants + - Inherited Constants + + | Inherited Constants @@ -838,6 +843,29 @@ Summary: + + + + + + + + + + + + + + + + + + + + +
      Constants
      intINVITATION_TYPE_REAL_TIMEConstant indicating that this invitation is for a real-time room.
      intINVITATION_TYPE_TURN_BASEDConstant indicating that this invitation is for a turn-based match.
      + + @@ -969,6 +997,24 @@ android.os.Parcelable + int + + + getInvitationType() + +
      Retrieve the type of this Invitation.
      + + + + + + + + abstract + + + + Participant
      @@ -980,7 +1026,7 @@ android.os.Parcelable - + abstract @@ -1198,6 +1244,91 @@ From interface + +

      Constants

      + + + + + + +
      +

      + + public + static + final + int + + INVITATION_TYPE_REAL_TIME +

      +
      + + + + +
      +
      + +

      Constant indicating that this invitation is for a real-time room. +

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

      + + public + static + final + int + + INVITATION_TYPE_TURN_BASED +

      +
      + + + + +
      +
      + +

      Constant indicating that this invitation is for a turn-based match. +

      + + +
      + Constant Value: + + + 1 + (0x00000001) + + +
      + +
      +
      + + + + @@ -1319,6 +1450,41 @@ From interface
    + + +
    +

    + + public + + + abstract + + int + + getInvitationType + () +

    +
    +
    + + + +
    +
    + +

    Retrieve the type of this Invitation. May be either + INVITATION_TYPE_REAL_TIME or INVITATION_TYPE_TURN_BASED.

    +
    +
    Returns
    + +
    + +
    +
    + +
    @@ -1379,7 +1545,7 @@ From interface

    Retrieve the variant specified for this Invitation, if any. A variant is an optional developer-controlled parameter describing the type of game to play. If specified, this value will be a positive integer. If this invitation had no variant specified, returns - ROOM_VARIANT_ANY.

    + ROOM_VARIANT_ANY or MATCH_VARIANT_ANY.

    Returns
    • Variant specified for this invitation, if any. 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 index b79cdccdc1bf8abd7758444ed1d4646a0c9ad6fc..c5bdc26eec564dbc0d1fac677066c1167953ed2e 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    Returns
    • Variant specified for this invitation, if any. 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 index 6ad54f43149f2fc2075d548a574cfd54838e4569..1d82d46d1829bc98d6a111562f53c5600db2a68e 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • @@ -705,6 +726,38 @@ onkeyup="return search_changed(event, false, '/')" /> +
      + + Known Indirect Subclasses + +
      + + +
      +
      +
      @@ -789,6 +842,25 @@ onkeyup="return search_changed(event, false, '/')" /> + + + abstract + + + + + void + + + onInvitationRemoved(String invitationId) + +
      Callback invoked when a previously received invitation has been removed from the local + device.
      + + + + + @@ -877,6 +949,46 @@ onkeyup="return search_changed(event, false, '/')" />
      + + +
      +

      + + public + + + abstract + + void + + onInvitationRemoved + (String invitationId) +

      +
      +
      + + + +
      +
      + +

      Callback invoked when a previously received invitation has been removed from the local + device. For example, this might occur if the inviting player leaves the match.

      +
      +
      Parameters
      + + + + +
      invitationId + The ID of the invitation that was removed. +
      +
      + +
      +
      + + 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 index eb354d4c72ed80676899de5e377c4ad27d61b58f..b8f9804f8015d3a07899ae55cd91d804475c5496 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
      +
      +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • + int + STATUS_FINISHED + Constant indicating that this participant is finished with this match. + + + + int STATUS_INVITED Constant indicating that this participant has been sent an invitation. - + int STATUS_JOINED Constant indicating that this participant has accepted the invitation and is joined. - + int STATUS_LEFT Constant indicating that this participant joined a multiplayer game and subsequently left. + + int + STATUS_NOT_INVITED_YET + Constant indicating that this participant has not yet been sent an invitation. + + + + + int + STATUS_UNRESPONSIVE + Constant indicating that this participant did not respond to the match in the alloted time. + + + @@ -1052,6 +1075,24 @@ android.os.Parcelable + ParticipantResult + + + getResult() + +
      Returns the ParticipantResult associated with this participant, if any.
      + + + + + + + + abstract + + + + int @@ -1063,7 +1104,7 @@ android.os.Parcelable - + abstract @@ -1282,6 +1323,45 @@ From interface + + +
      +

      + + public + static + final + int + + STATUS_FINISHED +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant is finished with this match. Only applies to turn-based match participants. +

      + + +
      + Constant Value: + + + 5 + (0x00000005) + + +
      + +
      +
      + + +
      @@ -1399,6 +1479,84 @@ From interface + + +
      +

      + + public + static + final + int + + STATUS_NOT_INVITED_YET +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant has not yet been sent an invitation. Only applies to turn-based match participants. +

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

      + + public + static + final + int + + STATUS_UNRESPONSIVE +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant did not respond to the match in the alloted time. Only applies to turn-based match participants. +

      + + +
      + Constant Value: + + + 6 + (0x00000006) + + +
      + +
      +
      + + + @@ -1592,7 +1750,8 @@ From interface

      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.

      + multiplayer room or match: a participant will not have the same ID across multiple rooms or + matches.

      Returns
      • The ID of this participant. @@ -1639,6 +1798,40 @@ From interface
      + + +
      +

      + + public + + + abstract + + ParticipantResult + + getResult + () +

      +
      +
      + + + +
      +
      + +

      Returns the ParticipantResult associated with this participant, if any. Only applies to turn-based match participants.

      +
      +
      Returns
      + +
      + +
      +
      + +
      @@ -1663,7 +1856,7 @@ From interface

      Retrieve the status of this participant. Possible values are STATUS_INVITED, - STATUS_JOINED, STATUS_DECLINED, or STATUS_LEFT.

      + STATUS_JOINED, STATUS_DECLINED, or STATUS_LEFT.< Possible status values for turn-based match participants are all of the above, STATUS_NOT_INVITED_YET, STATUS_FINISHED, and STATUS_UNRESPONSIVE.

      Returns
      • Status of this participant. @@ -1698,7 +1891,7 @@ From interface

        Retrieves the connected status of the participant. If true indicates that participant is in - the connected set of the room.

        + the connected set of the room. Only applies to room participants.

        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 index 228e0a0cf2a0753c734c52f3d32c071b370482aa..2af0fa199e23d0ddf065cbb773c4d736567daf9e 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
        +
        +
      +
      +
      @@ -1141,6 +1164,24 @@ android.os.Parcelable + ParticipantResult
      + + + getResult() + +
      Returns the ParticipantResult associated with this participant, if any.
      + + + + + + + + + + + + int @@ -1152,7 +1193,7 @@ android.os.Parcelable - + @@ -1168,7 +1209,7 @@ android.os.Parcelable - + @@ -1186,7 +1227,7 @@ android.os.Parcelable - + @@ -1204,7 +1245,7 @@ android.os.Parcelable - + @@ -1220,7 +1261,7 @@ android.os.Parcelable - + @@ -1707,6 +1748,24 @@ From interface + ParticipantResult + + + getResult() + +
      Returns the ParticipantResult associated with this participant, if any.
      + + + + + + + + abstract + + + + int @@ -1718,7 +1777,7 @@ From interface - + abstract @@ -2096,7 +2155,8 @@ From interface

      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.

      + multiplayer room or match: a participant will not have the same ID across multiple rooms or + matches.

      Returns
      • The ID of this participant. @@ -2143,6 +2203,40 @@ From interface
      + + +
      +

      + + public + + + + + ParticipantResult + + getResult + () +

      +
      +
      + + + +
      +
      + +

      Returns the ParticipantResult associated with this participant, if any.

      +
      +
      Returns
      + +
      + +
      +
      + +
      diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantResult.html b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantResult.html new file mode 100644 index 0000000000000000000000000000000000000000..df1ee9d99f0280538c444d4162d29a74f96f7334 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantResult.html @@ -0,0 +1,2028 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ParticipantResult | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + + + + +
      + + + + +
      +
      + + + + +
      + public + + final + + class +

      ParticipantResult

      + + + + + extends Object
      + + + + + + + implements + + Parcelable + + + + + +
      + +
      + +
      + + + + + + + + + + + + + + + + + +
      java.lang.Object
         ↳com.google.android.gms.games.multiplayer.ParticipantResult
      + + + + + + + +
      + + +

      Class Overview

      +

      Data class used to report a participant's result in a match. +

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

      Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Constants
      intMATCH_RESULT_DISAGREEDConstant indicating that this participant had different results reported by different + clients.
      intMATCH_RESULT_DISCONNECTConstant indicating that this participant disconnected or left during the match.
      intMATCH_RESULT_LOSSConstant indicating that this participant lost the match.
      intMATCH_RESULT_NONEConstant indicating that this participant had no result for the match.
      intMATCH_RESULT_TIEConstant indicating that this participant tied the match.
      intMATCH_RESULT_UNINITIALIZEDConstant indicating that this participant has not reported a result at all yet.
      intMATCH_RESULT_WINConstant indicating that this participant won the match.
      intPLACING_UNINITIALIZEDConstant returned by getPlacing() if the participant has not reported a placing in + the match yet.
      + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Constants
      + + From interface +android.os.Parcelable +
      + + +
      +
      + + + + + + + + + + + + + + + + + +
      Fields
      + public + static + final + ParticipantResultCreatorCREATOR
      + + + + + + + + + + + + + + + + + + + +
      Public Constructors
      + + + + + + + + ParticipantResult(String participantId, int result, int placing) + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Methods
      + + + + + + int + + describeContents() + +
      + + + + + + String + + getParticipantId() + +
      + + + + + + int + + getPlacing() + +
      + + + + + + int + + getResult() + +
      + + + + + + void + + writeToParcel(Parcel out, int flags) + +
      + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Methods
      + +From class + + java.lang.Object + +
      + + +
      +
      + +From interface + + android.os.Parcelable + +
      + + +
      +
      + + +
      + + + + + + + + + + + + + + + + + + + + +

      Constants

      + + + + + + +
      +

      + + public + static + final + int + + MATCH_RESULT_DISAGREED +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant had different results reported by different + clients. +

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

      + + public + static + final + int + + MATCH_RESULT_DISCONNECT +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant disconnected or left during the match. +

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

      + + public + static + final + int + + MATCH_RESULT_LOSS +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant lost the match. +

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

      + + public + static + final + int + + MATCH_RESULT_NONE +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant had no result for the match. +

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

      + + public + static + final + int + + MATCH_RESULT_TIE +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant tied the match. +

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

      + + public + static + final + int + + MATCH_RESULT_UNINITIALIZED +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant has not reported a result at all yet. This will + commonly be seen when the match is currently in progress. Note that this is distinct from + MATCH_RESULT_NONE, +

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

      + + public + static + final + int + + MATCH_RESULT_WIN +

      +
      + + + + +
      +
      + +

      Constant indicating that this participant won the match. +

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

      + + public + static + final + int + + PLACING_UNINITIALIZED +

      +
      + + + + +
      +
      + +

      Constant returned by getPlacing() if the participant has not reported a placing in + the match yet. Usually seen when a match is still in progress. +

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

      Fields

      + + + + + + +
      +

      + + public + static + final + ParticipantResultCreator + + CREATOR +

      +
      + + + + +
      +
      + +

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

      Public Constructors

      + + + + + +
      +

      + + public + + + + + + + ParticipantResult + (String participantId, int result, int placing) +

      +
      +
      + + + +
      +
      + +

      +
      +
      Parameters
      + + + + + + + + + + +
      participantId + The ID of the participant this result is for.
      result + The result type for this participant in the match. One of + MATCH_RESULT_WIN, MATCH_RESULT_LOSS, MATCH_RESULT_TIE, + MATCH_RESULT_NONE, MATCH_RESULT_DISCONNECT, or + MATCH_RESULT_DISAGREED.
      placing + The placing of this participant in the match. Use + PLACING_UNINITIALIZED to indicate that no placing should be reported. +
      +
      + +
      +
      + + + + + + + + + + + + + +

      Public Methods

      + + + + + +
      +

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

      +
      +
      + + + +
      +
      + +

      + +
      +
      + + + + +
      +

      + + public + + + + + String + + getParticipantId + () +

      +
      +
      + + + +
      +
      + +

      +
      +
      Returns
      +
      • The ID of the participant this result is for. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + int + + getPlacing + () +

      +
      +
      + + + +
      +
      + +

      +
      +
      Returns
      +
      • The placing of this participant in the match. PLACING_UNINITIALIZED means + that this result has no placing value to report. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + int + + getResult + () +

      +
      +
      + + + +
      +
      + +

      +
      +
      Returns
      + +
      + +
      +
      + + + + +
      +

      + + public + + + + + void + + writeToParcel + (Parcel out, 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 index f3c1f11cee22f54a678b7c8efbae70a95c7708b1..f469916fa6235a341c1a997066a20caffb90c436 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
      +
      +
    +
    +
    @@ -768,6 +774,14 @@ Summary: RoomEntity Data object representing the data for a room.  + + TurnBasedMatch + Data interface for turn-based specific match functionality.  + + + TurnBasedMatchEntity + Data object representing the data for a turn-based match.  +
    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 index 53708bce21e06f0047f3eee17222018b76c07c3b..c5a92db57c641091e6a819f83ee8d2ee5e926ce1 100644 --- 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 @@ -243,6 +243,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
      @@ -281,7 +283,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Data object representing a Participant in a match.  + ParticipantResult + Data class used to report a participant's result in a match.  + + ParticipantUtils Utilities 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 index a5821f58bd95955a63adf0074425af07f34f0068..5a6d25cf11fccea3dfeae2f4012bee3d2d412e01 100644 --- 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    -

    Instance of OutputStream to write data to. - Calling close() on the OutputStream will close the socket. +

    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. + MAX_UNRELIABLE_MESSAGE_LEN bytes (excluding internal protocol headers). + Make sure that the byte[] data passed to write(byte[]) honors this limit - + otherwise the packet will be dropped and an error message will be sent to the log.

    - Do not call flush() on the OutputStream instance that you - obtained from this routine. To send each message as a single datagram, implement your own - message parsing logic to distinguish message boundaries. This allows partial messages and - a non-integral number of messages to be delivered using RealTimeSocket.

    + Do not call flush() on the OutputStream instance that you obtained + from this routine. To send each message as a single datagram, implement your own message + parsing logic to distinguish message boundaries. This allows partial messages and a + non-integral number of messages to be delivered using RealTimeSocket.

    Returns
    diff --git a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html index 5daba7fdbf9e395310a4b0f7fd71c4974b061c57..5dbb5333ff9eddc02e4bfd80d2e1c12ed3d54630 100644 --- a/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html +++ b/docs/html/reference/com/google/android/gms/games/multiplayer/realtime/Room.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Participant + + + getParticipant(String participantId) + +
      Get a participant in a room by its ID.
      + + + + + + + + abstract + + + + String @@ -1081,7 +1101,7 @@ android.os.Parcelable - + abstract @@ -1093,11 +1113,13 @@ android.os.Parcelable getParticipantIds() +
      Get the IDs of the participants of the given room.
      + - + abstract @@ -1115,7 +1137,7 @@ android.os.Parcelable - + abstract @@ -1131,7 +1153,7 @@ android.os.Parcelable - + abstract @@ -1147,7 +1169,7 @@ android.os.Parcelable - + abstract @@ -1720,7 +1742,9 @@ From interface

      Returns
      -
      • The ID of the participant who created this Room. +
        • The ID of the participant who created this Room. Note that not all participants will + see the same value for the creator. In the case of an automatch, this value may + differ for each participant.
      @@ -1801,6 +1825,59 @@ From interface
    + + +
    +

    + + public + + + abstract + + Participant + + getParticipant + (String participantId) +

    +
    +
    + + + +
    +
    + +

    Get a participant in a room by its ID. Note that the participant ID must correspond to a + participant in this match, or this method will throw an exception.

    +
    +
    Parameters
    + + + + +
    participantId + Match-local ID of the participant to retrieve status for.
    +
    +
    +
    Returns
    +
    • The participant corresponding to the given ID.
    +
    +
    +
    Throws
    + + + + +
    + IllegalStateException} if the participant is not a participant in this match. +
    +
    + +
    +
    + +
    @@ -1869,7 +1946,7 @@ From interface
    -

    +

    Get the IDs of the participants of the given room.

    Returns
    • The IDs of the participants in this room. These are returned in the participant 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 index f422aef4ad4ea3944c3c8a4d21667ce11f23e051..339f9d5f29de1c12b7b720c3b74c7eb1b8b26185 100644 --- 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + before passing the request to the location client. + +

    When using this option care must be taken to either explicitly remove the request + when no longer needed or to set an expiration with (setExpirationDuration(long) or + setExpirationTime(long). Otherwise in some cases if a location can't be computed, this + request could stay active indefinitely consuming power.

    Parameters
    diff --git a/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html b/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html index b509bf7990c72260bc109b55f8703e322f713bea..45df07d56347f235582779bcfe1ca9728268f7c1 100644 --- a/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html +++ b/docs/html/reference/com/google/android/gms/location/LocationStatusCodes.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + - + 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 335f4ca886181c076bb82b1ba33ab460d2aae620..b2ebc35b86369033c5df82362c8ab73f340f888c 100644 --- a/docs/html/reference/com/google/android/gms/maps/MapsInitializer.html +++ b/docs/html/reference/com/google/android/gms/maps/MapsInitializer.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + @@ -1060,7 +1094,7 @@ From class void 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 272d419052016277716826bd464b453856974f17..545701d4aa2f32927aa515c9bdaf00374834bbcf 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -859,23 +859,7 @@ onkeyup="return search_changed(event, false, '/')" />
    -

    Called on the main thread when panorama info is loaded.

    -
    -
    Parameters
    -
    intSYSTEM_UI_FLAG_LAYOUT_FULLSCREENSYSTEM_UI_FLAG_IMMERSIVE_STICKY
    intSYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATIONSYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
    intSYSTEM_UI_FLAG_LAYOUT_STABLESYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
    intSYSTEM_UI_FLAG_LOW_PROFILESYSTEM_UI_FLAG_LAYOUT_STABLE
    intSYSTEM_UI_FLAG_VISIBLESYSTEM_UI_FLAG_LOW_PROFILE
    intSYSTEM_UI_LAYOUT_FLAGSSYSTEM_UI_FLAG_VISIBLE
    intTEXT_ALIGNMENT_CENTERSYSTEM_UI_LAYOUT_FLAGS
    intTEXT_ALIGNMENT_GRAVITYTEXT_ALIGNMENT_CENTER
    intTEXT_ALIGNMENT_INHERITTEXT_ALIGNMENT_GRAVITY
    intTEXT_ALIGNMENT_TEXT_ENDTEXT_ALIGNMENT_INHERIT
    intTEXT_ALIGNMENT_TEXT_STARTTEXT_ALIGNMENT_TEXT_END
    intTEXT_ALIGNMENT_VIEW_ENDTEXT_ALIGNMENT_TEXT_START
    intTEXT_ALIGNMENT_VIEW_STARTTEXT_ALIGNMENT_VIEW_END
    intTEXT_DIRECTION_ANY_RTLTEXT_ALIGNMENT_VIEW_START
    intTEXT_DIRECTION_FIRST_STRONGTEXT_DIRECTION_ANY_RTL
    intTEXT_DIRECTION_INHERITTEXT_DIRECTION_FIRST_STRONG
    intTEXT_DIRECTION_LOCALETEXT_DIRECTION_INHERIT
    intTEXT_DIRECTION_LTRTEXT_DIRECTION_LOCALE
    intTEXT_DIRECTION_RTLTEXT_DIRECTION_LTR
    intTEXT_DIRECTION_RTL
    String VIEW_LOG_TAG
    int VISIBLE - synchronized + + final + + + void + + addSuppressed(Throwable arg0) + +
    + + @@ -954,7 +972,7 @@ From class -
    @@ -970,7 +988,7 @@ From class -
    @@ -986,7 +1004,7 @@ From class -
    @@ -1002,7 +1020,7 @@ From class -
    @@ -1018,10 +1036,26 @@ From class +
    + + + final + + + Throwable[] + + getSuppressed() + +
    - synchronized + @@ -1044,7 +1078,7 @@ From class void - printStackTrace(PrintWriter arg0) + printStackTrace(PrintStream arg0)
    - printStackTrace(PrintStream arg0) + printStackTrace(PrintWriter arg0)
    + getFadeIn() + +
    Gets whether the tiles should fade in.
    + +
    + + + + + String @@ -923,7 +943,7 @@ Summary: -
    @@ -941,7 +961,7 @@ Summary: -
    @@ -957,7 +977,7 @@ Summary: -
    @@ -975,7 +995,7 @@ Summary: -
    @@ -993,6 +1013,24 @@ Summary: +
    + + + + + + void + + setFadeIn(boolean fadeIn) + +
    Sets whether the tiles should fade in.
    + +
    @@ -1347,6 +1385,40 @@ From class + + +
    +

    + + public + + + + + boolean + + getFadeIn + () +

    +
    +
    + + + +
    +
    + +

    Gets whether the tiles should fade in.

    +
    +
    Returns
    +
    • true if the tiles are to fade in; false if it is not. +
    +
    + +
    +
    + +
    @@ -1506,6 +1578,46 @@ From class
    + + +
    +

    + + public + + + + + void + + setFadeIn + (boolean fadeIn) +

    +
    +
    + + + +
    +
    + +

    Sets whether the tiles should fade in.

    +
    +
    Parameters
    + + + + +
    fadeIn + if true, then the tiles will fade in; if false, the tiles + will not fade in. +
    +
    + +
    +
    + +
    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 819486ebc99704010e0ba41cdf772eed4ea98648..fa4c8efea12d655f4315714e4561d45fd7286bcc 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    + fadeIn(boolean fadeIn) + +
    Specifies whether the tiles should fade in.
    + +
    + + + + + + boolean + + getFadeIn() + +
    Gets whether the tiles should fade in.
    + +
    + + + + + TileProvider @@ -1487,6 +1525,74 @@ From interface + + +
    +

    + + public + + + + + TileOverlayOptions + + fadeIn + (boolean fadeIn) +

    +
    +
    + + + +
    +
    + +

    Specifies whether the tiles should fade in. The default is true.

    +
    +
    Returns
    + +
    + +
    +
    + + + + +
    +

    + + public + + + + + boolean + + getFadeIn + () +

    +
    +
    + + + +
    +
    + +

    Gets whether the tiles should fade in.

    +
    +
    Returns
    +
    • true if the tiles are to fade in; false if it is not. +
    +
    + +
    +
    + +
    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 672f0eff3a7a42f8d6ae33bec470bd7f2adafb5c..e076a339743140a26c0fc1d1e81649d3e5e93bcb 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    onPanoramaInfoLoaded(ConnectionResult result, Intent viewerIntent) -
    Called on the main thread when panorama info is loaded.
    -
    - - - - - - -
    result - result of the operation. isSuccess() will return true if the request - succeeded.
    viewerIntent - if the image is a panorama this is not null and will launch - a viewer when started. If the image is not a panorama this will be null. -
    -
    +

    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 36cacac6c9e90db06d92f78609053685df906290..579598b914fcd8fc0eeae623bb9b6d70b722b918 100644 --- a/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.html +++ b/docs/html/reference/com/google/android/gms/panorama/PanoramaClient.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    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 fe762014f7e597585babbc141a17538f34ac8738..75ae0489c0a1b443aad29576c57f6a9c67c7c771 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - -

    Create a new Builder for launching a sharing action from launchingActivity. You - must provide a connected PlusClient that has the PLUS_LOGIN scope - when creating an interactive post with a call-to-action button.

    -
    -
    Parameters
    - - - - - - - -
    launchingActivity - Activity that the share will be launched from
    plusClient - The connected PlusClient object. -
    -
    +

    +

    + This constructor is deprecated.
    + Please migrate to ERROR(/#Builder(Activity)), the PlusClient is optional. + +

    +

    @@ -1750,6 +1763,55 @@ From class
    +

    Deprecated, use the constructor ERROR(/#Builder(Activity)) and call + ERROR(/#setRecipients(Person, List)). Sets a list of people + to send the interactive post to. + +

    This sets the initial people to share with, but the user can change who the post + is shared with before posting. A maximum of ten recipients are allowed.

    +
    +
    Parameters
    + + + + +
    recipientList + A list of recipients. See loadPeople(PlusClient.OnPeopleLoadedListener, String...) and + createPerson(String, String).
    +
    +
    +
    Returns
    +
    • This Builder for method chaining. +
    +
    + +
    +
    + + + + +
    +

    + + public + + + + + PlusShare.Builder + + setRecipients + (Person user, List<Person> recipientList) +

    +
    +
    + + + +
    +
    +

    Sets a list of people to send the interactive post to.

    This sets the initial people to share with, but the user can change who the post @@ -1757,6 +1819,11 @@ From class

    Parameters
    + + + +
    user + The user to send the post as, see + ERROR(/People#getCurrentPerson(com.google.android.gms.GoogleApiClient)).
    recipientList A list of recipients. See loadPeople(PlusClient.OnPeopleLoadedListener, String...) and 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 ece13ed5c3d63738b4acd8f45020fac5c2760436..817c27efe1db4ffeca5ea8dbe59ede02eaf169ce 100644 --- a/docs/html/reference/com/google/android/gms/plus/PlusShare.html +++ b/docs/html/reference/com/google/android/gms/plus/PlusShare.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    @@ -1844,7 +1846,7 @@ From class

    Creates a person to use as a recipient with the given ID and display name. - See setRecipients(List).

    + See setRecipients(Person, List).

    Parameters
    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 b5812bb8704ed31948d058d44fcda78c4d85c91c..4ed320d4908703feea58d17409d52371267d085e 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 @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - - - - - - - - - - -
    Public Constructors
    - - - - - - - - Address() - -
    - - @@ -1490,42 +1464,6 @@ From interface - -

    Public Constructors

    - - - - - -
    -

    - - public - - - - - - - Address - () -

    -
    -
    - - - -
    -
    - -

    - -
    -
    - - - - diff --git a/docs/html/reference/com/google/android/gms/wallet/Cart.Builder.html b/docs/html/reference/com/google/android/gms/wallet/Cart.Builder.html index 9dd6929b9d42bbd72067a2b49bbc3e578d57ef19..272b3c3e5539ef3593a01c38d1be86ad42534681 100644 --- a/docs/html/reference/com/google/android/gms/wallet/Cart.Builder.html +++ b/docs/html/reference/com/google/android/gms/wallet/Cart.Builder.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Ctors - - | Methods @@ -718,7 +717,7 @@ Summary:
      public - + final class

      LoyaltyWalletObject

      @@ -775,9 +774,8 @@ Summary:

      Class Overview

      -

      Parcelable representing a loyalty wallet object. A LoyaltyWalletObject has a buyerId used to - identify the user. An example of this could be a rewards program with a membership number that - would map to the buyerId. +

      Parcelable representing a loyalty wallet object. An example loyalty wallet object could be a + rewards membership where the membership id is placed in the accountId.

      @@ -896,8 +894,12 @@ android.os.Parcelable - - + + + + + +
      Public Constructors
      @@ -909,25 +911,28 @@ android.os.Parcelable - + int -
      Public Methods
      - LoyaltyWalletObject() + describeContents()
      - +
    - - + String + + @@ -938,10 +943,10 @@ android.os.Parcelable - int + String @@ -957,7 +962,7 @@ android.os.Parcelable String @@ -973,7 +978,7 @@ android.os.Parcelable String @@ -989,7 +994,7 @@ android.os.Parcelable String @@ -1005,7 +1010,7 @@ android.os.Parcelable String @@ -1021,7 +1026,7 @@ android.os.Parcelable String @@ -1034,6 +1039,22 @@ android.os.Parcelable + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + getAccountId() +
    - describeContents() + getAccountName()
    - getAccountId() + getBarcodeAlternateText()
    - getAccountName() + getBarcodeType()
    - getId() + getBarcodeValue()
    - getIssuerName() + getId()
    - getProgramName() + getIssuerName()
    + getProgramName() + +
    + + + + + int @@ -1043,7 +1064,7 @@ android.os.Parcelable -
    @@ -1396,12 +1417,20 @@ From interface + -

    Public Constructors

    + + + + + + + +

    Public Methods

    - +

    @@ -1411,9 +1440,9 @@ From interface - + int - LoyaltyWalletObject + describeContents ()

    @@ -1430,22 +1459,75 @@ From interface
    + + +
    +

    + + public + + + + + String + + getAccountId + () +

    +
    +
    + + + +
    +
    + +

    +
    +
    Returns
    +
    • Loyalty account identifier to be displayed to the user (ex: "12345678"). +
    +
    + +
    +
    + + + +
    +

    + + public - - + String + + getAccountName + () +

    +
    +
    - - -

    Public Methods

    +
    +
    +

    +
    +
    Returns
    +
    • Loyalty account holder name (ex: "John Smith"). +
    +
    + +
    +
    - + +

    @@ -1455,9 +1537,9 @@ From interface - int + String - describeContents + getBarcodeAlternateText ()

    @@ -1469,12 +1551,18 @@ From interface

    +
    +
    Returns
    +
    • Human-readable text to display to the user in addition to the encoded barcode value + (ex: "3492013"). +
    +
    - +

    @@ -1486,7 +1574,7 @@ From interface String - getAccountId + getBarcodeType ()

    @@ -1500,8 +1588,7 @@ From interface

    Returns
    -
    • The buyer's id, as defined by the merchant. This identifies the user in the - merchant's loyalty program. +
      • Barcode type. Possible values include "codabar", "qrCode", "textOnly", etc...
    @@ -1509,7 +1596,7 @@ From interface
    - +

    @@ -1521,7 +1608,7 @@ From interface String - getAccountName + getBarcodeValue ()

    @@ -1535,7 +1622,7 @@ From interface

    Returns
    -
    • The buyer's name in the loyalty program +
      • Encoded barcode value.
    @@ -1603,7 +1690,7 @@ From interface

    Returns
    -
    • The name of who issued this loyalty object +
      • The name of who issued this loyalty object.
    @@ -1637,7 +1724,7 @@ From interface

    Returns
    -
    • The name of the loyalty program associated to this object +
      • The name of the loyalty program associated to this object.
    diff --git a/docs/html/reference/com/google/android/gms/wallet/MaskedWallet.html b/docs/html/reference/com/google/android/gms/wallet/MaskedWallet.html index a6501f9676d8d97d8e9c7e475e4cdfae0c39f00d..0f3174872a87c43618fec8313606f6104dbf44bc 100644 --- a/docs/html/reference/com/google/android/gms/wallet/MaskedWallet.html +++ b/docs/html/reference/com/google/android/gms/wallet/MaskedWallet.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Ctors - - | Methods @@ -894,31 +893,6 @@ android.os.Parcelable - - - - - - - - - - - - -
      Public Constructors
      - - - - - - - - MaskedWallet() - -
      - - @@ -1442,42 +1416,6 @@ From interface - -

      Public Constructors

      - - - - - -
      -

      - - public - - - - - - - MaskedWallet - () -

      -
      -
      - - - -
      -
      - -

      - -
      -
      - - - - diff --git a/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html b/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html index 5f6d081c5ef49636ed627c656d8b94b2e9709882..11c875fdfe31eea6bdc7c23f2a505806c501ab68 100644 --- a/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html +++ b/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    + setAllowDebitCard(boolean allowDebitCard) + +
    Indicates whether a debit card may be used for this transaction.
    + +
    + + + + + + MaskedWalletRequest.Builder + + setAllowPrepaidCard(boolean allowPrepaidCard) + +
    Indicates whether a prepaid card may be used for this transaction.
    + +
    + + + + + + MaskedWalletRequest.Builder + + setAllowedShippingCountrySpecifications(CountrySpecification[] allowedShippingCountrySpecifications) + +
    Sets an optional set of country specifications that should be allowed for shipping.
    + +
    + + + + + MaskedWalletRequest.Builder @@ -847,7 +903,7 @@ Summary: -
    @@ -865,7 +921,7 @@ Summary: -
    @@ -883,7 +939,7 @@ Summary: -
    @@ -902,7 +958,7 @@ Summary: -
    @@ -920,7 +976,7 @@ Summary: -
    @@ -938,7 +994,7 @@ Summary: -
    @@ -956,7 +1012,7 @@ Summary: -
    @@ -974,7 +1030,7 @@ Summary: -
    @@ -993,7 +1049,7 @@ Summary: -
    @@ -1297,6 +1353,100 @@ From class + + +
    +

    + + public + + + + + MaskedWalletRequest.Builder + + setAllowDebitCard + (boolean allowDebitCard) +

    +
    +
    + + + +
    +
    + +

    Indicates whether a debit card may be used for this transaction. + If omitted, defaults to true. +

    + +
    +
    + + + + +
    +

    + + public + + + + + MaskedWalletRequest.Builder + + setAllowPrepaidCard + (boolean allowPrepaidCard) +

    +
    +
    + + + +
    +
    + +

    Indicates whether a prepaid card may be used for this transaction. + If omitted, defaults to true. +

    + +
    +
    + + + + +
    +

    + + public + + + + + MaskedWalletRequest.Builder + + setAllowedShippingCountrySpecifications + (CountrySpecification[] allowedShippingCountrySpecifications) +

    +
    +
    + + + +
    +
    + +

    Sets an optional set of country specifications that should be allowed for shipping. + If omitted or a null / empty array is provided the API will default to using a country + specification that only allows shipping in the US. +

    + +
    +
    + +
    diff --git a/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.html b/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.html index a45d7612b81807234b4f5715b026cae0bb1ec9d3..fca63069692baf00ae75c3eb4b428665e0b0c650 100644 --- a/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.html +++ b/docs/html/reference/com/google/android/gms/wallet/MaskedWalletRequest.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    - - + boolean + + @@ -975,6 +981,22 @@ android.os.Parcelable + CountrySpecification[] + + + + + + + + + + + + + + + + + + +
    Public Methods
    + allowPrepaidCard() +
    + getAllowedShippingCountrySpecifications() + +
    + + + + + Cart @@ -984,7 +1006,7 @@ android.os.Parcelable -
    @@ -1000,7 +1022,7 @@ android.os.Parcelable -
    @@ -1016,7 +1038,7 @@ android.os.Parcelable -
    @@ -1032,7 +1054,7 @@ android.os.Parcelable -
    @@ -1048,7 +1070,7 @@ android.os.Parcelable -
    @@ -1064,7 +1086,7 @@ android.os.Parcelable -
    @@ -1080,7 +1102,7 @@ android.os.Parcelable -
    @@ -1096,7 +1118,7 @@ android.os.Parcelable -
    @@ -1112,7 +1134,7 @@ android.os.Parcelable -
    @@ -1128,7 +1150,7 @@ android.os.Parcelable -
    @@ -1144,7 +1166,7 @@ android.os.Parcelable -
    @@ -1160,7 +1182,7 @@ android.os.Parcelable -
    @@ -1513,12 +1535,20 @@ From interface + -

    Public Constructors

    + + + + + + + +

    Public Methods

    - +

    @@ -1528,9 +1558,9 @@ From interface - + boolean - MaskedWalletRequest + allowDebitCard ()

    @@ -1542,28 +1572,81 @@ From interface

    +
    +
    Returns
    +
    • whether a debit card may be used as the backing card for this transaction +
    +
    + +
    +

    + + public - - + boolean + + allowPrepaidCard + () +

    +
    +
    - - -

    Public Methods

    +
    +
    + +

    +
    +
    Returns
    +
    • whether a prepaid card may be used as the backing card for this transaction +
    +
    + +
    +
    +
    +

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

    +
    +
    + + + +
    +
    + +

    + +
    +
    + + + +

    @@ -1572,9 +1655,9 @@ From interface - int + CountrySpecification[] - describeContents + getAllowedShippingCountrySpecifications ()

    @@ -1586,6 +1669,11 @@ From interface

    +
    +
    Returns
    +
    • the allowed set of shipping country specifications +
    +
    diff --git a/docs/html/reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html b/docs/html/reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html index d5c29eaed95d1275bac952590722cdb765f9032a..038da1f076aea8f33cabf75269e80711f94f1061 100644 --- a/docs/html/reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html +++ b/docs/html/reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +
    +
    +
    +
    +
    +
    +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Ctors - - | Methods @@ -718,7 +717,7 @@ Summary:
      public - + final class

      OfferWalletObject

      @@ -898,31 +897,6 @@ android.os.Parcelable - - - - - - - - - - - - -
      Public Constructors
      - - - - - - - - OfferWalletObject() - -
      - - @@ -1350,42 +1324,6 @@ From interface - -

      Public Constructors

      - - - - - -
      -

      - - public - - - - - - - OfferWalletObject - () -

      -
      -
      - - - -
      -
      - -

      - -
      -
      - - - - diff --git a/docs/html/reference/com/google/android/gms/wallet/ProxyCard.html b/docs/html/reference/com/google/android/gms/wallet/ProxyCard.html index 3c2819c0d8415d75f4100b57ef2ff148752feff3..0ea7cb198f40379166e136a2f3fc2795dd261895 100644 --- a/docs/html/reference/com/google/android/gms/wallet/ProxyCard.html +++ b/docs/html/reference/com/google/android/gms/wallet/ProxyCard.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
      +
      +
      @@ -280,7 +282,7 @@ onkeyup="return search_changed(event, false, '/')" /> ja-lang="トレーニング" es-lang="Capacitación" >Training -
    • ja-lang="トレーニング" es-lang="Capacitación" >Training
    • -
    • Ctors - - | Methods @@ -894,31 +893,6 @@ android.os.Parcelable - - - - - - - - - - - - -
      Public Constructors
      - - - - - - - - ProxyCard(String pan, String cvn, int expirationMonth, int expirationYear) - -
      - - @@ -1378,42 +1352,6 @@ From interface - -

      Public Constructors

      - - - - - -
      -

      - - public - - - - - - - ProxyCard - (String pan, String cvn, int expirationMonth, int expirationYear) -

      -
      -
      - - - -
      -
      - -

      - -
      -
      - - - - diff --git a/docs/html/reference/com/google/android/gms/wallet/WalletClient.html b/docs/html/reference/com/google/android/gms/wallet/WalletClient.html index b13e283436b360cba3bd3a355ca35cd0db92ca1b..5a884c1c643bf4e0a3d06ef5e7dd5a8027180166 100644 --- a/docs/html/reference/com/google/android/gms/wallet/WalletClient.html +++ b/docs/html/reference/com/google/android/gms/wallet/WalletClient.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
    +
    +