API reference

InteractionColorContext Enum

Identifies the container context whose interaction overlay colors should be used.

Signature

enum InteractionColorContext : Enum<InteractionColorContext> 

Enumeration Constants

MemberDescription
Default
Neutral containers — backgrounds, surfaces, and muted fills.
OnAccent
Accent-filled containers, whose fill inverts the surface, so the overlay inverts with it.
OnMedia
Content over media, where the overlay is the same in both schemes because what sits beneath it is arbitrary.