Skip to content

Commit c12e0fd

Browse files
committed
Improve sendVideoAttentionTime comment, making it clear what the argument represents
1 parent d721aae commit c12e0fd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

thrift/native.thrift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,14 @@ service Gallery {
186186
service Videos {
187187
void insertVideos(1:list<VideoSlot> videoSlots),
188188
void updateVideos(1:list<VideoSlot> videoSlots),
189-
/*
189+
/**
190190
* This method is used to submit media tracking events for videos from the web layer.
191-
* */
191+
*/
192192
void sendVideoEvent(1:VideoEvent videoEvent),
193-
/*
193+
/**
194194
* This method is used to submit component attention time tracking updates for videos from the web layer.
195-
* */
195+
* The argument is a map of videoIds to attention milliseconds, matching the native app tracking submission type.
196+
*/
196197
void sendVideoAttentionTime(1:map<string, i64> componentAttentionMs),
197198
/**
198199
* This method is used by the web layer to instruct the native layer to activate or deactivate fullscreen mode

0 commit comments

Comments
 (0)