Core 1.0.0 - Unity C# API Reference Core 1.0.0 - Unity C# API Reference
Core 1.0.0 - Unity C# API Reference Core 1.0.0 - Unity C# API Reference
© 2025 Chartboost, Inc. All rights reserved.

Interface IAdvertisingEnvironment

An environment that contains information intended solely for advertising purposes.

Namespace: Chartboost.Core.Environment
Assembly: Chartboost.Core.dll
Syntax
public interface IAdvertisingEnvironment

Properties

AdvertisingIdentifier

The system advertising identifier.

Declaration
Task<string?> AdvertisingIdentifier { get; }
Property Value
Type Description
Task<string>

BundleIdentifier

The app bundle identifier.

Declaration
string? BundleIdentifier { get; }
Property Value
Type Description
string

DeviceLocale

The device locale string, e.g. “en-US”.

Declaration
string? DeviceLocale { get; }
Property Value
Type Description
string

DeviceMake

The device make, e.g. “Apple”.

Declaration
string DeviceMake { get; }
Property Value
Type Description
string

DeviceModel

The device model, e.g. “iPhone11,2”.

Declaration
string DeviceModel { get; }
Property Value
Type Description
string

LimitAdTrackingEnabled

Indicates whether the user has limited ad tracking enabled.

Declaration
Task<bool?> LimitAdTrackingEnabled { get; }
Property Value
Type Description
Task<bool?>

OSName

The OS name, e.g. “iOS”, "Android", etc.

Declaration
string OSName { get; }
Property Value
Type Description
string

OSVersion

The OS version, e.g. “17.0”.

Declaration
string OSVersion { get; }
Property Value
Type Description
string

ScreenHeightPixels

The height of the screen in pixels.

Declaration
double? ScreenHeightPixels { get; }
Property Value
Type Description
double?

ScreenScale

The screen scale.

Declaration
double? ScreenScale { get; }
Property Value
Type Description
double?

ScreenWidthPixels

The width of the screen in pixels.

Declaration
double? ScreenWidthPixels { get; }
Property Value
Type Description
double?