Inform the SDK about the full set of entitlements a device has access to
This call tells the SDK the full list of entitlements a device should have access to. Note that it will remove any entitlements currently set and replace them with this list. The entitlement ReferenceID should match what has been defined in the Nami Control Center.
NamiEntitlementManager.setEntitlements(_ entitlements: [NamiEntitlementSetter])
[NamiEntitlementManager setEntitlements:(NSArray<NamiEntitlementSetter *> *)entitlements];
NamiEntitlementManager.setEntitlements(entitlements: List<NamiEntitlementSetter>)
NamiEntitlementManager.setEntitlements(List<NamiEntitlementSetter> entitlements);
NativeModules.NamiEntitlementManagerBridge.setEntitlements(entitlements: [NamiEntitlementSetter])
NamiEntitlementManager.setEntitlements(List<NamiEntitlementSetter> entitlements);
void NamiEntitlementManager.SetEntitlements(NamiEntitlementSetter[] entitlements);
Parameters
entitlements
- an array of NamiEntitlementSetter objects that describe the current active entitlements for the device.