AttributionHint
public
final
class
AttributionHint
extends ContextHint
| java.lang.Object | ||
| ↳ | android.app.personalcontext.hint.ContextHint | |
| ↳ | android.app.personalcontext.hint.AttributionHint | |
A hint representing a request to show attribution information for an insight.
This contains a single ContextInsight for which attribution information should be shown.
Summary
Public constructors | |
|---|---|
AttributionHint(ContextInsight insight)
Creates a new |
|
Public methods | |
|---|---|
ContextInsight
|
getInsight()
Returns the insight contained within this hint. |
String
|
toString()
Returns a string representation of the object. |
Inherited methods | |
|---|---|
Public constructors
AttributionHint
public AttributionHint (ContextInsight insight)
Creates a new AttributionHint.
| Parameters | |
|---|---|
insight |
ContextInsight: the ContextInsight to include (required).
This value cannot be null. |
Public methods
getInsight
public ContextInsight getInsight ()
Returns the insight contained within this hint.
| Returns | |
|---|---|
ContextInsight |
This value cannot be null. |
toString
public String toString ()
Returns a string representation of the object.
| Returns | |
|---|---|
String |
a string representation of the object. |