# Package-level declarations

Classes to manage Mobile Payments SDK settings.

## Types

Environment
Link copied to clipboard
enum Environment : Enum<Environment>

The environment that SDK has been initialized in.

SdkSettings
Link copied to clipboard
data class SdkSettings(val sdkVersion: String, val sdkEnvironment: Environment, val securityComplianceVersion: String)
SettingsClosed
Link copied to clipboard
data object SettingsClosed

Indicates that the settings screen has been closed.

SettingsErrorCode
Link copied to clipboard
enum SettingsErrorCode : Enum<SettingsErrorCode> , ErrorCode
SettingsManager
Link copied to clipboard
interface SettingsManager

Provides information about the Mobile Payments SDK, such as the SDK version and environment. Also provides access to the payment settings, such as if offline processing is allowed. Additionally, you can display the Square-provided settings screen.

TrackingConsentState
Link copied to clipboard
enum TrackingConsentState : Enum<TrackingConsentState>

Tracks user consent for analytics and data collection.