MpvRxPackage
https://github.com/Riteshp2001/mpvRx
https://github.com/Riteshp2001/mpvRx/blob/00e0c5e803ab53e5757426cbf2248448ba1f49bf/app/src/main/java/app/gyrolet/mpvrx/utils/media/MediaUtils.kt#L132 https://github.com/Riteshp2001/mpvRx/blob/00e0c5e803ab53e5757426cbf2248448ba1f49bf/app/src/main/java/app/gyrolet/mpvrx/utils/media/MediaUtils.kt#L56
Properties
Functions
Internally uses activityResultLauncher, use this when the activity has a result like watched position
Safe version of onResult, we don't trust extension devs to not crash the app
Before intent is sent, this function is called to put extra data into the intent.
This function is called when the action is clicked.
Safe version of runAction, as we don't trust extension devs to handle exceptions
Safe version of shouldShow, as we don't trust extension devs to handle exceptions, however no dev should throw in shouldShow