Package com.nagra.otvaa.sdk
Enum OtvActivity
- All Implemented Interfaces:
Serializable
,Comparable<OtvActivity>
Enumeration of activities
eg OtvActivity.PlaybackStart
Activities have names (used in the messages to the end-points)
Activities have destinations (not all activities are sent to all end-points)
OtvActivity.playbackPause.name ("playbackPause")
OtvActivity.playbackStart.destinations (["uav", "dwh"])
if (myActivity instanceof OtvActivity) {...}
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name of the activitystatic OtvActivity
Returns the enum constant of this type with the specified name.static OtvActivity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AppStart
-
AppEnd
-
PlaybackStart
-
PlaybackStop
-
PlaybackPause
-
PlaybackStalled
-
PlaybackResume
-
PlaybackSkipAhead
-
PlaybackSkipBack
-
PrivacyPolicy
-
AdWatched
-
AdDelivered
-
AdSkipped
-
ScheduleRecording
-
PlaybackHeartbeat
-
Watch
-
Favourite
-
Bookmark
-
Rating
-
Playlist
-
GenericActivity
-
PlaybackMetrics
-
PlayerError
-
GenericError
-
ThirdPartyAppStart
-
ReturnToLauncher
-
DeepLinkTriggered
-
DownloadTriggered
-
RailView
-
RailSelection
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Get the name of the activity- Returns:
- a string representing the name of the activity
-