Language

InCallService.VideoCall.Callback.OnCallDataUsageChanged(Int64) Method

Definition

Handles an update to the total data used for the current video session.

[Android.Runtime.Register("onCallDataUsageChanged", "(J)V", "GetOnCallDataUsageChanged_JHandler", ApiSince=23)]
public abstract void OnCallDataUsageChanged(long dataUsage);
[<Android.Runtime.Register("onCallDataUsageChanged", "(J)V", "GetOnCallDataUsageChanged_JHandler", ApiSince=23)>]
abstract member OnCallDataUsageChanged : int64 -> unit

Parameters

dataUsage
Int64

The updated data usage (in bytes).

Attributes

Remarks

Handles an update to the total data used for the current video session.

Used by the Connection.VideoProvider in response to VideoCall.requestCallDataUsage(). May also be called periodically by the Connection.VideoProvider.

Callback originates from Connection.VideoProvider.setCallDataUsage(long).

Android reference for android.telecom.InCallService.VideoCall.Callback.onCallDataUsageChanged.

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