toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
education
/
edu.stanford.spezi.modules.education.videos
Package-level
declarations
Types
Functions
Types
Action
Link copied to clipboard
sealed
interface
Action
Education
Screen
Test
Identifier
Link copied to clipboard
enum
EducationScreenTestIdentifier
:
Enum
<
EducationScreenTestIdentifier
>
Education
Ui
State
Link copied to clipboard
data
class
EducationUiState
(
val
videoSections
:
List
<
VideoSection
>
=
emptyList()
)
Ui
State
Link copied to clipboard
sealed
interface
UiState
Video
Link copied to clipboard
@
Serializable
data
class
Video
(
val
title
:
String
,
val
description
:
String
,
val
orderIndex
:
Int
=
0
,
val
youtubeId
:
String
)
Video
Section
Link copied to clipboard
data
class
VideoSection
(
val
title
:
String
,
val
description
:
String
,
val
orderIndex
:
Int
=
0
,
val
videos
:
List
<
Video
>
=
emptyList()
,
var
isExpanded
:
Boolean
=
false
)
Functions
Education
Screen
Link copied to clipboard
@
Composable
fun
EducationScreen
(
)
@
Composable
fun
EducationScreen
(
uiState
:
UiState
,
onAction
:
(
Action
)
->
Unit
)