Partager via


AppSearchResult.ErrorMessage Property

Definition

Returns the error message associated with this result.

public string? ErrorMessage { [Android.Runtime.Register("getErrorMessage", "()Ljava/lang/String;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getErrorMessage", "()Ljava/lang/String;", "", ApiSince=31)>]
member this.ErrorMessage : string

Property Value

Attributes

Remarks

Returns the error message associated with this result.

If #isSuccess is true, the error message is always null. The error message may be null even if #isSuccess is false. See the documentation of the particular AppSearchSession call producing this AppSearchResult for what is returned by #getErrorMessage.

Java documentation for android.app.appsearch.AppSearchResult.getErrorMessage().

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