Interface IAnalyticsEnvironment
An environment that contains information intended solely for analytics purposes.
Inherited Members
Namespace: Chartboost.Core.Environment
Assembly: Chartboost.Core.dll
Syntax
public interface IAnalyticsEnvironment : IAttributionEnvironment, IAdvertisingEnvironment
Properties
AdvertisingIdentifier
The system advertising identifier (IFA).
Declaration
Task<string?> AdvertisingIdentifier { get; }
Property Value
Type | Description |
---|---|
Task<string> |
AppSessionDuration
The session duration, or 0 if the Initialize(SDKConfiguration) method has not been called yet. A session starts the moment Initialize(SDKConfiguration) is called for the first time.
Declaration
double AppSessionDuration { get; }
Property Value
Type | Description |
---|---|
double |
AppSessionIdentifier
The session identifier, or null if the Initialize(SDKConfiguration) method has not been called yet. A session starts the moment Initialize(SDKConfiguration) is called for the first time.
Declaration
string? AppSessionIdentifier { get; }
Property Value
Type | Description |
---|---|
string |
AppTrackingTransparencyStatus
The tracking authorization status, as determined by the system’s AppTrackingTransparency framework. Requires iOS 14.0+. Only supported in iOS devices, other platforms default to Unsupported.
Declaration
AuthorizationStatus AppTrackingTransparencyStatus { get; }
Property Value
Type | Description |
---|---|
AuthorizationStatus |
AppVersion
The version of the app.
Declaration
string? AppVersion { get; }
Property Value
Type | Description |
---|---|
string |
FrameworkName
The framework name set by the publisher through a call to SetFramework(string?, string?).
Declaration
string? FrameworkName { get; }
Property Value
Type | Description |
---|---|
string |
FrameworkVersion
The framework version set by the publisher through a call to SetFramework(string?, string?).
Declaration
string? FrameworkVersion { get; }
Property Value
Type | Description |
---|---|
string |
IsUserUnderage
Indicates whether the user is underage. This is determined by the latest value set by the publisher through a call to SetIsUserUnderage(bool), as well as by the “child-directed” option defined on the Chartboost Core dashboard. The more restrictive option is used.
Declaration
bool? IsUserUnderage { get; }
Property Value
Type | Description |
---|---|
bool? |
NetworkConnectionType
The current network connection type, e.g. wifi.
Declaration
NetworkConnectionType NetworkConnectionType { get; }
Property Value
Type | Description |
---|---|
NetworkConnectionType |
PlayerIdentifier
The player identifier set by the publisher through a call to SetPlayerIdentifier(string?).
Declaration
string? PlayerIdentifier { get; }
Property Value
Type | Description |
---|---|
string |
PublisherAppIdentifier
The publisher-defined application identifier set by the publisher through a call to SetPublisherAppIdentifier(string?).
Declaration
string? PublisherAppIdentifier { get; }
Property Value
Type | Description |
---|---|
string |
PublisherSessionIdentifier
The publisher-defined session identifier set by the publisher through a call to SetPublisherSessionIdentifier(string?).
Declaration
string? PublisherSessionIdentifier { get; }
Property Value
Type | Description |
---|---|
string |
VendorIdentifier
The system identifier for vendor (IFV).
Declaration
Task<string?> VendorIdentifier { get; }
Property Value
Type | Description |
---|---|
Task<string> |
VendorIdentifierScope
The scope of the identifier for vendor.
Declaration
Task<VendorIdentifierScope> VendorIdentifierScope { get; }
Property Value
Type | Description |
---|---|
Task<VendorIdentifierScope> |
Volume
The device volume level.
Declaration
double? Volume { get; }
Property Value
Type | Description |
---|---|
double? |
Events
FrameworkNameChanged
Subscribe to get notified when FrameworkName changes.
Declaration
event Action FrameworkNameChanged
Event Type
Type | Description |
---|---|
Action |
FrameworkVersionChanged
Subscribe to get notified when FrameworkVersion changes.
Declaration
event Action FrameworkVersionChanged
Event Type
Type | Description |
---|---|
Action |
IsUserUnderageChanged
Subscribe to get notified when IsUserUnderage changes.
Declaration
event Action IsUserUnderageChanged
Event Type
Type | Description |
---|---|
Action |
PlayerIdentifierChanged
Subscribe to get notified when PlayerIdentifier changes.
Declaration
event Action PlayerIdentifierChanged
Event Type
Type | Description |
---|---|
Action |
PublisherAppIdentifierChanged
Subscribe to get notified when PublisherAppIdentifier changes.
Declaration
event Action PublisherAppIdentifierChanged
Event Type
Type | Description |
---|---|
Action |
PublisherSessionIdentifierChanged
Subscribe to get notified when PublisherSessionIdentifier changes.
Declaration
event Action PublisherSessionIdentifierChanged
Event Type
Type | Description |
---|---|
Action |