urbanairship-core/src/main/java/com/urbanairship/AirshipConfigOptions.java
public Builder applyConfig(@NonNull Context context, @XmlRes int xmlResourceId) {
            try {
                XmlConfigParser configParser = new XmlConfigParser(context, xmlResourceId);
                applyConfigParser(context, configParser);
                configParser.close();
            } catch (Exception e) {
                Logger.error("AirshipConfigOptions - Unable to apply config.", e);
            }

            return this;
        }
/**
         * Apply options from a xml resource file. The XML file must contain the element {@code AirshipConfigOptions}
         * and any public {@link AirshipConfigOptions} fields should be set as attributes on the element.
         * Example:
         * <pre>
         * {@code
         * <AirshipConfigOptions
         *    notificationIcon = "@drawable/ic_notification"
         *    notificationAccentColor = "@color/color_accent"
         *    inProduction = "false"
         *    productionAppKey = "Your Production App Key"
         *    productionAppSecret = "Your Production App Secret"
         *    productionLogLevel = "NONE"
         *    developmentAppKey = "Your Development App Key"
         *    developmentAppSecret = "Your Development App Secret"
         *    developmentLogLevel = "VERBOSE"
         *    fcmSenderId = "Your FCM sender ID is your Google API project number (required for GCM)" />
         * }
         * </pre>
         *
         * @param context The application context.
         * @param xmlResourceId The xml resource ID.
         * @return The config option builder.
         */
Apply options from a xml resource file. The XML file must contain the element  AirshipConfigOptions
and any public  AirshipConfigOptions fields should be set as attributes on the element.
Example:

{@code

}


@param context The application context.
@param xmlResourceId The xml resource ID.
@return The config option builder.
Apply options from a xml resource file . The XML file must contain the element AirshipConfigOptions and any public AirshipConfigOptions fields should be set as attributes on the element . Example : { @code } @param context The application context . @param xmlResourceId The xml resource ID . @return The config option builder .
public Builder applyConfig(@NonNull Context context, @XmlRes int xmlResourceId) {
            try {
                XmlConfigParser configParser = new XmlConfigParser(context, xmlResourceId);
                applyConfigParser(context, configParser);
                configParser.close();
            } catch (Exception e) {
                Logger.error("AirshipConfigOptions - Unable to apply config.", e);
            }
            return this;
        }
public Builder applyConfig ( @ NonNull Context context , @ XmlRes int xmlResourceId ) { try { XmlConfigParser configParser = new XmlConfigParser ( context , xmlResourceId ) ; applyConfigParser ( context , configParser ) ; configParser . close ( ) ; } catch ( Exception e ) { Logger . error ( "AirshipConfigOptions - Unable to apply config." , e ) ; } return this ; }
Apply options from a xml resource file.
Apply options from a xml resource file .