AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyExternalAttributionProvider Class Referencesealed

An external attribution provider recognized by the Adapty backend. More...

Inheritance diagram for AdaptySDK.AdaptyExternalAttributionProvider:

Public Member Functions

 AdaptyExternalAttributionProvider (string rawValue)
 Creates a provider from its backend identifier, with surrounding whitespace trimmed — for a provider the backend added after the shared instances were snapshotted.
bool Equals (AdaptyExternalAttributionProvider other)
 Whether the other provider carries the same identifier.
override bool Equals (object obj)
 Whether the other object is a provider carrying the same identifier.
override int GetHashCode ()
 The hash code of the identifier.
override string ToString ()
 The identifier itself.

Static Public Member Functions

static bool operator== (AdaptyExternalAttributionProvider a, AdaptyExternalAttributionProvider b)
 Whether both providers carry the same identifier, or both are null.
static bool operator!= (AdaptyExternalAttributionProvider a, AdaptyExternalAttributionProvider b)
 Whether the providers carry different identifiers, or exactly one is null.

Public Attributes

readonly string RawValue
 The identifier the Adapty backend knows the provider by.

Static Public Attributes

static readonly AdaptyExternalAttributionProvider AppleAds = new("apple_search_ads")
 Apple Search Ads.
static readonly AdaptyExternalAttributionProvider Adjust = new("adjust")
 Adjust.
static readonly AdaptyExternalAttributionProvider Appsflyer = new("appsflyer")
 AppsFlyer.
static readonly AdaptyExternalAttributionProvider Branch = new("branch")
 Branch.
static readonly AdaptyExternalAttributionProvider Tenjin = new("tenjin")
 Tenjin.
static readonly AdaptyExternalAttributionProvider Custom = new("custom")
 A custom attribution integration configured in the Adapty Dashboard.

Detailed Description

An external attribution provider recognized by the Adapty backend.

The shared instances are a snapshot of the providers known when this SDK version was released, not the limit: the backend adds providers without an SDK release, and one added later is built with AdaptyExternalAttributionProvider(string).

Constructor & Destructor Documentation

◆ AdaptyExternalAttributionProvider()

AdaptySDK.AdaptyExternalAttributionProvider.AdaptyExternalAttributionProvider ( string rawValue)

Creates a provider from its backend identifier, with surrounding whitespace trimmed — for a provider the backend added after the shared instances were snapshotted.

Parameters
rawValueThe identifier the Adapty backend knows the provider by.
Exceptions
ArgumentNullExceptionThe identifier is null.

Member Function Documentation

◆ Equals() [1/2]

bool AdaptySDK.AdaptyExternalAttributionProvider.Equals ( AdaptyExternalAttributionProvider other)

Whether the other provider carries the same identifier.

Parameters
otherThe provider to compare with.

◆ Equals() [2/2]

override bool AdaptySDK.AdaptyExternalAttributionProvider.Equals ( object obj)

Whether the other object is a provider carrying the same identifier.

Parameters
objThe object to compare with.

◆ GetHashCode()

override int AdaptySDK.AdaptyExternalAttributionProvider.GetHashCode ( )

The hash code of the identifier.

◆ operator!=()

bool AdaptySDK.AdaptyExternalAttributionProvider.operator!= ( AdaptyExternalAttributionProvider a,
AdaptyExternalAttributionProvider b )
static

Whether the providers carry different identifiers, or exactly one is null.

Parameters
aThe left provider.
bThe right provider.

◆ operator==()

bool AdaptySDK.AdaptyExternalAttributionProvider.operator== ( AdaptyExternalAttributionProvider a,
AdaptyExternalAttributionProvider b )
static

Whether both providers carry the same identifier, or both are null.

Parameters
aThe left provider.
bThe right provider.

◆ ToString()

override string AdaptySDK.AdaptyExternalAttributionProvider.ToString ( )

The identifier itself.

Member Data Documentation

◆ Adjust

readonly AdaptyExternalAttributionProvider AdaptySDK.AdaptyExternalAttributionProvider.Adjust = new("adjust")
static

Adjust.

◆ AppleAds

readonly AdaptyExternalAttributionProvider AdaptySDK.AdaptyExternalAttributionProvider.AppleAds = new("apple_search_ads")
static

Apple Search Ads.

◆ Appsflyer

readonly AdaptyExternalAttributionProvider AdaptySDK.AdaptyExternalAttributionProvider.Appsflyer = new("appsflyer")
static

AppsFlyer.

◆ Branch

readonly AdaptyExternalAttributionProvider AdaptySDK.AdaptyExternalAttributionProvider.Branch = new("branch")
static

Branch.

◆ Custom

readonly AdaptyExternalAttributionProvider AdaptySDK.AdaptyExternalAttributionProvider.Custom = new("custom")
static

A custom attribution integration configured in the Adapty Dashboard.

◆ RawValue

readonly string AdaptySDK.AdaptyExternalAttributionProvider.RawValue

The identifier the Adapty backend knows the provider by.

◆ Tenjin

readonly AdaptyExternalAttributionProvider AdaptySDK.AdaptyExternalAttributionProvider.Tenjin = new("tenjin")
static

Tenjin.


The documentation for this class was generated from the following file: