本文整理匯總了TypeScript中@ionic-native/adjust.Adjust.trackEvent方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript Adjust.trackEvent方法的具體用法?TypeScript Adjust.trackEvent怎麽用?TypeScript Adjust.trackEvent使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類@ionic-native/adjust.Adjust
的用法示例。
在下文中一共展示了Adjust.trackEvent方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: trackCallbackEvent
trackCallbackEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('34vgg9');
adjustEvent.addCallbackParameter('key', 'stuff');
adjustEvent.addCallbackParameter('x', 'y');
adjustEvent.addCallbackParameter('key', 'lock');
this.adjust.trackEvent(adjustEvent);
}
示例2: trackPartnerEvent
trackPartnerEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('w788qs');
adjustEvent.addPartnerParameter('foo', 'bar');
adjustEvent.addPartnerParameter('x', 'y');
adjustEvent.addPartnerParameter('foo', 'foot');
adjustEvent.addPartnerParameter('x', 'z');
this.adjust.trackEvent(adjustEvent);
}
示例3: trackSimpleEventWithCallbackId
trackSimpleEventWithCallbackId() {
const adjustEvent: AdjustEvent = new AdjustEvent('g3mfiw');
adjustEvent.setCallbackId("test-callback-id");
this.adjust.trackEvent(adjustEvent);
}
示例4: trackRevenueEvent
trackRevenueEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('a4fd35');
adjustEvent.setRevenue(0.01, 'USD');
this.adjust.trackEvent(adjustEvent);
}
示例5: trackSimpleEvent
trackSimpleEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('g3mfiw');
this.adjust.trackEvent(adjustEvent);
}