EMOobNotificationProfile

Objective-C


@interface EMOobNotificationProfile : NSObject

Swift

class EMOobNotificationProfile : NSObject

This object represent one notification end point. A notification end point is a mean by which a user can be notify by the Out of Band Server.

Each notification profile contains a channel (SMS, Push, email, etc.) and an end point attached to that channel (for example an email address for the case of an email channel).

Each channel are dependent on the deployment environment and are completely customizable by the application. Thus, no processing will be done on the channel and value strings; they will be used “as-is”.

Since

3.0
  • Returns the channel associated with this notification profile.

    Since

    3.0

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *channel;

    Swift

    var channel: String! { get }

    Return Value

    The channel associated with this notification profile.

  • Returns the value of the end point associated with this channel.

    since 3.0

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *endPoint;

    Swift

    var endPoint: String! { get }

    Return Value

    The value of the end point associated with this channel.

  • The constructor. Once build the object is immutable.

    Since

    3.0

    @exception NSInvalidArgumentException If aChannel or anEndPoints is nil.

    Declaration

    Objective-C

    - (id)initWithChannel:(NSString *)aChannel endPoint:(NSString *)anEndPoint;

    Swift

    init!(channel aChannel: String!, endPoint anEndPoint: String!)

    Parameters

    aChannel

    The channel to use for the notification (SMS, push, email, etc.).This value must not be nil.

    anEndPoint

    An endPoint string.