InsightTracker QML Type

Provides an interface to the Qt Insight Tracker. 更多...

import 語句: import QtInsightTracker 6.15
實例化: QInsightTracker

特性

方法

詳細描述

特性文檔編製

enabled : bool

This property can be used to enable and disable the tracker.

方法文檔編製

clearCache ()

Clear all events from the local cache.

interaction ( string name , const QString & contextKey , double contextValue , string category )

Send a interaction event name with additional context data. Context data can be sent as a key/value pair in contextKey and contextValue . The optional category parameter can be used to filter tracking of the events.

另請參閱 QInsightConfiguration::setCategories .

interaction ( string name , string category )

Send a interaction event name . The optional category parameter can be used to filter tracking of the events.

另請參閱 QInsightConfiguration::setCategories .

startNewSession ()

Start a new session A new session id is generated and then used in all subsequent events.

transition ( string name , const QString & contextKey , double contextValue )

Send a transition event name with additional context data. Context data can be sent as a key/value pair in contextKey and contextValue . Use transition events to track the current state of the UI. Transition events can be sent whenever your application changes UI views or states, or whenever there are other UI flow changes such as dialog and notification pop-ups.

transition ( string name )

Send a transition event name . Use transition events to track the current state of the UI. Transition events can be sent whenever your application changes UI views or states, or whenever there are other UI flow changes such as dialog and notification pop-ups.