Class IBandwidthController

Class Documentation

class Microsoft::Applications::Events::IBandwidthController

Public Functions

inline virtual ~IBandwidthController()
virtual unsigned GetProposedBandwidthBps() = 0

Query the current proposed bandwidth for uploading telemetry events.

This method is called each time the SDK is preparing to send some events in an HTTP request.

The library might not be able to actually honor the return value more than just not transmitting anything if the proposed bandwidth is 0 and resuming the upload when it isn’t.

Returns

Proposed bandwidth in bytes per second