compat/src/main/java/androidx/core/app/Person.java
public static Person fromBundle(Bundle bundle) {
        Bundle iconBundle = bundle.getBundle(ICON_KEY);
        return new Builder()
                .setName(bundle.getCharSequence(NAME_KEY))
                .setIcon(iconBundle != null ? IconCompat.createFromBundle(iconBundle) : null)
                .setUri(bundle.getString(URI_KEY))
                .setKey(bundle.getString(KEY_KEY))
                .setBot(bundle.getBoolean(IS_BOT_KEY))
                .setImportant(bundle.getBoolean(IS_IMPORTANT_KEY))
                .build();
    }
/**
     * Extracts and returns the {@link Person} written to the {@code bundle}. A bundle can be
     * created from a {@link Person} using {@link #toBundle()}.
     */
Extracts and returns the  Person written to the  bundle. A bundle can be
created from a  Person using  #toBundle().
Extracts and returns the Person written to the bundle . A bundle can be created from a Person using #toBundle () .
public static Person fromBundle(Bundle bundle) {
        Bundle iconBundle = bundle.getBundle(ICON_KEY);
        return new Builder()
                .setName(bundle.getCharSequence(NAME_KEY))
                .setIcon(iconBundle != null ? IconCompat.createFromBundle(iconBundle) : null)
                .setUri(bundle.getString(URI_KEY))
                .setKey(bundle.getString(KEY_KEY))
                .setBot(bundle.getBoolean(IS_BOT_KEY))
                .setImportant(bundle.getBoolean(IS_IMPORTANT_KEY))
                .build();
    }
public static Person fromBundle ( Bundle bundle ) { Bundle iconBundle = bundle . getBundle ( ICON_KEY ) ; return new Builder ( ) . setName ( bundle . getCharSequence ( NAME_KEY ) ) . setIcon ( iconBundle != null ? IconCompat . createFromBundle ( iconBundle ) : null ) . setUri ( bundle . getString ( URI_KEY ) ) . setKey ( bundle . getString ( KEY_KEY ) ) . setBot ( bundle . getBoolean ( IS_BOT_KEY ) ) . setImportant ( bundle . getBoolean ( IS_IMPORTANT_KEY ) ) . build ( ) ; }
Extracts and returns the {@link Person} written to the {@code bundle}.
Extracts and returns the { @link Person } written to the { @code bundle } .