Android Programming Press on the image to return to the main documentation page.

iChartboost

Written by Jan

List of types:

Chartboost

Chartboost

iChartboost.h
iChartboost

Created by Jan on 04.10.15.
Copyright (c) 2015 Jan. All rights reserved.

Events:

DidCacheInterstitial (Location as String)
DidCacheRewardedVideo (Location as String)
DidCacheMoreApps (Location as String)
DidFailToLoadInterstitial (Location as String, LoadError as Int)
DidFailToLoadRewardedVideo (Location as String, LoadError as Int)
DidFailToLoadMoreApps (Location as String, LoadError as Int)
DidDisplayInterstitial (Location as String)
DidDismissInterstitial (Location as String)
DidCloseInterstitial (Location as String)
DidClickInterstitial (Location as String)
DidDisplayMoreApps (Location as String)
DidDismissMoreApps (Location as String)
DidCloseMoreApps (Location as String)
DidClickMoreApps (Location as String)
DidPrefetchVideos
DidDisplayRewardedVideo (Location as String)
DidDismissRewardedVideo (Location as String)
DidCloseRewardedVideo (Location as String)
DidClickRewardedVideo (Location as String)
DidCompleteRewardedVideo (Location as String, Reward as Int)
WillDisplayVideo (Location as String)
DidCompleteAppStoreSheetFlow
DidFailToRecordClick (Location as String, ClickError as Int)
DidCacheInPlay (Location as String)
DidFailToLoadInPlay (Location as String)
DidPauseClickForConfirmation

Members:


  CacheInterstitial (Location As String)

  CacheMoreApps (Location As String)

  CacheRewardedVideo (Location As String)

  ClickErrorAgeGateFailure As Int [read only]

  ClickErrorInternal As Int [read only]

  ClickErrorUriInvalid As Int [read only]

  ClickErrorUriUnrecognized As Int [read only]

  CloseImpression

  DidPassAgeGate (Pass As Boolean)

  GetAutoCacheAds As Boolean

  GetCustomId As String

  HasInterstitial (Location As String) As Boolean

  HasMoreApps (Location As String) As Boolean

  HasRewardedVideo (Location As String) As Boolean

  Initialize (EventName As String, AppID As String, AppSignature As String)

  IsAnyViewVisible As Boolean

  LoadErrorFirstSessionInterstitialsDisabled As Int [read only]

  LoadErrorInternal As Int [read only]

  LoadErrorInternetUnavailable As Int [read only]

  LoadErrorNetworkFailure As Int [read only]

  LoadErrorNoAdFound As Int [read only]

  LoadErrorNoLocationFound As Int [read only]

  LoadErrorPrefetchingIncomplete As Int [read only]

  LoadErrorSessionNotStarted As Int [read only]

  LoadErrorTooManyConnections As Int [read only]

  LoadErrorUserCancellation As Int [read only]

  LoadErrorWrongOrientation As Int [read only]

  LocationAchievements As String [read only]

  LocationDefault As String [read only]

  LocationGameOver As String [read only]

  LocationGameScreen As String [read only]

  LocationHomeScreen As String [read only]

  LocationIAPStore As String [read only]

  LocationItemStore As String [read only]

  LocationLeaderBoard As String [read only]

  LocationLevelComplete As String [read only]

  LocationLevelStart As String [read only]

  LocationMainMenu As String [read only]

  LocationPause As String [read only]

  LocationQuests As String [read only]

  LocationQuit As String [read only]

  LocationSettings As String [read only]

  LocationStartup As String [read only]

  LocationTurnComplete As String [read only]

  SetAutoCacheAds (Should As Boolean)

  SetCustomId (CustomId As String)

  SetShouldDisplayLoadingViewForMoreApps (ShouldDisplay As Boolean)

  SetShouldPauseClickForConfirmation (ShouldPause As Boolean)

  SetShouldPrefetchVideoContent (ShouldPrefetch As Boolean)

  SetShouldRequestInterstitialsInFirstSession (ShouldRequest As Boolean)

  SetStatusBarBehavior (StatusBarBehavior As Int)

  ShowInterstitial (Location As String)

  ShowMoreApps (Page As Object, Location As String)

  ShowRewardedVideo (Location As String)

  StatusBarBehaviorIgnore As Int [read only]

  StatusBarBehaviorRespect As Int [read only]

  StatusBarBehaviorRespectButtons As Int [read only]

Members description:

CacheInterstitial (Location As String)
Cache an interstitial at the given CBLocation.
CacheMoreApps (Location As String)
Cache an "more applications" at the given CBLocation.
CacheRewardedVideo (Location As String)
Cache a rewarded video at the given CBLocation.
ClickErrorAgeGateFailure As Int [read only]
User failed to pass the age gate
ClickErrorInternal As Int [read only]
Unknown internal error
ClickErrorUriInvalid As Int [read only]
Invalid URI
ClickErrorUriUnrecognized As Int [read only]
The device does not know how to open the protocol of the URI
CloseImpression
Close any visible chartboost impressions(interstitials, more apps, rewarded video, etc..) and the loading view(if visible)
DidPassAgeGate (Pass As Boolean)
Confirm if an age gate passed or failed. When specified Chartboost will wait for this call before showing the IOS App Store.
GetAutoCacheAds As Boolean
Get the current auto cache behavior (Enabled by default).
GetCustomId As String
Get the current custom identifier being sent in the POST body for all Chartboost API server requests.
HasInterstitial (Location As String) As Boolean
Determine if a locally cached interstitial exists for the given CBLocation.
HasMoreApps (Location As String) As Boolean
Determine if a locally cached "more applications" exists for the given CBLocation.
HasRewardedVideo (Location As String) As Boolean
Determine if a locally cached rewarded video exists for the given CBLocation.
Initialize (EventName As String, AppID As String, AppSignature As String)
Initialize Chartboost with required appId, appSignature and delegate.
IsAnyViewVisible As Boolean
Check to see if any views are visible
LoadErrorFirstSessionInterstitialsDisabled As Int [read only]
Interstitial disabled, first session
LoadErrorInternal As Int [read only]
Unknown internal error
LoadErrorInternetUnavailable As Int [read only]
Network is currently unavailable
LoadErrorNetworkFailure As Int [read only]
Network request failed
LoadErrorNoAdFound As Int [read only]
No ad received
LoadErrorNoLocationFound As Int [read only]
No location detected
LoadErrorPrefetchingIncomplete As Int [read only]
Video Prefetching is not finished
LoadErrorSessionNotStarted As Int [read only]
Session not started
LoadErrorTooManyConnections As Int [read only]
Too many requests are pending for that location
LoadErrorUserCancellation As Int [read only]
User manually cancelled the impression
LoadErrorWrongOrientation As Int [read only]
Interstitial loaded with wrong orientation
LocationAchievements As String [read only]
Screen with list of achievements in the game
LocationDefault As String [read only]
Supports legacy applications that only have one "Default" location
LocationGameOver As String [read only]
The game over screen after a player is finished playing
LocationGameScreen As String [read only]
Game screen where all the magic happens
LocationHomeScreen As String [read only]
Home screen the player first sees
LocationIAPStore As String [read only]
The store where the player pays real money for currency or items
LocationItemStore As String [read only]
The store where a player buys virtual goods
LocationLeaderBoard As String [read only]
List of leaders in the game
LocationLevelComplete As String [read only]
Completion of the level
LocationLevelStart As String [read only]
Start of the level
LocationMainMenu As String [read only]
Menu that provides game options
LocationPause As String [read only]
Pause screen
LocationQuests As String [read only]
Quest, missions or goals screen describing things for a player to do
LocationQuit As String [read only]
Screen displayed right before the player exits a game
LocationSettings As String [read only]
Screen where player can change settings such as sound
LocationStartup As String [read only]
Initial startup of game
LocationTurnComplete As String [read only]
Finishing a turn in a game
SetAutoCacheAds (Should As Boolean)
Set to enable and disable the auto cache feature (Enabled by default).
SetCustomId (CustomId As String)
Set a custom identifier to send in the POST body for all Chartboost API server requests.
SetShouldDisplayLoadingViewForMoreApps (ShouldDisplay As Boolean)
Decide if Chartboost SDK should show a loading view while preparing to display the "more applications" UI.
SetShouldPauseClickForConfirmation (ShouldPause As Boolean)
Decide if Chartboost SDK should block for an age gate.
SetShouldPrefetchVideoContent (ShouldPrefetch As Boolean)
Decide if Chartboost SDKK will attempt to fetch videos from the Chartboost API servers.
SetShouldRequestInterstitialsInFirstSession (ShouldRequest As Boolean)
Decide if Chartboost SDK should show interstitials in the first session.
SetStatusBarBehavior (StatusBarBehavior As Int)
Set to control how the fullscreen ad units should interact with the status bar. (CBStatusBarBehaviorIgnore by default).
ShowInterstitial (Location As String)
Present an interstitial for the given CBLocation.
ShowMoreApps (Page As Object, Location As String)
Present an "more applications" for the given CBLocation and inside the given Page
ShowRewardedVideo (Location As String)
Present a rewarded video for the given CBLocation.
StatusBarBehaviorIgnore As Int [read only]
Ignore status bar altogether; fullscreen ads will use the space of the status bar
StatusBarBehaviorRespect As Int [read only]
Respect the status bar fully; fullscreen ads will not use the status bar space
StatusBarBehaviorRespectButtons As Int [read only]
Respect the status bar partially; fullscreen ads will use the space of the status bar but any user interactive buttons will not
Top