本文整理匯總了TypeScript中@ionic-native/adjust.AdjustEvent類的典型用法代碼示例。如果您正苦於以下問題:TypeScript AdjustEvent類的具體用法?TypeScript AdjustEvent怎麽用?TypeScript AdjustEvent使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了AdjustEvent類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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: trackRevenueEvent
trackRevenueEvent() {
const adjustEvent: AdjustEvent = new AdjustEvent('a4fd35');
adjustEvent.setRevenue(0.01, 'USD');
this.adjust.trackEvent(adjustEvent);
}
示例4: trackSimpleEventWithCallbackId
trackSimpleEventWithCallbackId() {
const adjustEvent: AdjustEvent = new AdjustEvent('g3mfiw');
adjustEvent.setCallbackId("test-callback-id");
this.adjust.trackEvent(adjustEvent);
}