ContextIdComponentProtocol

public protocol ContextIdComponentProtocol : AnyObject

Top-level API for the context_id component

  • Regenerate the context ID.

    Declaration

    Swift

    func forceRotation() throws
  • Return the current context ID string.

    Declaration

    Swift

    func request(rotationDaysInS: UInt8) throws -> String
  • Unset the callbacks set during construction, and use a default no-op ContextIdCallback instead.

    Declaration

    Swift

    func unsetCallback() throws