Class ChartboostCore
The main interface to the Chartboost Core SDK. Provides users with access to all of Core’s functionalities.
Inherited Members
Namespace: Chartboost.Core
Assembly: Chartboost.Core.dll
Syntax
public sealed class ChartboostCore
Fields
Version
The version of the Unity Core SDK.
Declaration
public const string Version = "1.0.0"
Field Value
Type | Description |
---|---|
string |
Properties
AdvertisingEnvironment
The environment that contains information intended solely for advertising purposes.
Declaration
public static IAdvertisingEnvironment AdvertisingEnvironment { get; }
Property Value
Type | Description |
---|---|
IAdvertisingEnvironment |
AnalyticsEnvironment
The environment that contains information intended solely for analytics purposes.
Declaration
public static IAnalyticsEnvironment AnalyticsEnvironment { get; }
Property Value
Type | Description |
---|---|
IAnalyticsEnvironment |
AttributionEnvironment
The environment that contains information intended solely for attribution purposes.
Declaration
public static IAttributionEnvironment AttributionEnvironment { get; }
Property Value
Type | Description |
---|---|
IAttributionEnvironment |
Consent
The CMP in charge of handling user consent.
Declaration
public static IConsentManagementPlatform Consent { get; }
Property Value
Type | Description |
---|---|
IConsentManagementPlatform |
LogLevel
A bool flag for setting test mode.
warning: Do not enable test mode in production builds.Declaration
public static LogLevel LogLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |
NativeVersion
The native Chartboost Core SDK version. The value is a semantic versioning compliant string.
Declaration
public static string NativeVersion { get; }
Property Value
Type | Description |
---|---|
string |
PublisherMetadata
Publisher-provided metadata.
Declaration
public static IPublisherMetadata PublisherMetadata { get; }
Property Value
Type | Description |
---|---|
IPublisherMetadata |
Methods
~ChartboostCore()
Declaration
protected ~ChartboostCore()
Initialize(SDKConfiguration)
Declaration
public static void Initialize(SDKConfiguration sdkConfiguration)
Parameters
Type | Name | Description |
---|---|---|
SDKConfiguration | sdkConfiguration | Initialization configuration parameters. |
Events
ModuleInitializationCompleted
Called whenever a module is initialized by the Chartboost Core SDK.
Declaration
public static event ChartboostCoreModuleInitializationDelegate ModuleInitializationCompleted
Event Type
Type | Description |
---|---|
ChartboostCoreModuleInitializationDelegate |