ForeSee (ForeSee SDK v5.2.0)

All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and TypeMethod and Descriptionstatic voidactivityPaused(android.app.Activity activity) Deprecated. static voidactivityResumed(android.app.Activity activity) Deprecated. static voidactivityStarted(android.app.Activity activity) Deprecated. static voidaddCPPValue(java.lang.String key, java.lang.String value)

Adds a CPP key/value pair.

static voidappendCPPValue(java.lang.String key, java.lang.String value)

Appends a value to a comma separated list stored against a custom CPP key.

static voidcheckIfEligibleForSurvey()

Check to see if the user is eligible for a survey.

static voidcustomInviteAccepted()

Tells the SDK that a custom invite was accepted.

static voidcustomInviteDeclined()

Tells the SDK that a custom invite was declined.

static java.util.Map<ContactType,java.lang.String>getAllContactDetails()

Check all contact details

static java.util.Map<java.lang.String,java.lang.String>getAllCPPs()

Gets all CPP key/value pairs

static java.lang.StringgetContactDetails() Deprecated. static java.lang.StringgetContactDetails(ContactType contactType)

Check the contact details for the given contact type stored in the SDK

static java.lang.StringgetCPPValue(java.lang.String key)

Gets the CPP value associated to a given key

static ContactTypegetPreferredContactType()

Get the preferred contact type

static java.lang.StringgetVersion()

Gets the version of the SDK

static voidincrementPageViews()

Manually increment the number of pages counted by the ForeSee SDK.

static voidincrementSignificantEventCountWithKey(java.lang.String key)

Increment the significant event count for a given key.

static booleanisDebugLogEnabled()

Check whether debug logging is enabled

static voidregisterFragmentView(android.view.View fragmentView) Deprecated. static voidremoveCPPValue(java.lang.String key)

Removes a CPP value.

static voidresetState()

Reset the state of the SDK.

static voidsetContactDetails(ContactType contactType, java.lang.String contactDetails)

Add contact details for a particular type for use in the CONTACT notification method

static voidsetContactDetails(java.lang.String contactDetails) Deprecated. static voidsetCPPValueFromArray(java.lang.String key, java.lang.String[] values)

Adds a CPP key/value pair.

static voidsetDebugLogEnabled(boolean debugLoggingEnabled)

Allows implementers to configure the SDK to produce more verbose logging output.

static voidsetInviteListener(BaseInviteListener inviteListener)

Set the invite listener

static voidsetPreferredContactType(ContactType contactType)

Set a preferred contact type

static voidsetSkipPoolingCheck(boolean skipPoolingCheck)

Allows implementers to configure the SDK to skip the pooling check.

booleanshouldSkipPoolingCheck()

Check if the pooling check is disabled

static voidshowInviteForSurveyID(java.lang.String surveyId)

Programmatically present the invitation for a given survey ID (sid)

static voidshowSurveyForSurveyID(java.lang.String surveyId)

Programmatically present the survey for a given survey ID (sid)

static voidstart(android.app.Application application)

Start the ForeSee SDK.

static voidstart(android.app.Application application, ForeSee.ForeSeeSDKConfigurationListener listener)

Start the ForeSee SDK.

static voidstartWithConfiguration(android.app.Application application, java.lang.String filename)

Starts the SDK using a custom configuration file name.

static voidstartWithConfiguration(android.app.Application application, java.lang.String filename, ForeSee.ForeSeeSDKConfigurationListener listener)

Starts the SDK using a custom configuration file name.

static voidstartWithConfigurationJSON(android.app.Application application, java.lang.String configJSON)

Starts the SDK using a custom configuration JSON string.

static voidstartWithConfigurationJSON(android.app.Application application, java.lang.String configJSON, ForeSee.ForeSeeSDKConfigurationListener listener)

Starts the SDK using a custom configuration JSON string.

static ConfigurationupdateConfig(android.app.Application application, java.lang.String configJSON)

Updates the SDK with a custom configuration JSON string.

static ConfigurationuseLocalConfig(android.app.Application application)

Updates the current persistenceSerializer to use a local configuration file.

ncG1vNJzZmirY2Ourq3ZqKWar6NjsLC5jp%2Bmq52jmrJusMSvnKWnoJq%2FbrnOm6ClnV2osax70p2iaJmemb%2BwtcNomKmhlKSwtHvCqKRonp%2BnsrSxxGiqnaNfe7yzsbKenGegpKK5