TvRecordingClient.StartRecording 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
| StartRecording(Uri) |
Starts TV program recording in the current recording session. |
| StartRecording(Uri, Bundle) |
Starts TV program recording in the current recording session. |
StartRecording(Uri)
Starts TV program recording in the current recording session.
[Android.Runtime.Register("startRecording", "(Landroid/net/Uri;)V", "GetStartRecording_Landroid_net_Uri_Handler", ApiSince=24)]
public virtual void StartRecording (Android.Net.Uri? programUri);
[<Android.Runtime.Register("startRecording", "(Landroid/net/Uri;)V", "GetStartRecording_Landroid_net_Uri_Handler", ApiSince=24)>]
abstract member StartRecording : Android.Net.Uri -> unit
override this.StartRecording : Android.Net.Uri -> unit
Parameters
- programUri
- Uri
The URI for the TV program to record, built by
TvContract#buildProgramUri(long). Can be null.
- Attributes
Remarks
Java documentation for android.media.tv.TvRecordingClient.startRecording(android.net.Uri).
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
StartRecording(Uri, Bundle)
Starts TV program recording in the current recording session.
[Android.Runtime.Register("startRecording", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "GetStartRecording_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=30)]
public virtual void StartRecording (Android.Net.Uri? programUri, Android.OS.Bundle params);
[<Android.Runtime.Register("startRecording", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "GetStartRecording_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=30)>]
abstract member StartRecording : Android.Net.Uri * Android.OS.Bundle -> unit
override this.StartRecording : Android.Net.Uri * Android.OS.Bundle -> unit
Parameters
- programUri
- Uri
The URI for the TV program to record, built by
TvContract#buildProgramUri(long). Can be null.
- params
- Bundle
Domain-specific data for this request. Keys <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting keys.
- Attributes
Remarks
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.