PlaybackState.Builder.SetErrorMessage 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
| Name | Description |
|---|---|
| SetErrorMessage(ICharSequence) |
Set a user readable error message. |
| SetErrorMessage(String) |
SetErrorMessage(ICharSequence)
Set a user readable error message.
[Android.Runtime.Register("setErrorMessage", "(Ljava/lang/CharSequence;)Landroid/media/session/PlaybackState$Builder;", "")]
public Android.Media.Session.PlaybackState.Builder SetErrorMessage(Java.Lang.ICharSequence error);
[<Android.Runtime.Register("setErrorMessage", "(Ljava/lang/CharSequence;)Landroid/media/session/PlaybackState$Builder;", "")>]
member this.SetErrorMessage : Java.Lang.ICharSequence -> Android.Media.Session.PlaybackState.Builder
Parameters
- error
- ICharSequence
The error message for display to the user.
Returns
this
- Attributes
Remarks
Set a user readable error message. This should be set when the state is PlaybackState.STATE_ERROR.
Android reference for android.media.session.PlaybackState.Builder.setErrorMessage.
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
SetErrorMessage(String)
public Android.Media.Session.PlaybackState.Builder SetErrorMessage(string error);
member this.SetErrorMessage : string -> Android.Media.Session.PlaybackState.Builder
Parameters
- error
- String
Returns
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.