Split long lines

Done by https://github.com/matrix-org/matrix-analytics-events/pull/16
This commit is contained in:
Benoit Marty 2022-01-20 15:36:16 +01:00
parent 81b8260eb2
commit 000806550a
3 changed files with 31 additions and 15 deletions

View File

@ -30,7 +30,8 @@ data class PerformanceTimer(
*/
val context: String? = null,
/**
* Client defined, an optional value to indicate how many items were handled during the operation.
* Client defined, an optional value to indicate how many items were
* handled during the operation.
*/
val itemCount: Int? = null,
/**
@ -55,7 +56,8 @@ data class PerformanceTimer(
InitialSyncRequest,
/**
* The time taken to display an event in the timeline that was opened from a notification.
* The time taken to display an event in the timeline that was opened
* from a notification.
*/
NotificationsOpenEvent,
@ -65,7 +67,8 @@ data class PerformanceTimer(
StartupIncrementalSync,
/**
* The duration of an initial /sync request during startup (if the store has been wiped).
* The duration of an initial /sync request during startup (if the store
* has been wiped).
*/
StartupInitialSync,
@ -80,7 +83,8 @@ data class PerformanceTimer(
StartupStorePreload,
/**
* The time to load all data from the store (including StartupStorePreload time).
* The time to load all data from the store (including
* StartupStorePreload time).
*/
StartupStoreReady,
}

View File

@ -54,12 +54,14 @@ data class Screen(
Group,
/**
* The Home tab on iOS | possibly the same on Android? | The Home space on Web?
* The Home tab on iOS | possibly the same on Android? | The Home space
* on Web?
*/
Home,
/**
* The screen that displays the login flow (when the user already has an account).
* The screen that displays the login flow (when the user already has an
* account).
*/
Login,
@ -89,7 +91,8 @@ data class Screen(
MobilePeople,
/**
* The Rooms tab on mobile that lists all the (non-direct) rooms you've joined.
* The Rooms tab on mobile that lists all the (non-direct) rooms you've
* joined.
*/
MobileRooms,
@ -129,7 +132,8 @@ data class Screen(
MyGroups,
/**
* The screen that displays the registration flow (when the user wants to create an account)
* The screen that displays the registration flow (when the user wants
* to create an account)
*/
Register,
@ -139,7 +143,8 @@ data class Screen(
Room,
/**
* The screen shown when tapping the name of a room from the Room screen.
* The screen shown when tapping the name of a room from the Room
* screen.
*/
RoomDetails,
@ -149,7 +154,8 @@ data class Screen(
RoomDirectory,
/**
* The screen that lists all the user's rooms and let them filter the rooms.
* The screen that lists all the user's rooms and let them filter the
* rooms.
*/
RoomFilter,
@ -164,7 +170,8 @@ data class Screen(
RoomNotifications,
/**
* The screen that allows you to search for messages/files in a specific room.
* The screen that allows you to search for messages/files in a specific
* room.
*/
RoomSearch,
@ -174,7 +181,8 @@ data class Screen(
RoomSettings,
/**
* The screen that allows you to see all of the files sent in a specific room.
* The screen that allows you to see all of the files sent in a specific
* room.
*/
RoomUploads,

View File

@ -22,15 +22,19 @@ import im.vector.app.features.analytics.itf.VectorAnalyticsEvent
// https://github.com/matrix-org/matrix-analytics-events/
/**
* Triggered when the user becomes unauthenticated without actually clicking sign out(E.g. Due to expiry of an access token without a way to refresh).
* Triggered when the user becomes unauthenticated without actually clicking
* sign out(E.g. Due to expiry of an access token without a way to refresh).
*/
data class UnauthenticatedError(
/**
* The error code as defined in matrix spec. The source of this error is from the homeserver.
* The error code as defined in matrix spec. The source of this error is
* from the homeserver.
*/
val errorCode: ErrorCode,
/**
* The reason for the error. The source of this error is from the homeserver, the reason can vary and is subject to change so there is no enum of possible values.
* The reason for the error. The source of this error is from the
* homeserver, the reason can vary and is subject to change so there is
* no enum of possible values.
*/
val errorReason: String,
/**