public interface

DeviceFeature

com.google.android.gms.deviceconnection.features.DeviceFeature

Class Overview

Data interface for retrieving device feature history.

Summary

Public Methods
abstract String getFeatureName()
Getter for the features name that was available on this device.
abstract long getLastConnectionTimestampMillis()
Getter for the last connection timestamp of this device.

Public Methods

public abstract String getFeatureName ()

Getter for the features name that was available on this device. Possible values returned from this method are taken from the "uses-feature" tags available in the Android manifest.

Returns
  • A feature supported by this device at a given timestamp.

public abstract long getLastConnectionTimestampMillis ()

Getter for the last connection timestamp of this device.

Returns
  • The last time (in milliseconds since Epoch) that this device became connected.