public interface

VersionedParcelable

 androidx.versionedparcelable.VersionedParcelable

Subclasses:

RemoteActionCompat, IconCompat, Segment, LatLng, Destination, NavigationState, RichText, RichTextElement, LaneDirection, Distance, Maneuver, Lane, Step, ImageReference, AudioAttributesImplApi21, AudioAttributesImplBase, AudioAttributesCompat, AudioAttributesImpl, AudioAttributesImplApi26, TimerOngoingActivityStatus, OngoingActivityStatus, TextOngoingActivityStatus, OngoingActivityData, UserStyleFlavorWireFormat, LongRangeUserStyleSettingWireFormat, ComplicationsUserStyleSettingWireFormat, UserStyleSettingWireFormat, LongRangeOptionWireFormat, CustomValueOptionWireFormat, UserStyleFlavorsWireFormat, DoubleRangeUserStyleSettingWireFormat, BooleanUserStyleSettingWireFormat, ComplicationOverlayWireFormat, CustomValueUserStyleSettingWireFormat, ListUserStyleSettingWireFormat, DoubleRangeOptionWireFormat, OptionWireFormat, BooleanOptionWireFormat, UserStyleWireFormat, UserStyleSchemaWireFormat, ComplicationsOptionWireFormat, ListOptionWireFormat, EditorStateWireFormat, GetUserStyleSchemaParams, IdTypeAndDefaultProviderPolicyWireFormat, WatchFaceRenderParams, GetUserStyleFlavorsParams, ComplicationScreenshotParams, HeadlessWatchFaceInstanceParams, WallpaperInteractiveWatchFaceInstanceParams, GetComplicationSlotMetadataParams, ComplicationRenderParams, WatchfaceScreenshotParams, DefaultProviderPoliciesParams, DefaultComplicationDataSourcePolicyWireFormat, WatchUiState, SystemState, IdAndComplicationDataWireFormat, IdAndComplicationStateWireFormat, BoundingArcWireFormat, RenderParametersWireFormat, WatchFaceOverlayStyleWireFormat, ComplicationSlotMetadataWireFormat, ComplicationStateWireFormat, DeviceConfig, IdAndTapEventWireFormat, LayerParameterWireFormat, SliceItem, SliceItemHolder, SliceSpec, Slice, MediaMetadata, MediaController.PlaybackInfo, MediaController.ControllerResult, MediaSession.CommandButton, MediaSession.SessionResult, HeartRating, CallbackMediaItem, ThumbRating, FileMediaItem, StarRating, MediaLibraryService.LibraryParams, MediaLibraryService.LibraryResult, SessionToken, SessionCommand, SessionCommandGroup, PercentageRating, MediaBrowser.BrowserResult, MediaItem, UriMediaItem, Rating, MediaMetadata, CallbackMediaItem, FileMediaItem, VideoSize, SessionPlayer.TrackInfo, SubtitleData, MediaItem, UriMediaItem, Rating, MediaController.PlaybackInfo, MediaSession.CommandButton, HeartRating, ThumbRating, StarRating, MediaLibraryService.LibraryParams, SessionToken, SessionCommand, SessionCommandGroup, PercentageRating, LibraryResult, SessionResult, VideoSize, MediaPlayer.TrackInfo, CustomVersionedParcelable

Gradle dependencies

compile group: 'androidx.versionedparcelable', name: 'versionedparcelable', version: '1.1.1'

  • groupId: androidx.versionedparcelable
  • artifactId: versionedparcelable
  • version: 1.1.1

Artifact androidx.versionedparcelable:versionedparcelable:1.1.1 it located at Google repository (https://maven.google.com/)

Androidx artifact mapping:

androidx.versionedparcelable:versionedparcelable com.android.support:versionedparcelable

Overview

Tags a class that can be used with ParcelUtils. Should not be implemented by developers.

Summary

Source

/*
 * Copyright 2018 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package androidx.versionedparcelable;

/**
 * Tags a class that can be used with {@link ParcelUtils}.
 *
 * Should not be implemented by developers.
 * @see ParcelUtils
 */
public interface VersionedParcelable {

}