# Enums

The following enums are available globally.

- `MessageTarget`

  This emumeration defines the target option for the emit methods, use this definitions in addition to the client id or a collection of client ids

  See more

  #### Declaration

  Swift

      public enum MessageTarget: String

- `ChannelEvent`

  This emumeration defines the notification options for a channel, this is an alternative to the ChannelDelegate protocol.

  Use this channel event enumeration in conjunction with the channel.on(…) and channel.off(…) methods in order to receive the notifications in a closure in the main thread

  See more

  #### Declaration

  Swift

      public enum ChannelEvent : String

- `ServiceSearchDiscoveryType`

  Describe Service Search DiscoveryType

  See more

  #### Declaration

  Swift

      @objc public enum ServiceSearchDiscoveryType: Int