TvRecordingClient.PauseRecording 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.
Overloads
PauseRecording() |
Pause TV program recording in the current recording session. |
PauseRecording(Bundle) |
Pause TV program recording in the current recording session. |
PauseRecording()
Pause TV program recording in the current recording session.
[Android.Runtime.Register("pauseRecording", "()V", "GetPauseRecordingHandler", ApiSince=31)]
public virtual void PauseRecording ();
[<Android.Runtime.Register("pauseRecording", "()V", "GetPauseRecordingHandler", ApiSince=31)>]
abstract member PauseRecording : unit -> unit
override this.PauseRecording : unit -> unit
- Attributes
Remarks
Pause TV program recording in the current recording session. Recording is expected to pause immediately when this method is called. If recording has not yet started in the current recording session, this method does nothing.
In pause status, the application can tune during recording. To continue recording, please call TvRecordingClient#resumeRecording()
to resume instead of TvRecordingClient#startRecording(Uri)
. Application can stop the recording with TvRecordingClient#stopRecording()
in recording pause status.
If the pause request cannot be fulfilled, the recording session will respond by calling RecordingCallback#onError(int)
.
Java documentation for android.media.tv.TvRecordingClient.pauseRecording()
.
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
PauseRecording(Bundle)
Pause TV program recording in the current recording session.
[Android.Runtime.Register("pauseRecording", "(Landroid/os/Bundle;)V", "GetPauseRecording_Landroid_os_Bundle_Handler", ApiSince=31)]
public virtual void PauseRecording (Android.OS.Bundle params);
[<Android.Runtime.Register("pauseRecording", "(Landroid/os/Bundle;)V", "GetPauseRecording_Landroid_os_Bundle_Handler", ApiSince=31)>]
abstract member PauseRecording : Android.OS.Bundle -> unit
override this.PauseRecording : Android.OS.Bundle -> unit
Parameters
- params
- Bundle
Domain-specific data for this request.
- Attributes
Remarks
Pause TV program recording in the current recording session. Recording is expected to pause immediately when this method is called. If recording has not yet started in the current recording session, this method does nothing.
In pause status, the application can tune during recording. To continue recording, please call TvRecordingClient#resumeRecording()
to resume instead of TvRecordingClient#startRecording(Uri)
. Application can stop the recording with TvRecordingClient#stopRecording()
in recording pause status.
If the pause request cannot be fulfilled, the recording session will respond by calling RecordingCallback#onError(int)
.
Java documentation for android.media.tv.TvRecordingClient.pauseRecording(android.os.Bundle)
.
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.