Interface IAnalytics
- Namespace
- HomaGames.HomaBelly
- Assembly
- HomaGames.HomaBelly.Core.dll
public interface IAnalytics
Properties
SupportsEditor
bool SupportsEditor { get; }
Property Value
Methods
Initialize()
void Initialize()
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
TrackAdEvent(AdAction, AdType, string, string)
void TrackAdEvent(AdAction adAction, AdType adType, string adNetwork, string adPlacementId)
Parameters
TrackDesignEvent(string, float)
void TrackDesignEvent(string eventName, float eventValue = 0)
Parameters
TrackErrorEvent(ErrorSeverity, string)
void TrackErrorEvent(ErrorSeverity severity, string message)
Parameters
severityErrorSeveritymessagestring
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 purchased
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
TrackProgressionEvent(ProgressionStatus, string, int)
void TrackProgressionEvent(ProgressionStatus progressionStatus, string progression01, int score = 0)
Parameters
progressionStatusProgressionStatusprogression01stringscoreint
TrackProgressionEvent(ProgressionStatus, string, string, int)
void TrackProgressionEvent(ProgressionStatus progressionStatus, string progression01, string progression02, int score = 0)
Parameters
progressionStatusProgressionStatusprogression01stringprogression02stringscoreint
TrackProgressionEvent(ProgressionStatus, string, string, string, int)
void TrackProgressionEvent(ProgressionStatus progressionStatus, string progression01, string progression02, string progression03, int score = 0)
Parameters
progressionStatusProgressionStatusprogression01stringprogression02stringprogression03stringscoreint
TrackResourceEvent(ResourceFlowType, string, float, string, string)
void TrackResourceEvent(ResourceFlowType flowType, string currency, float amount, string itemType, string itemId)
Parameters
flowTypeResourceFlowTypecurrencystringamountfloatitemTypestringitemIdstring
ValidateIntegration()
void ValidateIntegration()