AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Classes

NameDescription
Class CustomEvent

Represents any useful event you wish to record in your application. The example below shows how to use CustomEvent

CustomEvent customEvent = new CustomEvent("level_complete");   
                
customEvent.AddAttribute("LevelName","Level1");
customEvent.AddAttribute("Successful","True");
customEvent.AddMetric("Score",12345);
customEvent.AddMetric("TimeInLevel",64);   
                
analyticsManager.RecordEvent(customEvent);
            

Class MobileAnalyticsErrorEventArgs

Encapsulates the information needed to notify errors of Mobile Analytics Manager.

Class MobileAnalyticsManager

MobileAnalyticsManager is the entry point to recording analytic events for your application

Class MobileAnalyticsManagerConfig

Represents configuration for Mobile Analytics Manager.

Class MonetizationEvent

Represents purchase event in your application. The event attribute must be set by user. The example below shows how to use MonetizationEvent

MonetizationEvent monetizationEvent = new MonetizationEvent();
            
monetizationEvent.Quantity = 3.0;
monetizationEvent.ItemPrice = 1.99;
monetizationEvent.ProductId = "ProductId123";
monetizationEvent.ItemPriceFormatted = "$1.99";
monetizationEvent.Store = "Apple";
monetizationEvent.TransactionId = "TransactionId123";
monetizationEvent.Currency = "USD";     
            
analyticsManager.RecordEvent(monetizationEvent);
             

Interfaces

NameDescription
Interface IEvent

Interface for Mobile Analytics Event.