Class: EncryptionNotEnabledEvent

Defines the encryptionNotEnabled event dispatched by a Publisher or a Subscriber object. This event is dispatched when an encryption secret is set on a session that does not have end-to-end encryption enabled at the server level. When this event is dispatched the Publisher or Subscriber is automatically dropped by the SDK (there is no need to call Session.unpublish() or Session.unsubscribe()).

Properties

Name Type Description
message String A description of the error.
See:

Methods

Name Description
isDefaultPrevented() → {Boolean} Whether the default event behavior has been prevented via a call to preventDefault() (true) or not (false).
preventDefault() Prevents the default behavior associated with the event from taking place.

isDefaultPrevented() → {Boolean}

Whether the default event behavior has been prevented via a call to preventDefault() (true) or not (false). See preventDefault().
Returns:

preventDefault()

Prevents the default behavior associated with the event from taking place.

To see whether an event has a default behavior, check the cancelable property of the event object.

Call the preventDefault() method in the callback function for the event.

The following events have default behaviors: