C# Class AdjustTest.Pcl.MockActivityHandler

Inheritance: IActivityHandler
Mostra file Open project: adjust/windows_sdk Class Usage Examples

Public Methods

Method Description
FinishedTrackingActivity ( string>.Dictionary jsonDict ) : void
GetAttributionPackage ( ) : ActivityPackage
GetDeeplinkClickPackage ( string>.Dictionary extraParameters, AdjustAttribution attribution ) : ActivityPackage
Init ( AdjustConfig adjustConfig, DeviceUtil deviceUtil ) : void
IsEnabled ( ) : bool
MockActivityHandler ( MockLogger mockLogger ) : System
OpenUrl ( Uri uri ) : void
SetAskingAttribution ( bool askingAttribution ) : void
SetEnabled ( bool enabled ) : void
SetOfflineMode ( bool offline ) : void
TrackEvent ( AdjustEvent adjustEvent ) : void
TrackSubsessionEnd ( ) : void
TrackSubsessionStart ( ) : void
UpdateAttribution ( AdjustAttribution attribution ) : bool

Method Details

FinishedTrackingActivity() public method

public FinishedTrackingActivity ( string>.Dictionary jsonDict ) : void
jsonDict string>.Dictionary
return void

GetAttributionPackage() public method

public GetAttributionPackage ( ) : ActivityPackage
return AdjustSdk.Pcl.ActivityPackage

GetDeeplinkClickPackage() public method

public GetDeeplinkClickPackage ( string>.Dictionary extraParameters, AdjustAttribution attribution ) : ActivityPackage
extraParameters string>.Dictionary
attribution AdjustSdk.AdjustAttribution
return AdjustSdk.Pcl.ActivityPackage

Init() public method

public Init ( AdjustConfig adjustConfig, DeviceUtil deviceUtil ) : void
adjustConfig AdjustSdk.AdjustConfig
deviceUtil DeviceUtil
return void

IsEnabled() public method

public IsEnabled ( ) : bool
return bool

MockActivityHandler() public method

public MockActivityHandler ( MockLogger mockLogger ) : System
mockLogger MockLogger
return System

OpenUrl() public method

public OpenUrl ( Uri uri ) : void
uri System.Uri
return void

SetAskingAttribution() public method

public SetAskingAttribution ( bool askingAttribution ) : void
askingAttribution bool
return void

SetEnabled() public method

public SetEnabled ( bool enabled ) : void
enabled bool
return void

SetOfflineMode() public method

public SetOfflineMode ( bool offline ) : void
offline bool
return void

TrackEvent() public method

public TrackEvent ( AdjustEvent adjustEvent ) : void
adjustEvent AdjustSdk.AdjustEvent
return void

TrackSubsessionEnd() public method

public TrackSubsessionEnd ( ) : void
return void

TrackSubsessionStart() public method

public TrackSubsessionStart ( ) : void
return void

UpdateAttribution() public method

public UpdateAttribution ( AdjustAttribution attribution ) : bool
attribution AdjustSdk.AdjustAttribution
return bool