Class FeatureGating
Provides methods to check if a user is allowed to access premium features or notify the system when a premium feature is being used
Namespace: Unity.PSN.PS5.PremiumFeatures
Syntax
public class FeatureGating
Methods
Schedule(AsyncOp)
Schedule an AsyncOp by adding it to the internal FeatureGating queue
Declaration
public static void Schedule(AsyncOp op)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncOp | op | The operation to schedule |
Events
OnPremiumNotification
Event called when a premium notification occurs. To start notifications call FeatureGating.StartPremiumEventCallbackRequest. To stop notifications call FeatureGating.StopPremiumEventCallbackRequest.
Declaration
public static event FeatureGating.PremiumNotification OnPremiumNotification
Event Type
| Type | Description |
|---|---|
| FeatureGating.PremiumNotification |