다음을 통해 공유


AppSearchResult.NewFailedResult(Int32, String) 메서드

정의

실패한 AppSearchResult새 를 만듭니다.

[Android.Runtime.Register("newFailedResult", "(ILjava/lang/String;)Landroid/app/appsearch/AppSearchResult;", "", ApiSince=31)]
[Java.Interop.JavaTypeParameters(new System.String[] { "ValueType" })]
public static Android.App.AppSearch.AppSearchResult NewFailedResult (int resultCode, string? errorMessage);
[<Android.Runtime.Register("newFailedResult", "(ILjava/lang/String;)Landroid/app/appsearch/AppSearchResult;", "", ApiSince=31)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "ValueType" })>]
static member NewFailedResult : int * string -> Android.App.AppSearch.AppSearchResult

매개 변수

resultCode
Int32

에 설명된 AppSearchResult#getResultCode상수 중 하나입니다.

errorMessage
String

오류의 이유 또는 특성을 설명하는 선택적 문자열입니다.

반환

특성

설명

에 대한 android.app.appsearch.AppSearchResult.newFailedResult(int, java.lang.String)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상