DeviceSuggestionResult

public class DeviceSuggestionResult extends Object
implements Parcelable

Class representing the device suggestion sent via DeviceSuggestionsCallback.

Nested Class Summary

@interface DeviceSuggestionResult.Confidence Confidence score categories. 

Constant Summary

int CONFIDENCE_HIGH
int CONFIDENCE_LOW
int CONFIDENCE_MID

Inherited Constant Summary

Public Constructor Summary

DeviceSuggestionResult(String routeId, String deviceName, int confidence)
Constructor for the DeviceSuggestionResult.

Public Method Summary

int
getConfidence()
Returns the confidence score of the suggestion.
String
getDeviceName()
Returns the name of the suggested route.
String
getRouteId()
Returns the ID of the suggested route.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Constants

public static final int CONFIDENCE_HIGH

Constant Value: 3

public static final int CONFIDENCE_LOW

Constant Value: 1

public static final int CONFIDENCE_MID

Constant Value: 2

Public Constructors

public DeviceSuggestionResult (String routeId, String deviceName, int confidence)

Constructor for the DeviceSuggestionResult.

Public Methods

public int getConfidence ()

Returns the confidence score of the suggestion.

public String getDeviceName ()

Returns the name of the suggested route.

public String getRouteId ()

Returns the ID of the suggested route.

public void writeToParcel (Parcel dest, int flags)