setPolicy

final Unit setPolicy(PXPolicy policy, String appId)

Set policy for given AppID.

Parameters

policy

The policy.

appId

The AppID to associate the policy with. Ignore this param if you use only one AppID.