Packagecom.afcomponents.umap.providers.microsoft
Classpublic class BingEnvironment

Defines the bing environemnt type. By default the environment is determined by checking the Security.sandboxType property. If running in a remote sandbox, then the production environment will be selected, otherwise the staging environment is set. You can forse the environment, thus cancelling the automatic detection:
 import com.afcomponents.umap.providers.microsoft.BingEnvironment;
  
 // force staging environment
 BingEnvironment.type = BingEnvironment.STAGING;
 

The environment setting is used by all the Bing services:



Public Properties
 PropertyDefined by
  type : String
[static] Gets or sets current Bing service environment.
BingEnvironment
Public Constants
 ConstantDefined by
  PRODUCTION : String = "production"
[static]
BingEnvironment
  STAGING : String = "staging"
[static]
BingEnvironment
Property detail
typeproperty
type:String  [read-write]

Gets or sets current Bing service environment. Valid values are STAGING or PRODUCTION. If null value is set (default) the environment will be determined automatically.

Implementation
    public static function get type():String
    public function set type(value:String):void
Constant detail
PRODUCTIONconstant
public static const PRODUCTION:String = "production"
STAGINGconstant 
public static const STAGING:String = "staging"