Skip to content

SDK API Reference / ResolvedAudience

Interface: ResolvedAudience

An audience resolved to a concrete id together with the kind that says which routes are valid for it. Pass this value around instead of a bare id string — a bare id loses the kind and the next call has to guess (see this module's header).

Properties

id

id: string


kind

kind: AudienceKind


name

name: string


rootFolderId?

optional rootFolderId?: string

Root folder id, from the entity's parentSegmentFolder/parentFolder relationship. undefined only when the server reports no root folder for the audience.