diff --git a/README.md b/README.md index 2892504..319191b 100644 --- a/README.md +++ b/README.md @@ -237,15 +237,6 @@ CXDmpUserIdentifier* userId = [[CXDmpUserIdentifier alloc] initWithIdentifier:@" CXPerformanceEventBuilder* builder = [CXPerformanceEventBuilder makeBuilderWithName:@"UserClickedOnButton#123" type:@"click" origin:@"xyz-sample" siteId:@"1234567890" andUserIds:@[userId]]; ``` -### Force send events ### -To dispatch events without adding to the queue, you can use the ```Cxense.forceReportEvent``` method - -```swift -Cxense.forceReportEvent(event) { isSent, error in - ... -} -``` - **Builder functions for setting parameters:** - `setTime(_ interval: TimeInterval)` - Set exact time of an event. @@ -292,6 +283,15 @@ if (error != nil) { [CXCxense reportEvent:event]; ``` +### Force send events ### +To dispatch events without adding to the queue, you can use the ```Cxense.forceReportEvent``` method + +```swift +Cxense.forceReportEvent(event) { isSent, error in + ... +} +``` + ### Track active time The SDK can track active time for page view events. For example - how long user had read specific article in the application. That can be easily done by using following function with event's name: