Open philotas opened 3 years ago
Hi philotas,
Yes, it applies to Fire OS as well. Please also note that requestVisibleBehind()
has been deprecated as of API Level 26:
https://developer.android.com/reference/android/app/Activity#requestVisibleBehind(boolean)
In addition to that, the function returns a boolean, which will tell you whether the request was successful (e.g. if the OS does not support that feature, you would get false
when calling it, meaning you cannot count on the video to continue playing, which is decided by the OS). Thanks!
The Android TV docs describe how you can/should request to play video when
onPause
is called. Does that also apply to Fire OS? It does not say so in the recommendations for onPause for MultiMedia Apps