CallControl.RequestVideoState 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| RequestVideoState(CallType, IExecutor, IOutcomeReceiver) |
請為正在進行的通話申請新的視訊狀態。 |
| RequestVideoState(Int32, IExecutor, IOutcomeReceiver) |
請為正在進行的通話申請新的視訊狀態。 |
RequestVideoState(CallType, IExecutor, IOutcomeReceiver)
請為正在進行的通話申請新的視訊狀態。
[Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)]
public void RequestVideoState(Android.Telecom.CallType videoState, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)>]
member this.RequestVideoState : Android.Telecom.CallType * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
參數
- videoState
- CallType
向電信報告。 要查看有效的通過論證,請參見 CallAttributes.CallType。
- executor
- IExecutor
回ExecutorOutcomeReceiver訪將被點名。
- callback
- IOutcomeReceiver
這些資料會在電信端完成,詳述所請求作業的成敗。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has successfully
switched the video state.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to set
the new video state. A <code data-dev-comment-type="c">CallException</code> will be passed
that details why the operation failed.
- 屬性
備註
請為正在進行的通話申請新的視訊狀態。 只有當應用程式已註冊 a PhoneAccountPhoneAccount#CAPABILITY_SUPPORTS_VIDEO_CALLING 並設定 時 CallAttributes#SUPPORTS_VIDEO_CALLING ,才能更改此設定 TelecomManager#addCall(CallAttributes, Executor, OutcomeReceiver, CallControlCallback, CallEventCallback)
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
RequestVideoState(Int32, IExecutor, IOutcomeReceiver)
請為正在進行的通話申請新的視訊狀態。
[Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)]
public void RequestVideoState(int callType, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)>]
member this.RequestVideoState : int * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
參數
- callType
- Int32
向電信報告。 要查看有效的通過論證,請參見 CallAttributes.CallType。
- executor
- IExecutor
回ExecutorOutcomeReceiver訪將被點名。
- callback
- IOutcomeReceiver
這些資料會在電信端完成,詳述所請求作業的成敗。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has successfully
switched the video state.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to set
the new video state. A <code data-dev-comment-type="c">CallException</code> will be passed
that details why the operation failed.
- 屬性
備註
請為正在進行的通話申請新的視訊狀態。 只有當應用程式已註冊 a PhoneAccountPhoneAccount#CAPABILITY_SUPPORTS_VIDEO_CALLING 並設定 時 CallAttributes#SUPPORTS_VIDEO_CALLING ,才能更改此設定 TelecomManager#addCall(CallAttributes, Executor, OutcomeReceiver, CallControlCallback, CallEventCallback)
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。