語言

InCallService.VideoCall.Callback.OnSessionModifyRequestReceived 方法

定義

當 Connection.VideoProvider 收到來自對等裝置的會話修改請求時,會被呼叫。

[Android.Runtime.Register("onSessionModifyRequestReceived", "(Landroid/telecom/VideoProfile;)V", "GetOnSessionModifyRequestReceived_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public abstract void OnSessionModifyRequestReceived(Android.Telecom.VideoProfile? videoProfile);
[<Android.Runtime.Register("onSessionModifyRequestReceived", "(Landroid/telecom/VideoProfile;)V", "GetOnSessionModifyRequestReceived_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member OnSessionModifyRequestReceived : Android.Telecom.VideoProfile -> unit

參數

videoProfile
VideoProfile

被要求的影片簡介。

屬性

備註

當 Connection.VideoProvider 收到來自對等裝置的會話修改請求時,會被呼叫。

InCallService 可能會提示使用者確認是否要接受請求,或決定自動接受請求。 無論哪種情況,InCallService 都應該呼叫 VideoCall.sendSessionModifyResponse(VideoProfile),以表示已同意的視訊設定檔。

回調來源為 Connection.VideoProvider.receiveSessionModifyRequest(VideoProfile)。

Android 參考資料。android.telecom.InCallService.VideoCall.Callback.onSessionModifyRequestReceived

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

適用於