Freigeben über


TvInputService.RecordingSession.OnStopRecording Method

Definition

Called when the application requests to stop TV program recording.

[Android.Runtime.Register("onStopRecording", "()V", "GetOnStopRecordingHandler", ApiSince=24)]
public abstract void OnStopRecording ();
[<Android.Runtime.Register("onStopRecording", "()V", "GetOnStopRecordingHandler", ApiSince=24)>]
abstract member OnStopRecording : unit -> unit
Attributes

Remarks

Called when the application requests to stop TV program recording. Recording must stop immediately when this method is called.

The session must create a new data entry in the android.media.tv.TvContract.RecordedPrograms table that describes the newly recorded program and call #notifyRecordingStopped(Uri) with the URI to that entry. If the stop request cannot be fulfilled, the session must call #notifyError(int).

Java documentation for android.media.tv.TvInputService.RecordingSession.onStopRecording().

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.

Applies to