feat(source): add a source getter

This commit is contained in:
2026-07-24 12:38:21 +02:00
parent a2d5ede547
commit ecc8f08ffa
11 changed files with 102 additions and 85 deletions
@@ -35,6 +35,12 @@ abstract class HybridOmniPlayerSpec: HybridObject() {
@set:Keep
abstract var showNotification: Boolean?
@get:DoNotStrip
@get:Keep
@set:DoNotStrip
@set:Keep
abstract var source: Source?
@get:DoNotStrip
@get:Keep
abstract val hasPrev: Boolean
@@ -108,10 +114,6 @@ abstract class HybridOmniPlayerSpec: HybridObject() {
abstract val castStatus: CastStatus
// Methods
@DoNotStrip
@Keep
abstract fun setSource(source: Source?): Unit
@DoNotStrip
@Keep
abstract fun play(): Unit