/**@class android.app.BroadcastOptions @extends java.lang.Object Helper class for building an options Bundle that can be used with {@link android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent)} and related methods. {@hide} */ var BroadcastOptions = { /** */ makeBasic : function( ) {}, /**Set a duration for which the system should temporary place an application on the power whitelist when this broadcast is being delivered to it. @param {Number} duration The duration in milliseconds; 0 means to not place on whitelist. */ setTemporaryAppWhitelistDuration : function( ) {}, /**Return {@link #setTemporaryAppWhitelistDuration}. @hide */ getTemporaryAppWhitelistDuration : function( ) {}, /**Set the minimum target API level of receivers of the broadcast. If an application is targeting an API level less than this, the broadcast will not be delivered to them. This only applies to receivers declared in the app's AndroidManifest.xml. @hide */ setMinManifestReceiverApiLevel : function( ) {}, /**Return {@link #setMinManifestReceiverApiLevel}. @hide */ getMinManifestReceiverApiLevel : function( ) {}, /**Set the maximum target API level of receivers of the broadcast. If an application is targeting an API level greater than this, the broadcast will not be delivered to them. This only applies to receivers declared in the app's AndroidManifest.xml. @hide */ setMaxManifestReceiverApiLevel : function( ) {}, /**Return {@link #setMaxManifestReceiverApiLevel}. @hide */ getMaxManifestReceiverApiLevel : function( ) {}, /**Sets whether pending intent can be sent for an application with background restrictions @param {Boolean} dontSendToRestrictedApps if true, pending intent will not be sent for an application with background restrictions. Default value is {@code false} */ setDontSendToRestrictedApps : function( ) {}, /** @hide @return {Boolean} #setDontSendToRestrictedApps */ isDontSendToRestrictedApps : function( ) {}, /**Sets the process will be able to start activities from background for the duration of the broadcast dispatch. Default value is {@code false} */ setBackgroundActivityStartsAllowed : function( ) {}, /** @hide @return {Boolean} #setAllowBackgroundActivityStarts */ allowsBackgroundActivityStarts : function( ) {}, /**Returns the created options as a Bundle, which can be passed to {@link android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent)} and related methods. Note that the returned Bundle is still owned by the BroadcastOptions object; you must not modify it, but can supply it to the sendBroadcast methods that take an options Bundle. */ toBundle : function( ) {}, };