Table of Contents

Interface IAttribution

Namespace
HomaGames.HomaBelly
Assembly
HomaGames.HomaBelly.Core.dll
public interface IAttribution

Properties

SupportsEditor

bool SupportsEditor { get; }

Property Value

bool

Methods

Initialize(string)

[Obsolete("This method is deprecated. Implement the IAttributionWithInitializationCallback instead")]
void Initialize(string appSubversion = "")

Parameters

appSubversion string

OnApplicationPause(bool)

void OnApplicationPause(bool pause)

Parameters

pause bool

SetAnalyticsTrackingConsentGranted(bool)

Specifies if the user granted consent for analytics tracking

[Obsolete("This method is now obsolete and will be removed in a future version.")]
void SetAnalyticsTrackingConsentGranted(bool consent)

Parameters

consent bool

true if user accepted, false otherwise

SetTailoredAdsConsentGranted(bool)

Specifies if the user granted consent for showing tailored ads

[Obsolete("This method is now obsolete and will be removed in a future version.")]
void SetTailoredAdsConsentGranted(bool consent)

Parameters

consent bool

true if user accepted, false otherwise

SetTermsAndConditionsAcceptance(bool)

Specifies if the user accepted privacy policy and terms and conditions

[Obsolete("This method is now obsolete and will be removed in a future version.")]
void SetTermsAndConditionsAcceptance(bool consent)

Parameters

consent bool

true if user accepted, false otherwise

SetUserIsAboveRequiredAge(bool)

Specifies if the user asserted being above the required age

[Obsolete("This method is now obsolete and will be removed in a future version.")]
void SetUserIsAboveRequiredAge(bool consent)

Parameters

consent bool

true if user accepted, false otherwise

TrackAdRevenue(AdRevenueData)

Tracks an Ad Revenue event

void TrackAdRevenue(AdRevenueData adRevenueData)

Parameters

adRevenueData AdRevenueData

Object holding all ad revenue data to be sent

TrackEvent(string, Dictionary<string, object>)

void TrackEvent(string eventName, Dictionary<string, object> arguments = null)

Parameters

eventName string
arguments Dictionary<string, object>

TrackEventWithPartnerParameters(string, Dictionary<string, object>, Dictionary<string, object>)

void TrackEventWithPartnerParameters(string eventName, Dictionary<string, object> partnerParameters, Dictionary<string, object> arguments = null)

Parameters

eventName string
partnerParameters Dictionary<string, object>
arguments Dictionary<string, object>

TrackInAppPurchaseEvent(string, string, double, string, string, bool)

Tracks an In App Purchase event. Purchase can be verified if transactionId and payload are informed for the corresponding platforms

void TrackInAppPurchaseEvent(string productId, string currencyCode, double unitPrice, string transactionId = null, string payload = null, bool isRestored = false)

Parameters

productId string

The product id puchased

currencyCode string

The currency code of the purchase

unitPrice double

The unit price

transactionId string

(Optional) The transaction id for the IAP validation

payload string

(Optional - Only Android) Payload for Android IAP validation

isRestored bool

(Optional) If the purchase is restored. Default is false

ValidateIntegration()

void ValidateIntegration()