OTVSSMLicenseResponse

public class OTVSSMLicenseResponse : NSObject

The OTVSSMLicenseResponse is a container class used to hold the full license response (license/ckc data, the heartbeat period and the renewal type)

  • OTVSSMLicenseResponse may take the values of the license data and the heartbeat period during initialisation.

    Declaration

    Swift

    public init(license: Data? = nil, heartbeat: Int = 0, renewType: OTVLicenseRenewType = OTVLicenseRenewType.enforced)

    Parameters

    license

    the license/ckc data

    heartbeat

    the heartbeat period in seconds

    renewType

    OTVLicenseRenewType.heartbeat or OTVLicenseRenewType.enforced. How the session is maintained across heartbeat periods, defualt value is OTVLicenseRenewType.enforced