InCallService.OnCallEndpointRequested(CallEndpoint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當 a InCallService 改變音訊路由 #requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver) 時,平台會呼叫以啟動呼叫端點變更。
[Android.Runtime.Register("onCallEndpointRequested", "(Landroid/telecom/CallEndpoint;)V", "GetOnCallEndpointRequested_Landroid_telecom_CallEndpoint_Handler", ApiSince=37)]
public virtual void OnCallEndpointRequested(Android.Telecom.CallEndpoint callEndpoint);
[<Android.Runtime.Register("onCallEndpointRequested", "(Landroid/telecom/CallEndpoint;)V", "GetOnCallEndpointRequested_Landroid_telecom_CallEndpoint_Handler", ApiSince=37)>]
abstract member OnCallEndpointRequested : Android.Telecom.CallEndpoint -> unit
override this.OnCallEndpointRequested : Android.Telecom.CallEndpoint -> unit
參數
- callEndpoint
- CallEndpoint
請求 CallEndpoint的。
- 屬性
備註
當 InCallService 透過 requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver) 改變音訊路由來啟動呼叫端點變更時,平台會呼叫此訊息。 其設計目的是讓 InCallService(例如非 UI 伴隨應用程式)能知道其他 InCallServices 發起的音訊路由變更(例如使用者在撥號器應用程式中更改端點)。 請注意,這個 API 回報的請求直到 onCallEndpointChanged(CallEndpoint) 被請求端點呼叫時才算最終。 當裝置無法使用或路由請求未完成時,實際端點變更可能與請求不同。
Android 參考資料。android.telecom.InCallService.onCallEndpointRequested
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。