CrossPromotionHelper
Overview
Android SDK cross-promotion helper class.
Go back to the SDK reference index.
Class declaration
public class CrossPromotionHelper
Import the class
import com.appsflyer.share.CrossPromotionHelper;
import com.appsflyer.share.CrossPromotionHelper
Methods
logAndOpenStore
Method signature
public static void logAndOpenStore(@NonNull Context context,
String promoted_app_id,
String campaign,
Map<String, String> userParams)
Description
Input arguments
Type | Name | Description |
---|---|---|
Context | context | Application / Activity Context. |
String | promoted_app_id | |
String | campaign | Name of cross-promotion campaign. |
Map<String, String> | userParams | Optional. |
Returns
void
.
logCrossPromoteImpression
Method signature
public static void logCrossPromoteImpression(@NonNull Context context,
String appID,
String campaign,
Map<String, String> userParams)
Description
Input arguments
Type | Name | Description |
---|---|---|
Context | context | Application / Activity Context. |
String | appID | |
String | campaign | Name of cross-promotion campaign. |
Map<String, String> | userParams | Optional. |
Returns
void
.
setUrl
Method signature
public static void setUrl(Map<String, String> mapOfURLs)
Description
Input arguments
Type | Name | Description |
---|---|---|
Map<String, String> | mapOfURLs |
Returns
void
.
Updated about 1 year ago