C# Class Mixpanel.NET.Engage.MixpanelEngage

Inheritance: MixpanelClientBase, IEngage
显示文件 Open project: fistbump/framework Class Usage Examples

Public Methods

Method Description
Increment ( string distinctId, object>.IDictionary incrementProperties ) : bool
MixpanelEngage ( string token, IMixpanelHttp http = null, EngageOptions options = null ) : System

Creates a new Mixpanel Engage client for a given API token

Set ( string distinctId, object>.IDictionary setProperties ) : bool

Private Methods

Method Description
Engage ( string distinctId, object>.IDictionary setProperties = null, object>.IDictionary incrementProperties = null ) : bool

Method Details

Increment() public method

public Increment ( string distinctId, object>.IDictionary incrementProperties ) : bool
distinctId string
incrementProperties object>.IDictionary
return bool

MixpanelEngage() public method

Creates a new Mixpanel Engage client for a given API token
public MixpanelEngage ( string token, IMixpanelHttp http = null, EngageOptions options = null ) : System
token string The API token for MixPanel
http IMixpanelHttp Optional: An implementation of IMixpanelHttp, /// Determines if class names and properties will be serialized to JSON literally. /// If false (the default) spaces will be inserted between camel-cased words for improved /// readability on the reporting side. ///
options EngageOptions Optional: Specific options for the API
return System

Set() public method

public Set ( string distinctId, object>.IDictionary setProperties ) : bool
distinctId string
setProperties object>.IDictionary
return bool