media/src/main/java/androidx/media/Rating2.java
public static Rating2 fromBundle(@Nullable Bundle bundle) {
        if (bundle == null) {
            return null;
        }
        return new Rating2(bundle.getInt(KEY_STYLE), bundle.getFloat(KEY_VALUE));
    }
/**
     * Create an instance from bundle object, previously created by {@link #toBundle()}
     *
     * @param bundle bundle
     * @return new Rating2 instance or {@code null} for error
     */
Create an instance from bundle object, previously created by  #toBundle()
@param bundle bundle
@return new Rating2 instance or  null for error
Create an instance from bundle object previously created by #toBundle () @param bundle bundle @return new Rating2 instance or null for error
public static Rating2 fromBundle(@Nullable Bundle bundle) {
        if (bundle == null) {
            return null;
        }
        return new Rating2(bundle.getInt(KEY_STYLE), bundle.getFloat(KEY_VALUE));
    }
public static Rating2 fromBundle ( @ Nullable Bundle bundle ) { if ( bundle == null ) { return null ; } return new Rating2 ( bundle . getInt ( KEY_STYLE ) , bundle . getFloat ( KEY_VALUE ) ) ; }
Create an instance from bundle object, previously created by {@link #toBundle()}
 @param bundle bundle
 @return new Rating2 instance or {@code null} for error
Create an instance from bundle object previously created by { @link #toBundle () } @param bundle bundle @return new Rating2 instance or { @code null } for error