diff --git a/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt b/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt index 9311534..c372e1c 100644 --- a/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt +++ b/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt @@ -127,6 +127,16 @@ data class Interaction( */ MobileRoomThreadSummaryItem("MobileRoomThreadSummaryItem"), + /** + * User disabled the Optimised Media Uploads setting. + */ + MobileSettingsOptimizeMediaUploadsDisabled("MobileSettingsOptimizeMediaUploadsDisabled"), + + /** + * User enabled the Optimised Media Uploads setting. + */ + MobileSettingsOptimizeMediaUploadsEnabled("MobileSettingsOptimizeMediaUploadsEnabled"), + /** * User validated the creation of a new space. */ diff --git a/schemas/Interaction.json b/schemas/Interaction.json index 9615574..c504c73 100644 --- a/schemas/Interaction.json +++ b/schemas/Interaction.json @@ -99,7 +99,9 @@ {"const": "MobileAllChatsFilterPeople", "description": "User tapped the People filter in the All Chats filter tab."}, {"const": "MobileSpaceCreationValidated", "description": "User validated the creation of a new space."}, {"const": "MobileRoomListRoomContextMenuUnreadToggle", "description": "User adjusted their unread rooms using the context menu on a room in the room list."}, - {"const": "MobileRoomListRoomContextMenuFavouriteToggle", "description": "User adjusted their favourite rooms using the context menu on a room in the room list."} + {"const": "MobileRoomListRoomContextMenuFavouriteToggle", "description": "User adjusted their favourite rooms using the context menu on a room in the room list."}, + {"const": "MobileSettingsOptimizeMediaUploadsEnabled", "description": "User enabled the Optimised Media Uploads setting."}, + {"const": "MobileSettingsOptimizeMediaUploadsDisabled", "description": "User disabled the Optimised Media Uploads setting."} ] }, "index": { diff --git a/types/swift/Interaction.swift b/types/swift/Interaction.swift index 48a9cc4..a34d320 100644 --- a/types/swift/Interaction.swift +++ b/types/swift/Interaction.swift @@ -72,6 +72,10 @@ extension AnalyticsEvent { case MobileRoomThreadListButton = "MobileRoomThreadListButton" /// User tapped on a thread summary item on Room screen. case MobileRoomThreadSummaryItem = "MobileRoomThreadSummaryItem" + /// User disabled the Optimised Media Uploads setting. + case MobileSettingsOptimizeMediaUploadsDisabled = "MobileSettingsOptimizeMediaUploadsDisabled" + /// User enabled the Optimised Media Uploads setting. + case MobileSettingsOptimizeMediaUploadsEnabled = "MobileSettingsOptimizeMediaUploadsEnabled" /// User validated the creation of a new space. case MobileSpaceCreationValidated = "MobileSpaceCreationValidated" /// User tapped on the filter button on ThreadList screen.