Returns a Combine publisher that emits changes to an entitlement’s active state. Use this for reactive UI updates in SwiftUI or when you need automatic notifications when entitlement status changes.Documentation Index
Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
Use this file to discover all available pages before exploring further.
Signature
Parameters
| Name | Type | Description |
|---|---|---|
type | Entitlement | The entitlement type to observe |
scope | EntitlementScope | The scope to check |
Returns
AnyPublisher<Bool, Never> - A publisher that emits true when the entitlement becomes active and false when it becomes inactive.