C# 클래스 AdjustSdk.Adjust

The main interface to Adjust. Use the methods of this class to tell Adjust about the usage of your app. See the README for details.
파일 보기 프로젝트 열기: adjust/windows_sdk

공개 메소드들

메소드 설명
AppWillOpenUrl ( Uri uri ) : void

Read the URL that opened the application to search for an adjust deep link

ApplicationActivated ( ) : void

Tell Adjust that the application is activated (brought to foreground). This is used to keep track of the current session state. This should only be used if the VisibilityChanged mechanism doesn't work

ApplicationDeactivated ( ) : void

Tell Adjust that the application is deactivated (sent to background). This is used to calculate session attributes like session length and subsession count. This should only be used if the VisibilityChanged mechanism doesn't work

ApplicationLaunching ( AdjustConfig adjustConfig ) : void

Tell Adjust that the application was launched. This is required to initialize Adjust. Call this in the Application_Launching method of your Windows.UI.Xaml.Application class.

GetWindowsAdId ( ) : string

Get the Windows Advertising Id

IsEnabled ( ) : bool

Check if the SDK is enabled or disabled

SetEnabled ( bool enabled ) : void

Enable or disable the adjust SDK

SetOfflineMode ( bool offlineMode ) : void

Puts the SDK in offline or online mode

SetupLogging ( Action logDelegate, LogLevel logLevel = null ) : void
TrackEvent ( AdjustEvent adjustEvent ) : void

Tell Adjust that a particular event has happened.

비공개 메소드들

메소드 설명
Adjust ( ) : System
VisibilityChanged ( CoreWindow sender, VisibilityChangedEventArgs args ) : void

Tell Adjust that the application is activated (brought to foreground) or deactivated (sent to background).

메소드 상세

AppWillOpenUrl() 공개 정적인 메소드

Read the URL that opened the application to search for an adjust deep link
public static AppWillOpenUrl ( Uri uri ) : void
uri System.Uri
리턴 void

ApplicationActivated() 공개 정적인 메소드

Tell Adjust that the application is activated (brought to foreground). This is used to keep track of the current session state. This should only be used if the VisibilityChanged mechanism doesn't work
public static ApplicationActivated ( ) : void
리턴 void

ApplicationDeactivated() 공개 정적인 메소드

Tell Adjust that the application is deactivated (sent to background). This is used to calculate session attributes like session length and subsession count. This should only be used if the VisibilityChanged mechanism doesn't work
public static ApplicationDeactivated ( ) : void
리턴 void

ApplicationLaunching() 공개 정적인 메소드

Tell Adjust that the application was launched. This is required to initialize Adjust. Call this in the Application_Launching method of your Windows.UI.Xaml.Application class.
public static ApplicationLaunching ( AdjustConfig adjustConfig ) : void
adjustConfig AdjustConfig /// The object that configures the adjust SDK. ///
리턴 void

GetWindowsAdId() 공개 정적인 메소드

Get the Windows Advertising Id
public static GetWindowsAdId ( ) : string
리턴 string

IsEnabled() 공개 정적인 메소드

Check if the SDK is enabled or disabled
public static IsEnabled ( ) : bool
리턴 bool

SetEnabled() 공개 정적인 메소드

Enable or disable the adjust SDK
public static SetEnabled ( bool enabled ) : void
enabled bool The flag to enable or disable the adjust SDK
리턴 void

SetOfflineMode() 공개 정적인 메소드

Puts the SDK in offline or online mode
public static SetOfflineMode ( bool offlineMode ) : void
offlineMode bool
리턴 void

SetupLogging() 공개 정적인 메소드

public static SetupLogging ( Action logDelegate, LogLevel logLevel = null ) : void
logDelegate Action
logLevel LogLevel
리턴 void

TrackEvent() 공개 정적인 메소드

Tell Adjust that a particular event has happened.
public static TrackEvent ( AdjustEvent adjustEvent ) : void
adjustEvent AdjustEvent /// The object that configures the event. ///
리턴 void