Interface IAttribution
- Namespace
- HomaGames.HomaBelly
- Assembly
- HomaGames.HomaBelly.Core.dll
public interface IAttribution
Properties
SupportsEditor
bool SupportsEditor { get; }
Property Value
Methods
Initialize(string)
[Obsolete("This method is deprecated. Implement the IAttributionWithInitializationCallback instead")]
void Initialize(string appSubversion = "")
Parameters
appSubversionstring
OnApplicationPause(bool)
void OnApplicationPause(bool pause)
Parameters
pausebool
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
consentbooltrue 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
consentbooltrue 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
consentbooltrue 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
consentbooltrue if user accepted, false otherwise
TrackAdRevenue(AdRevenueData)
Tracks an Ad Revenue event
void TrackAdRevenue(AdRevenueData adRevenueData)
Parameters
adRevenueDataAdRevenueDataObject holding all ad revenue data to be sent
TrackEvent(string, Dictionary<string, object>)
void TrackEvent(string eventName, Dictionary<string, object> arguments = null)
Parameters
eventNamestringargumentsDictionary<string, object>
TrackEventWithPartnerParameters(string, Dictionary<string, object>, Dictionary<string, object>)
void TrackEventWithPartnerParameters(string eventName, Dictionary<string, object> partnerParameters, Dictionary<string, object> arguments = null)
Parameters
eventNamestringpartnerParametersDictionary<string, object>argumentsDictionary<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
productIdstringThe product id puchased
currencyCodestringThe currency code of the purchase
unitPricedoubleThe unit price
transactionIdstring(Optional) The transaction id for the IAP validation
payloadstring(Optional - Only Android) Payload for Android IAP validation
isRestoredbool(Optional) If the purchase is restored. Default is false
ValidateIntegration()
void ValidateIntegration()