public / com.revenuecat.purchases / EntitlementInfos

EntitlementInfos

class EntitlementInfos : Parcelable

This class contains all the entitlements associated to the user.

Constructors

<init>

This class contains all the entitlements associated to the user.

EntitlementInfos(all: Map<String, EntitlementInfo>)

Properties

active

Dictionary of active EntitlementInfo objects keyed by entitlement identifier.

val active: Map<String, EntitlementInfo>

all

Map of all EntitlementInfo EntitlementInfo objects (active and inactive) keyed by entitlement identifier.

val all: Map<String, EntitlementInfo>

Functions

get

Retrieves an specific entitlementInfo by its entitlement identifier. It's equivalent to accessing the all map by entitlement identifier.

operator fun get(s: String): EntitlementInfo?

hashCode

fun hashCode(): Int