C# 클래스 UnityEngine.Analytics.Analytics

상속: Object
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
CustomEvent ( string customEventName ) : AnalyticsResult

Custom Events (optional).

CustomEvent ( string customEventName, object>.IDictionary eventData ) : AnalyticsResult
CustomEvent ( string customEventName, Vector3 position ) : AnalyticsResult

Custom Events (optional).

FlushEvents ( ) : AnalyticsResult

Attempts to flush immediately all queued analytics events to the network and filesystem cache if possible (optional).

SetUserBirthYear ( int birthYear ) : AnalyticsResult

User Demographics (optional).

SetUserGender ( Gender gender ) : AnalyticsResult

User Demographics (optional).

SetUserId ( string userId ) : AnalyticsResult

User Demographics (optional).

Transaction ( string productId, decimal amount, string currency ) : AnalyticsResult

Tracking Monetization (optional).

Transaction ( string productId, decimal amount, string currency, string receiptPurchaseData, string signature ) : AnalyticsResult

Tracking Monetization (optional).

비공개 메소드들

메소드 설명
GetUnityAnalyticsHandler ( ) : UnityAnalyticsHandler
Transaction ( string productId, decimal amount, string currency, string receiptPurchaseData, string signature, bool usingIAPService ) : AnalyticsResult

메소드 상세

CustomEvent() 공개 정적인 메소드

Custom Events (optional).

public static CustomEvent ( string customEventName ) : AnalyticsResult
customEventName string
리턴 AnalyticsResult

CustomEvent() 공개 정적인 메소드

public static CustomEvent ( string customEventName, object>.IDictionary eventData ) : AnalyticsResult
customEventName string
eventData object>.IDictionary
리턴 AnalyticsResult

CustomEvent() 공개 정적인 메소드

Custom Events (optional).

public static CustomEvent ( string customEventName, Vector3 position ) : AnalyticsResult
customEventName string
position Vector3
리턴 AnalyticsResult

FlushEvents() 공개 정적인 메소드

Attempts to flush immediately all queued analytics events to the network and filesystem cache if possible (optional).

public static FlushEvents ( ) : AnalyticsResult
리턴 AnalyticsResult

SetUserBirthYear() 공개 정적인 메소드

User Demographics (optional).

public static SetUserBirthYear ( int birthYear ) : AnalyticsResult
birthYear int Birth year of user. Must be 4-digit year format, only.
리턴 AnalyticsResult

SetUserGender() 공개 정적인 메소드

User Demographics (optional).

public static SetUserGender ( Gender gender ) : AnalyticsResult
gender Gender Gender of user can be "Female", "Male", or "Unknown".
리턴 AnalyticsResult

SetUserId() 공개 정적인 메소드

User Demographics (optional).

public static SetUserId ( string userId ) : AnalyticsResult
userId string User id.
리턴 AnalyticsResult

Transaction() 공개 정적인 메소드

Tracking Monetization (optional).

public static Transaction ( string productId, decimal amount, string currency ) : AnalyticsResult
productId string The id of the purchased item.
amount decimal The price of the item.
currency string Abbreviation of the currency used for the transaction. For example “USD” (United States Dollars). See http:en.wikipedia.orgwikiISO_4217 for a standardized list of currency abbreviations.
리턴 AnalyticsResult

Transaction() 공개 정적인 메소드

Tracking Monetization (optional).

public static Transaction ( string productId, decimal amount, string currency, string receiptPurchaseData, string signature ) : AnalyticsResult
productId string The id of the purchased item.
amount decimal The price of the item.
currency string Abbreviation of the currency used for the transaction. For example “USD” (United States Dollars). See http:en.wikipedia.orgwikiISO_4217 for a standardized list of currency abbreviations.
receiptPurchaseData string Receipt data (iOS) receipt ID (android) for in-app purchases to verify purchases with Apple iTunes / Google Play. Use null in the absence of receipts.
signature string Android receipt signature. If using native Android use the INAPP_DATA_SIGNATURE string containing the signature of the purchase data that was signed with the private key of the developer. The data signature uses the RSASSA-PKCS1-v1_5 scheme. Pass in null in absence of a signature.
리턴 AnalyticsResult