Skip to main content
Version: 8.9.x

bfgreporting.bfgRaveAppDataKeys.Callback Interface

Interface for completion callbacks for all public methods. More...

Public Member Functions

void onComplete (final String currentAppDataKey, final String previousAppDataKey, final List< String > unresolvedAppDataKeys, final Exception exception)
 Completion handler callback used for listenForStateChange, selectRaveAppDataKey, and fetchCurrentAppDataKey method results reporting. More...
 

Detailed Description

Interface for completion callbacks for all public methods. This interface should typically be defined as an anonymous class implementing the onComplete method for each use of the public method(s).
Since
6.3

Member Function Documentation

◆ onComplete()

void com.bigfishgames.bfglib.bfgreporting.bfgRaveAppDataKeys.Callback.onComplete (final String currentAppDataKey,
final String previousAppDataKey,
final List< String > unresolvedAppDataKeys,
final Exception exception 
)
Completion handler callback used for listenForStateChange, selectRaveAppDataKey, and fetchCurrentAppDataKey method results reporting.
Parameters
currentAppDataKeyCurrent or newly selected AppDataKey. May be null if no AppDataKey is selected as a result of the method call
previousAppDataKeyPrevious AppDataKey if an AppDataKey change was reported from the listenForStateChange method, else NULL
unresolvedAppDataKeysList of possible AppDataKeys to choose from if a change was reported to the listenForStateChange method and there are unresolved keys, else NULL
exceptionAn exception was returned in response to the method call, else NULL. In addition to the normal RaveAppDataKeys exceptions, an UnsupportedOperationException exception will be raised if selectRaveAppDataKey or fetchCurrentAppDataKey is called again before the results of a previous call have been reported.
Since
6.3