Sdílet prostřednictvím


TvRecordingClient.RecordingCallback.OnError(RecordingError) Method

Definition

This is called when an issue has occurred.

[Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler", ApiSince=24)]
public virtual void OnError (Android.Media.TV.RecordingError error);
[<Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler", ApiSince=24)>]
abstract member OnError : Android.Media.TV.RecordingError -> unit
override this.OnError : Android.Media.TV.RecordingError -> unit

Parameters

error
RecordingError

The error code. Should be one of the followings. <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.TvRecordingClient.RecordingCallback.onError(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