Packagecom.kongregate.air
Classpublic class Settings
InheritanceSettings Inheritance Object

Settings object for initializing the SDK. Singleton object. Do not initialize. Set these values via KongregateAPI.settings



Public Properties
 PropertyDefined By
  adjustAppToken : String
Adjust app token
Settings
  adjustEnvironment : String
Adjust environment
Settings
  adjustEventTokenMap : Object = null
Adjust event token map
Settings
  allowImmersiveMode : Boolean = false
Toggle immersive mode
Settings
  apiDomain : String = m.kongregate.com
Domain name for API endpoint
Settings
  appleId : String
Apple ID
Settings
  appVersion : String
Application version
Settings
  autoAnalyticsFilter : String
Set auto analytics filter (default to none)
Settings
  autoAnalyticsMode : String = ENABLE_ALL
Set auto analytics mode (default to ALL)
Settings
  bundleID : String
Application bundle ID
Settings
  customPlayerId : String
If Steam is supported, set an adapter object to enable linking Steam users to Kongregate
Settings
  debug : Boolean = true
Toggle debug mode
Settings
  deferAnalytics : Boolean = false
Toggle deferred analytics
Settings
  deferGDPRAlert : Boolean = false
Settings
  deltaCollectUrl : String
Delta Collect URL
Settings
  deltaEngageUrl : String
Delta Engage URL
Settings
  deltaEnvironmentKey : String
Delta Environment Key
Settings
  enabled : Boolean = true
SDK enabled flag
Settings
  externalApi : Object = null
Set the platform and client_version fields of this object to enable the external web API.
Settings
  guildChat : Boolean = false
Toggle guild chat support
Settings
  instance : Settings
[static] [read-only] Singleton accessor.
Settings
  keenProjectId : String
Keen project ID
Settings
  keenWriteKey : String
Keen write key
Settings
  kongAnalyticsId : String
Kongregate Analytics Id
Settings
  kongAnalyticsKey : String
Kongregate Analytics API key
Settings
  manageLifecycle : Boolean = true
Toggle lifecycle management
Settings
  manageSharedCache : Boolean = true
Toggle shared cache management
Settings
  panelOrientationOverride : String
Override orientation.
Settings
  panelTransitionOverride : String
Override panel transition.
Settings
  persistentWebView : Boolean = true
Toggle persistent web view (recommended to leave enabled)
Settings
  showSystemUi : Boolean = false
Toggle system UI
Settings
  standaloneAdapter : IStandaloneAdapter = null
Settings
  steamAdapter : ISteamAdapter = null
Settings
  supportedPanelEvents : String
Specify the list of panel events your game supports
Settings
  swrveApiKey : String
Swrve API Key
Settings
  swrveAppId : int = 0
Swrve App ID
Settings
  swrveConfig : Object = null
Swrve configuration options
Settings
  testGDPRAlert : Boolean = false
Settings
  values : Object
[read-only] Returns an AS3 object that can be passed into the SDK with the expected keys.
Settings
Public Methods
 MethodDefined By
  
Used internally.
Settings
Property Detail
adjustAppTokenproperty
public var adjustAppToken:String

Adjust app token

adjustEnvironmentproperty 
public var adjustEnvironment:String

Adjust environment

adjustEventTokenMapproperty 
public var adjustEventTokenMap:Object = null

Adjust event token map

allowImmersiveModeproperty 
public var allowImmersiveMode:Boolean = false

Toggle immersive mode

apiDomainproperty 
public var apiDomain:String = m.kongregate.com

Domain name for API endpoint

appleIdproperty 
public var appleId:String

Apple ID

appVersionproperty 
public var appVersion:String

Application version

autoAnalyticsFilterproperty 
public var autoAnalyticsFilter:String

Set auto analytics filter (default to none)

autoAnalyticsModeproperty 
public var autoAnalyticsMode:String = ENABLE_ALL

Set auto analytics mode (default to ALL)

bundleIDproperty 
public var bundleID:String

Application bundle ID

customPlayerIdproperty 
public var customPlayerId:String

If Steam is supported, set an adapter object to enable linking Steam users to Kongregate

debugproperty 
public var debug:Boolean = true

Toggle debug mode

deferAnalyticsproperty 
public var deferAnalytics:Boolean = false

Toggle deferred analytics

deferGDPRAlertproperty 
public var deferGDPRAlert:Boolean = false

deltaCollectUrlproperty 
public var deltaCollectUrl:String

Delta Collect URL

deltaEngageUrlproperty 
public var deltaEngageUrl:String

Delta Engage URL

deltaEnvironmentKeyproperty 
public var deltaEnvironmentKey:String

Delta Environment Key

enabledproperty 
public var enabled:Boolean = true

SDK enabled flag

externalApiproperty 
public var externalApi:Object = null

Set the platform and client_version fields of this object to enable the external web API. You should only set this for builds that will be hosted off of Kongregate.

     KongregateAPI.settings.externalApi = {
       platform: "armorgames",
       client_version: "1.3.0"
     };
     

guildChatproperty 
public var guildChat:Boolean = false

Toggle guild chat support

instanceproperty 
instance:Settings  [read-only]

Singleton accessor. Use KongregateAPI.settings


Implementation
    public static function get instance():Settings

See also

keenProjectIdproperty 
public var keenProjectId:String

Keen project ID

keenWriteKeyproperty 
public var keenWriteKey:String

Keen write key

kongAnalyticsIdproperty 
public var kongAnalyticsId:String

Kongregate Analytics Id

kongAnalyticsKeyproperty 
public var kongAnalyticsKey:String

Kongregate Analytics API key

manageLifecycleproperty 
public var manageLifecycle:Boolean = true

Toggle lifecycle management

manageSharedCacheproperty 
public var manageSharedCache:Boolean = true

Toggle shared cache management

panelOrientationOverrideproperty 
public var panelOrientationOverride:String

Override orientation. Default is to autorotate to device orientation

panelTransitionOverrideproperty 
public var panelTransitionOverride:String

Override panel transition. Default uses standard OS transition

persistentWebViewproperty 
public var persistentWebView:Boolean = true

Toggle persistent web view (recommended to leave enabled)

showSystemUiproperty 
public var showSystemUi:Boolean = false

Toggle system UI

standaloneAdapterproperty 
public var standaloneAdapter:IStandaloneAdapter = null

steamAdapterproperty 
public var steamAdapter:ISteamAdapter = null

supportedPanelEventsproperty 
public var supportedPanelEvents:String

Specify the list of panel events your game supports

swrveApiKeyproperty 
public var swrveApiKey:String

Swrve API Key

swrveAppIdproperty 
public var swrveAppId:int = 0

Swrve App ID

swrveConfigproperty 
public var swrveConfig:Object = null

Swrve configuration options

testGDPRAlertproperty 
public var testGDPRAlert:Boolean = false

valuesproperty 
values:Object  [read-only]

Returns an AS3 object that can be passed into the SDK with the expected keys.


Implementation
    public function get values():Object
Constructor Detail
Settings()Constructor
public function Settings()

Used internally. Will throw an error if invoked outside the class.