語言

QueryLocationException 建構函式

定義

多載

QueryLocationException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public QueryLocationException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.Telecom.QueryLocationException : string -> Android.Telecom.QueryLocationException

參數

message
String
屬性

適用於

QueryLocationException(String, QueryLocationErrorReason)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=34)]
public QueryLocationException(string? message, Android.Telecom.QueryLocationErrorReason code);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=34)>]
new Android.Telecom.QueryLocationException : string * Android.Telecom.QueryLocationErrorReason -> Android.Telecom.QueryLocationException

參數

message
String
code
QueryLocationErrorReason

價值屬於以下之一:ERROR_REQUEST_TIME_OUT;ERROR_PREVIOUS_REQUEST_EXISTS;ERROR_NOT_PERMITTED;ERROR_NOT_ALLOWED_FOR_NON_EMERGENCY_CONNECTIONS;ERROR_SERVICE_UNAVAILABLE;ERROR_UNSPECIFIED

屬性

備註

Android 參考資料。android.telecom.QueryLocationException.QueryLocationException

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

QueryLocationException(String, QueryLocationErrorReason, Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/Throwable;)V", "", ApiSince=34)]
public QueryLocationException(string? message, Android.Telecom.QueryLocationErrorReason code, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Telecom.QueryLocationException : string * Android.Telecom.QueryLocationErrorReason * Java.Lang.Throwable -> Android.Telecom.QueryLocationException

參數

message
String
code
QueryLocationErrorReason

價值屬於以下之一:ERROR_REQUEST_TIME_OUT;ERROR_PREVIOUS_REQUEST_EXISTS;ERROR_NOT_PERMITTED;ERROR_NOT_ALLOWED_FOR_NON_EMERGENCY_CONNECTIONS;ERROR_SERVICE_UNAVAILABLE;ERROR_UNSPECIFIED

cause
Throwable
屬性

備註

Android 參考資料。android.telecom.QueryLocationException.QueryLocationException

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於