media/src/main/java/androidx/media/MediaItem2.java
public Bundle toBundle() {
        Bundle bundle = new Bundle();
        bundle.putString(KEY_ID, mId);
        bundle.putInt(KEY_FLAGS, mFlags);
        if (mMetadata != null) {
            bundle.putBundle(KEY_METADATA, mMetadata.toBundle());
        }
        bundle.putString(KEY_UUID, mUUID.toString());
        return bundle;
    }
/**
     * Return this object as a bundle to share between processes.
     *
     * @return a new bundle instance
     */
Return this object as a bundle to share between processes.
@return a new bundle instance
Return this object as a bundle to share between processes . @return a new bundle instance
public Bundle toBundle() {
        Bundle bundle = new Bundle();
        bundle.putString(KEY_ID, mId);
        bundle.putInt(KEY_FLAGS, mFlags);
        if (mMetadata != null) {
            bundle.putBundle(KEY_METADATA, mMetadata.toBundle());
        }
        bundle.putString(KEY_UUID, mUUID.toString());
        return bundle;
    }
public Bundle toBundle ( ) { Bundle bundle = new Bundle ( ) ; bundle . putString ( KEY_ID , mId ) ; bundle . putInt ( KEY_FLAGS , mFlags ) ; if ( mMetadata != null ) { bundle . putBundle ( KEY_METADATA , mMetadata . toBundle ( ) ) ; } bundle . putString ( KEY_UUID , mUUID . toString ( ) ) ; return bundle ; }
Return this object as a bundle to share between processes.
Return this object as a bundle to share between processes .