TvInputService.Session.OnStopPlayback(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the application requests playback of the Audio, Video, and CC streams to be stopped, but the metadata should continue to be filtered.
[Android.Runtime.Register("onStopPlayback", "(I)V", "GetOnStopPlayback_IHandler", ApiSince=36)]
public virtual void OnStopPlayback(int mode);
[<Android.Runtime.Register("onStopPlayback", "(I)V", "GetOnStopPlayback_IHandler", ApiSince=36)>]
abstract member OnStopPlayback : int -> unit
override this.OnStopPlayback : int -> unit
Parameters
- mode
- Int32
mode
- Attributes
Remarks
Called when the application requests playback of the Audio, Video, and CC streams to be stopped, but the metadata should continue to be filtered.
The metadata that will continue to be filtered includes the PSI (Program specific information) and SI (Service Information), part of ISO/IEC 13818-1.
Note that this is different form #timeShiftPause() as should release the stream, making it impossible to resume from this position again.
Java documentation for android.media.tv.TvInputService.Session.onStopPlayback(int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.