SOSMaskable

@protocol SOSMaskable <NSObject>

Protocol for objects that can be registered as maskable. Anything implementing this protocol can be registered with the SOS Masking class, which will send the messages declared below at the appropriate times to enable/disable the masks during an SOS session.

  • Update the UI or do other processing to respond to a change in the masking requirements during an SOS session.

    Declaration

    Objective-C

    - (void)setMaskState:(SOSMaskState)state;

    Swift

    func setMaskState(_ state: SOSMaskState)

    Parameters

    state

    The new state of the mask.