HERE Android SDK Developer's Guide

ConnectionInfo

The class ConnectionInfo is a member of com.here.android.mpa.common .

Class Summary

public final class ConnectionInfo

extends java.lang.Object

Encapsulates information related to network connections.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in ConnectionInfo
Constructors

ConnectionInfo ()

Public constructor.

Method Summary

Table 2. Methods in ConnectionInfo
Methods

public long getBytesDownloaded ()

Gets the amount of data downloaded in bytes.

Class Details

Encapsulates information related to network connections.

Constructor Details

ConnectionInfo ()

Public constructor.

Method Details

public long getBytesDownloaded ()

Gets the amount of data downloaded in bytes.

The amount is cumulative since the application process was created. If the process is terminated and recreated, the count will begin again from 0.

Returns:

The data downloaded in bytes