Privacy

public enum Privacy : Int

Defines privacy policy to apply as described by rfc3323.

  • Privacy services must not perform any privacy function.

    Declaration

    Swift

    case None = 0
  • Request that privacy services provide a user-level privacy function.

    Declaration

    Swift

    case User = 1
  • Request that privacy services modify headers that cannot be set arbitrarily by the user (Contact/Via).

    Declaration

    Swift

    case Header = 2
  • Request that privacy services provide privacy for session media.

    Declaration

    Swift

    case Session = 4
  • Id

    rfc3325 The presence of this privacy type in a Privacy header field indicates that the user would like the Network Asserted Identity to be kept private with respect to SIP entities outside the Trust Domain with which the user authenticated.

    Declaration

    Swift

    case Id = 8
  • Privacy service must perform the specified services or fail the request.

    Declaration

    Swift

    case Critical = 16
  • Special keyword to use privacy as defined either globally or by proxy using ProxyConfig.setPrivacy()

    Declaration

    Swift

    case Default = 32768