EMOobNotificationProfile Class Reference

Inherits from NSObject
Declared in EMOobNotificationProfile.h

Overview

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”.

  channel

Returns the channel associated with this notification profile.

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

Return Value

The channel associated with this notification profile.

Availability

3.0

Declared In

EMOobNotificationProfile.h

  endPoint

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

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

Return Value

The value of the end point associated with this channel.

Discussion

since 3.0

Declared In

EMOobNotificationProfile.h

– initWithChannel:endPoint:

The constructor. Once build the object is immutable.

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

Parameters

aChannel

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

anEndPoint

An endPoint string.

Availability

3.0

Exceptions

NSInvalidArgumentException

If aChannel or anEndPoints is nil.

Declared In

EMOobNotificationProfile.h