iOS
Android
Unity
REST Api
BDArenaConnectorDelegate

Availability : ver 1.0 and later

Declared in : BDArenaConnectorDelegate.h

Sample code : -

Overview

The delegates of the BDArenaConnector object should adopt the BDArenaConnectorDelegate protocol. Optional methods of the protocol allow the delegates to manage player authentication, retrieve daemons information and display advertising banners.

Tasks

Generic notification

- arenaConnector:didStartTask:

 

Performing local player authentication

- arenaConnector:authReceivedForLocalPlayerWithData:alreadyMet:isOffline:

- arenaConnector:authFailedForLocalPlayerWithError:

 

Managing local player profile information

- arenaConnector:registerProfileSuccessForLocalPlayerWithData:

- arenaConnector:registerProfileFailedForLocalPlayerWithError:

- arenaConnector:updateProfileSuccessForLocalPlayerWithData:

- arenaConnector:updateProfileFailedForLocalPlayerWithError:

- arenaConnectorLogoutSuccess

- arenaConnector:logoutFailedForLocalPlayerWithError:

- arenaConnector:loginSuccessForLocalPlayerWithData:

- arenaConnector:loginFailedForLocalPlayerWithError:

 

Retrieving remote players profile information

- arenaConnector:getPlayerDataSuccessfullyCompleted:

- arenaConnector:getPlayerDataFailedWithError:

- arenaConnector:getPlayersDataSuccessfullyCompletedWithArray:

- arenaConnector:getPlayersDataFailedWithError:

 

Managing advertising features

- arenaConnector:willStartRequestForFullscreenBannerView:

- arenaConnector:willStartRequestForBannerView:

- arenaConnector:didReceiveAdForBannerView:

- arenaConnector:didFailToReceiveAdForBannerView:withError:

- arenaConnector:didReceiveAdForFullscreenBannerView:

- arenaConnector:didFailToReceiveAdForFullscreenBannerView:withError:

- arenaConnector:willPresentLandingScreen:

- arenaConnector:willDismissLandingScreen:

- arenaConnector:didDismissLandingScreen:

- arenaConnector:clipReadyToPlayInView:

- arenaConnector:clipInView:didUpdateAdPlaybackTime:adDuration:

- arenaConnector:clipInView:didFailToReceiveAdWithError:

- arenaConnector:clipInView:didFinishPlaybackWithReason:

- arenaConnector:ghostOverReadyToPlayInWindow:

- arenaConnector:ghostOverInWindow:didFailToReceiveAdWithError:

- arenaConnector:ghostOverInWindow:didStartPlaybackAdWithDuration:

- arenaConnector:ghostOverInWindow:didUpdateAdPlaybackTime:adDuration:

- arenaConnector:ghostOverInWindow:didReachCompletionAtPlaybackTime:

- arenaConnector:ghostOverInWindow:didBreakAtPlaybackTime:

- arenaConnector:ghostOverInWindow:pauseOnUnsupportedOrientationTimedoutWithTimeout:

- arenaConnector:ghostOverInWindow:didChangeMuteState:

- arenaConnector:ghostOverWillPresentLandingScreenInWindow:

- arenaConnector:ghostOverWillDismissLandingScreenInWindow:

 

Asynchronous notifications

- arenaConnector:profileDidChangeForPlayer:

 

 


 

 

 

arenaConnector:didStartTask:

 

Informs that a new task did start.

 

- (void) arenaConnector:(BDArenaConnector*)connector didStartTask:(ARENA_TASK)task;

 

Parameters

connector

    The unique BDArenaConnector instance.

task

    An ARENA_TASK value that specifies what kind of operation in progress.

 

Discussion

This method is called whenever an operation of authentication, login, logout or update of profile information is performed on local player.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:authReceivedForLocalPlayerWithData:alreadyMet:isOffline:

 

Informs that the local player authentication did succeed.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        authReceivedForLocalPlayerWithData:(BDArenaPlayerData*)playerData

        alreadyMet:(BOOL)alreadyMet isOffline:(BOOL)isOffline;

 

Parameters

connector

    The unique BDArenaConnector instance.

playerData

    A BDArenaPlayerData object filled with the authenticated local player information.

alreadyMet

    YES if local player has performed authentication within the running application at least one time before now.

    NO otherwise.

isOffline

    YES if the local player's device is not connected to the Internet at the moment of the player's authentication. 

    NO otherwise.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:authFailedForLocalPlayerWithError:

 

Informs that the local player authentication task did fail.

 

- (void) arenaConnector:(BDArenaConnector*)connector authFailedForLocalPlayerWithError:(NSError*)error; 

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Discussion 

If an error occurs after the authentication call, the BDArenaConnector object automatically retries to

accomplish the task after 10 seconds. To disable this behaviour, the developer simply has to set the forceAutoretryIfAuthFails property of BDArenaConnector object to NO.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:registerProfileSuccessForLocalPlayerWithData:

 

Informs that the player profile registration did succeed.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        registerProfileSuccessForLocalPlayerWithData:(BDArenaPlayerData*)playerData;

 

Parameters

connector

    The unique BDArenaConnector instance.

playerData

    A BDArenaPlayerData object filled with the local player information.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:registerProfileFailedForLocalPlayerWithError:

 

Informs that the player profile registration did fail.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        registerProfileFailedForLocalPlayerWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:updateProfileSuccessForLocalPlayerWithData:

 

Informs that the player profile update did succeed.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        updateProfileSuccessForLocalPlayerWithData:(BDArenaPlayerData*)playerData;

 

Parameters

connector

    The unique BDArenaConnector instance.

playerData

    A BDArenaPlayerData object filled with the local player information.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:updateProfileFailedForLocalPlayerWithError:

 

Informs that the player profile update did fail.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        updateProfileFailedForLocalPlayerWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnectorLogoutSuccess

 

Informs that the local player has successfully performed logout.

 

- (void) arenaConnectorLogoutSuccess;

 

Discussion

Only a logged in player can perform logout. Once a logged in player performs logout, a Guest account is automatically associated with the user's device.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:logoutFailedForLocalPlayerWithError:

 

Informs that the local player was not been able to logout.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        logoutFailedForLocalPlayerWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Discussion

Only a logged in player can perform logout. Once a logged in player performs logout,

Guest account is automatically associated with the user's device.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:loginSuccessForLocalPlayerWithData:

 

Informs that the local player has successfully performed login.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        loginSuccessForLocalPlayerWithData:(BDArenaPlayerData*)playerData;

 

Parameters

connector

    The unique BDArenaConnector instance.

playerData

    A BDArenaPlayerData object filled with the local player information.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:loginFailedForLocalPlayerWithError:

 

Informs that the local player was not been able to login.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        loginFailedForLocalPlayerWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Discussion

Only a logged in player can perform logout. Once a logged in player performs logout,

Guest account is automatically associated with the user's device.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:getPlayerDataSuccessfullyCompleted:

 

Retrieves information of a specific player.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        getPlayerDataSuccessfullyCompleted:(BDArenaPlayerData*)playerData;

 

Parameters

connector

    The unique BDArenaConnector instance.

playerData

    A BDArenaPlayerData object filled with the player information.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:getPlayerDataFailedWithError:

 

Informs that some error occurred while trying to retrieve information of a specific player.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        getPlayerDataFailedWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:getPlayersDataSuccessfullyCompletedWithArray:

 

Retrieves information of a group of specific players.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        getPlayersDataSuccessfullyCompletedWithArray:(NSArray*)playersArray;

 

Parameters

connector

    The unique BDArenaConnector instance.

playersArray

    An array of BDArenaPlayerData objects filled with the information of the requested players.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:getPlayersDataFailedWithError:

 

Informs that some error occurred while trying to retrieve information of a group of specific players.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        getPlayersDataFailedWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:willStartRequestForFullscreenBannerView:

 

Informs that a request for obtaining an advertising banner for fullscreen format will begin shortly.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        willStartRequestForFullscreenBannerView:(UIView*)fullscreenBannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

fullscreenBannerView

    The UIView that handles the fullscreen banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat:

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:willStartRequestForBannerView:

 

Informs that a request for obtaining an advertising banner for a specific format will begin shortly.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        willStartRequestForBannerView:(UIView*)bannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

bannerView

    The UIView that handles the requested banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:didReceiveAdForBannerView:

 

Informs that an advertising banner has been successfully received.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        didReceiveAdForBannerView:(UIView*)bannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

bannerView

    The UIView that handles the requested banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:didFailToReceiveAdForBannerView:withError:

 

Informs that some error occurred while trying to receive an advertising banner.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        didFailToReceiveAdForBannerView:(UIView*)bannerView

        withError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

bannerView

    The UIView that handles the requested banner.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:didReceiveAdForFullscreenBannerView:

 

Informs that an advertising fullscreen banner has been successfully received.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        didReceiveAdForFullscreenBannerView:(UIView*)fullscreenBannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

fullscreenBannerView

    The UIView that handles the fullscreen banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:didFailToReceiveAdForFullscreenBannerView:withError:

 

Informs that some error occurred while trying to receive an advertising fullscreen banner.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        didFailToReceiveAdForFullscreenBannerView:(UIView*)fullscreenBannerView

        withError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

fullscreenBannerView

    The UIView that handles the fullscreen banner.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:willPresentLandingScreen:

 

Informs that user has tapped an advertising banner and the landing screen will show up shortly.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        willPresentLandingScreen:(UIView*)bannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

bannerView

    The UIView that handles the banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format. 

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:willDismissLandingScreen:

 

Informs that a previously shown landing screen will be dismissed shortly.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        willDismissLandingScreen:(UIView*)bannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

bannerView

    The UIView that handles the banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format.

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:didDismissLandingScreen:

 

Informs that a previously shown landing screen will be dismissed shortly.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        didDismissLandingScreen:(UIView*)bannerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

bannerView

    The UIView that handles the banner.

 

Discussion

The BDArenaConnector object manages internally a set of UIView objects each of which handles

a specific banner format.

In order to show an advertising banner, the developer can retrieve the UIView, that handles

the requested banner format, also through the method advGetBannerViewForAdFormat: 

of the BDArenaConnector object.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:clipReadyToPlayInView:

 

Informs that an ad clip, associated with a specific UIView, is ready for starting playback.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        clipReadyToPlayInView:(UIView*)clipContainerView;

 

Parameters

connector

    The unique BDArenaConnector instance.

clipContainerView

    The UIView that brings the ad clip.

 

Discussion

When this notification is received, the developer can call 

advPlayAdClipInView:clipContainerView: method of the BDArenaConnector object

in order to start the playback.

 

Availability

available in SDK ver 1.7 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:clipInView:didUpdateAdPlaybackTime:adDuration:

 

Informs that the playback time has changed.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        clipInView:(UIView*)clipContainerView

        didUpdateAdPlaybackTime:(NSTimeInterval)playbackTime

        adDuration:(NSTimeInterval)duration;

 

Parameters

connector

    The unique BDArenaConnector instance.

clipContainerView

    The UIView that brings the ad clip.

playbackTime

    The current playback time.

duration

    The total duration of the clip.

 

Availability

available in SDK ver 1.7 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:clipInView:didFailToReceiveAdWithError:

 

Informs that some error occurred while trying to receive an advertising clip.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        clipInView:(UIView*)clipContainerView

        didFailToReceiveAdWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

clipContainerView

    The UIView that brings the ad clip.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Availability

available in SDK ver 1.7 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:clipInView:didFinishPlaybackWithReason:

 

Informs that the ad clip did finish playback.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        clipInView:(UIView*)clipContainerView

        didFinishPlaybackWithReason:(BDArenaAdvAdClipDidFinishReason)reason;

 

Parameters

connector

    The unique BDArenaConnector instance.

clipContainerView

    The UIView that brings the ad clip.

reason

    The reason why the ad clip did finish (user did skip the ad clip, or the ad clip did reach the end).

 

Availability

available in SDK ver 1.7 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

arenaConnector:ghostOverReadyToPlayInWindow:

 

Informs that an GhostOver ad is ready for starting playback.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverReadyToPlayInWindow:(UIWindow*)window;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

arenaConnector:ghostOverInWindow:didFailToReceiveAdWithError:

 

Informs that some error occurred while trying to receive an GhostOver ad.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        didFailToReceiveAdWithError:(NSError*)error;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

error

    An NSError object containing the specific error that occurred.

    For more information about errors, check out the Errors Map section.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

arenaConnector:ghostOverInWindow:didStartPlaybackAdWithDuration:

 

Informs that an ad did start playback successfully.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        didStartPlaybackAdWithDuration:(NSTimeInterval)duration;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

duration

    The ad duration in seconds.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:ghostOverInWindow:

    didUpdateAdPlaybackTime:adDuration:

 

Informs that the playback time has changed.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        didUpdateAdPlaybackTime:(NSTimeInterval)playbackTime

        adDuration:(NSTimeInterval)duration;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

playbackTime

    The current ad playback time in seconds.

duration

    The ad total duration in seconds.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

arenaConnector:ghostOverInWindow:

    didReachCompletionAtPlaybackTime:

 

Informs that the ad did finish playback.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        didReachCompletionAtPlaybackTime:(NSTimeInterval)playbackTime;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

playbackTime

    The final ad playback time in seconds.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

arenaConnector:ghostOverInWindow:didBreakAtPlaybackTime:

 

Informs that the ad did break playback.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        didBreakAtPlaybackTime:(NSTimeInterval)playbackTime;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

playbackTime

    The ad playback time in seconds when the app lost the foreground.

 

Discussion

This event occurs if the user quits or puts in background the application.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 


arenaConnector:ghostOverInWindow:

    pauseOnUnsupportedOrientationTimedoutWithTimeout:

 

Informs that the ad did break playback after timeout

because of unsupported orientation.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        pauseOnUnsupportedOrientationTimedoutWithTimeout:(NSTimeInterval)timeout;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

timeout

    The timeout in seconds after which the playback will stop

    because of unsupported device orientation.

 

Discussion

This event occurs after timeout seconds after the device has been rotated

in an orientation not supported by the ad.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:ghostOverInWindow:didChangeMuteState:

 

Informs that the ad did change the mute state.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverInWindow:(UIWindow*)window

        didChangeMuteState:(BOOL)isMuted;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

isMuted

    The mute state. YES if the audio is deactivated.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

arenaConnector:ghostOverWillPresentLandingScreenInWindow:

 

Informs that the landing page is going to be shown.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverWillPresentLandingScreenInWindow:(UIWindow*)window;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:ghostOverWillDismissLandingScreenInWindow:

 

Informs that the landing page is going to be closed.

 

- (void) arenaConnector:(BDArenaConnector*)connector 

        ghostOverWillDismissLandingScreenInWindow:(UIWindow*)window;

 

Parameters

connector

    The unique BDArenaConnector instance.

window

    The UIWindow over which the ad will play.

 

Availability

available in SDK ver 4.0.0 and later

 

Declared in

BDArenaConnectorDelegate.h

 

 

 

arenaConnector:profileDidChangeForPlayer:

 

Informs that a remote player did update his profile information.

 

- (void) arenaConnector:(BDArenaConnector*)connector

        profileDidChangeForPlayer:(BDArenaPlayerData*)playerData;

 

Parameters

connector

    The unique BDArenaConnector instance.

playerData

    A BDArenaPlayerData object filled with the remote player information.

 

Discussion

This notification occurs only if the profile update is made by a remote player that shares

the same chat rooms with local player or if remote and local player are registered

to the same multiplayer tables.

 

Availability

available in SDK ver 1.0 and later

 

Declared in

BDArenaConnectorDelegate.h