Modern Apps git

← Modern-Apps.git

sdk/cast: document public API for detekt

Commit
78682590c4a401768e5a75e1c72fb4255303b622
Author
Vayun Mathur <[email protected]>
When
2026-11-17 14:42 UTC (19 days ago)
Parents
29eccab
Add concise KDoc to every public class, object, interface and
enum (including nested types) that detekt's
UndocumentedPublicClass rule flagged in this module. Docs only:
no behaviour, visibility or config changes.

Verified: ./gradlew :sdk:cast:detekt reports 0
UndocumentedPublicClass findings (pre-existing error-severity
findings in other rules, where present, are untouched), and the
module unit tests pass.

Diff

sdk/cast/src/main/java/com/vayunmathur/sdk/cast/Playback.kt
diff --git a/sdk/cast/src/main/java/com/vayunmathur/sdk/cast/Playback.kt b/sdk/cast/src/main/java/com/vayunmathur/sdk/cast/Playback.ktindex 8d08b91da1..84510ad642 100644--- a/sdk/cast/src/main/java/com/vayunmathur/sdk/cast/Playback.kt+++ b/sdk/cast/src/main/java/com/vayunmathur/sdk/cast/Playback.kt@@ -111,6 +111,7 @@ data class PlaybackCommand(         value?.let { putDouble(CastContract.KEY_ACTION_VALUE, it) }     } +    /** Bundle parsing helpers for [PlaybackCommand]. */     companion object {         /**          * Read one back, or null for an action this build does not know.