SOSMaskState

enum SOSMaskState {}

Enumeration of the various states a given mask can be in.

  • No SOS session is active, so the mask is completely disabled.

    Declaration

    Objective-C

    SOSMaskStateDisabled

    Swift

    case disabled = 0
  • An SOS session is active and the screen is being shared; the mask must obscure the masked element.

    Declaration

    Objective-C

    SOSMaskStateActive

    Swift

    case active = 1
  • An SOS session is active, but the screen is not currently being shared.

    Declaration

    Objective-C

    SOSMaskStateInactive

    Swift

    case inactive = 2