Connection.VideoProvider.OnRequestConnectionDataUsage Method

Definition

Issues a request to the VideoProvider to retrieve the current data usage for the video component of the current Connection.

[Android.Runtime.Register("onRequestConnectionDataUsage", "()V", "GetOnRequestConnectionDataUsageHandler", ApiSince=23)]
public abstract void OnRequestConnectionDataUsage ();
[<Android.Runtime.Register("onRequestConnectionDataUsage", "()V", "GetOnRequestConnectionDataUsageHandler", ApiSince=23)>]
abstract member OnRequestConnectionDataUsage : unit -> unit
Attributes

Remarks

Issues a request to the VideoProvider to retrieve the current data usage for the video component of the current Connection.

The VideoProvider should respond by communicating current data usage, in bytes, via VideoProvider#setCallDataUsage(long).

Sent from the InCallService via InCallService.VideoCall#requestCallDataUsage().

Java documentation for android.telecom.Connection.VideoProvider.onRequestConnectionDataUsage().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to