toggle menu
bugsnag-android-core
6.3.0
androidJvm
switch theme
search in API
bugsnag-android-core
/
com.bugsnag.android
/
Session
Session
class
Session
:
JsonStream.Streamable
,
UserAware
Represents a contiguous session in an application.
Members
Properties
api
Key
Link copied to clipboard
@get:
NonNull
open
var
apiKey
:
String
app
Link copied to clipboard
@get:
NonNull
open
val
app
:
App
device
Link copied to clipboard
@get:
NonNull
open
val
device
:
Device
id
Link copied to clipboard
@get:
NonNull
open
var
id
:
String
started
At
Link copied to clipboard
@get:
NonNull
open
var
startedAt
:
Date
user
Link copied to clipboard
@get:
NonNull
open
val
user
:
User
Functions
get
User
Link copied to clipboard
abstract
fun
getUser
(
)
:
User
set
User
Link copied to clipboard
open
fun
setUser
(
@
Nullable
id
:
String
,
@
Nullable
email
:
String
,
@
Nullable
name
:
String
)
Sets the user associated with the session.
to
Stream
Link copied to clipboard
open
fun
toStream
(
@
NonNull
writer
:
JsonStream
)