-
Notifications
You must be signed in to change notification settings - Fork 0
5.1 AotterTrek SDK ver.1.6.0 migration guide
superwave edited this page Nov 10, 2017
·
1 revision
1.6.0 - add ATTrackerType to ATTtracker for a required parameter while engage the item.
ATTrackerType
is enum-type contains POST
, PLACE
, GAME
, VIDEO
, MUSIC
Choose any one you need from the above items.
[[ATTracker sharedAPI] ATTrackEngageEntityWithId:@"testPostId"
title:@"im title"
reference:@"test-referemce"
url:@"http://agirls.aotter.net"
coverImg:@"http://placehold.it/300x300"
publishedDate:[NSDate date]
categories:@[@"imCategoryTest"]];
[[ATTracker sharedAPI] ATTrackEngageEntityWithId:@"testPostId"
type:ATTrackerTypePOST //added
title:@"im title"
reference:@"test-referemce"
url:@"http://agirls.aotter.net"
coverImg:@"http://placehold.it/300x300"
publishedDate:[NSDate date]
categories:@[@"imCategoryTest"]];