SASConfiguration

open class SASConfiguration : SCSConfiguration, SCSLogDataSource, SCSLocationManagerDataSource

This class holds the global configuration of the SDK.

Properties

Link copied to clipboard
open var adCallTimeout: Int
The ad call timeout (in milliseconds).
Link copied to clipboard
Either this SDK is used as a primary SDK or not.
Link copied to clipboard
Additional implementation information that can be provided to the SDK when integrated as secondary SDK.
Link copied to clipboard
The shared instance of the SASConfiguration class.

Functions

Link copied to clipboard
open fun configure(@NonNull context: Context, @IntRange(from = 1) siteID: Int)
Configures the SDK with the given Context and SiteID.
open fun configure(@NonNull context: Context, @IntRange(from = 1) siteID: Int, @NonNull baseURL: String)
Configures the SDK with the given Context, siteId and baseUrl.
Link copied to clipboard
Link copied to clipboard
Returns the custom identifier for this device.
Link copied to clipboard
Returns the location that will be used instead of the actual device location.
Link copied to clipboard
Sets the automatic location detection status.
Link copied to clipboard
Returns the logging status.
Link copied to clipboard
open fun setAutomaticLocationDetectionAllowed(automaticLocationDetectionAllowed: Boolean)
Sets the automatic location detection status.
Link copied to clipboard
open fun setCustomIdentifier(@Nullable customIdentifier: String)
Sets the custom identifier for this device.
Link copied to clipboard
open fun setForcedLocation(@Nullable forcedLocation: Location)
Sets the location that will be used instead of the actual device location.
Link copied to clipboard
open fun setLoggingEnabled(loggingEnabled: Boolean)
Returns whether the logging is enabled.
Link copied to clipboard
open fun setManualBaseUrl(@Nullable baseURL: String)
Sets the overriden base URL used for ad calls.