AttributionHint


class AttributionHint : ContextHint
kotlin.Any
   ↳ 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

Creates a new AttributionHint.

Public methods
ContextInsight

Returns the insight contained within this hint.

String

Returns a string representation of the object.

Inherited functions

Public constructors

AttributionHint

AttributionHint(insight: ContextInsight)

Creates a new AttributionHint.

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

Public methods

getInsight

fun getInsight(): ContextInsight

Returns the insight contained within this hint.

Return
ContextInsight This value cannot be null.

toString

fun toString(): String

Returns a string representation of the object.

Return
String a string representation of the object.