MultipleListenOption

public enum MultipleListenOption : Int

Ways to handle calling listen on the same characteristic multiple times.

  • New listen and its new callback on the same characteristic will not overwrite an existing listen.

    Declaration

    Swift

    case trap
  • New listens and its new callback on the same characteristic will replace the existing listen.

    Declaration

    Swift

    case replaceable