語言

Call.Reject 方法

定義

多載

名稱 Description
Reject(Int32)

指示提供此ConnectionService通話的使用者#STATE_RINGING已選擇拒絕通話,並說明拒絕原因。

Reject(Boolean, String)

指示此物 #STATE_RINGINGCall 拒絕。

Reject(Int32)

指示提供此ConnectionService通話的使用者#STATE_RINGING已選擇拒絕通話,並說明拒絕原因。

[Android.Runtime.Register("reject", "(I)V", "", ApiSince=30)]
public void Reject(int rejectReason);
[<Android.Runtime.Register("reject", "(I)V", "", ApiSince=30)>]
member this.Reject : int -> unit

參數

rejectReason
Int32

這通電話被拒的原因。

屬性

備註

指示提供此ConnectionService通話的使用者#STATE_RINGING已選擇拒絕通話,並說明拒絕原因。

Java 文件 android.telecom.Call.reject(int)。

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

適用於

Reject(Boolean, String)

指示此物 #STATE_RINGINGCall 拒絕。

[Android.Runtime.Register("reject", "(ZLjava/lang/String;)V", "", ApiSince=23)]
public void Reject(bool rejectWithMessage, string? textMessage);
[<Android.Runtime.Register("reject", "(ZLjava/lang/String;)V", "", ApiSince=23)>]
member this.Reject : bool * string -> unit

參數

rejectWithMessage
Boolean

是否該用簡訊拒絕。

textMessage
String

一個可選的簡訊回覆。

屬性

備註

指示此物 #STATE_RINGINGCall 拒絕。

Java 文件 android.telecom.Call.reject(boolean, java.lang.String)。

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

適用於