Freigeben über


TvInteractiveAppService.Session.OnRecordingError Method

Definition

This is called when an issue has occurred.

[Android.Runtime.Register("onRecordingError", "(Ljava/lang/String;I)V", "GetOnRecordingError_Ljava_lang_String_IHandler", ApiSince=34)]
public virtual void OnRecordingError (string recordingId, Android.Media.TV.RecordingError err);
[<Android.Runtime.Register("onRecordingError", "(Ljava/lang/String;I)V", "GetOnRecordingError_Ljava_lang_String_IHandler", ApiSince=34)>]
abstract member OnRecordingError : string * Android.Media.TV.RecordingError -> unit
override this.OnRecordingError : string * Android.Media.TV.RecordingError -> unit

Parameters

recordingId
String

The ID of the related recording which is sent via TvInteractiveAppView#notifyRecordingStarted(String, String)

err
RecordingError

The error code. Should be one of the following. <ul> <li>TvInputManager#RECORDING_ERROR_UNKNOWN<li>TvInputManager#RECORDING_ERROR_INSUFFICIENT_SPACE<li>TvInputManager#RECORDING_ERROR_RESOURCE_BUSY</ul>

Attributes

Remarks

This is called when an issue has occurred. It may be called at any time after the current recording session is created until it is released.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.onRecordingError(java.lang.String, 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.

Applies to