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 AttributionHint.

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

Added in version 37.2
public AttributionHint (ContextInsight insight)

Creates a new AttributionHint.

Parameters
insight ContextInsight: the ContextInsight to include (required).
This value cannot be null.

Public methods

getInsight

Added in version 37.2
public ContextInsight getInsight ()

Returns the insight contained within this hint.

Returns
ContextInsight This value cannot be null.

toString

Added in version 37.2
public String toString ()

Returns a string representation of the object.

Returns
String a string representation of the object.