Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Properties | Instance Methods | List of all members
PTDiffusionSendOptions Class Reference

Introduction

Send options are associated with sending content.

See Also
PTDiffusionMessagingFeature
Deprecated:
Since 6.2. This is only used within one-way messaging, which is also deprecated. This interface will be removed in a future release.
Since
5.6
Inheritance diagram for PTDiffusionSendOptions:
PTDiffusionMutableSendOptions

Class Methods

(instancetype) + sendOptionsWithPriority:
 

Properties

PTDiffusionSendDeliveryPriority priority
 

Instance Methods

(instancetype) - init
 
(instancetype) - initWithPriority:
 
(BOOL) - isEqualToSendOptions:
 

Method Documentation

- (instancetype) init

Returns a send options object initialized with Normal delivery priority.

Since
5.6
- (instancetype) initWithPriority: (PTDiffusionSendDeliveryPriority)  priority

Returns a send options object initialized with the given priority.

Parameters
priorityThe delivery priority to send with.
Since
6.0
- (BOOL) isEqualToSendOptions: (nullable PTDiffusionSendOptions *)  sendOptions

Compares the receiver to the given send options.

Parameters
sendOptionsThe send options object with which to compare the receiver.
Returns
YES if the send options is equal to the receiver, otherwise NO.
Since
5.6
+ (instancetype) sendOptionsWithPriority: (PTDiffusionSendDeliveryPriority)  priority

Returns a send options object with the given priority.

Parameters
priorityThe delivery priority to send with.
Since
5.6

Property Documentation

- (PTDiffusionSendDeliveryPriority) priority
readnonatomicassign

The delivery priority to send with.

Since
5.6