zdk.objc
Instance Methods | Properties | List of all members
<ZDKMessage> Protocol Reference
Inheritance diagram for <ZDKMessage>:
<ZDKZHandle>

Instance Methods

(id< ZDKResult >) - sendMessage
 Sends the message. More...
 
(void) - setMessageEventListener:
 Sets a message event listener. More...
 
(void) - dropMessageEventListener:
 Drops a message event listener. More...
 
(NSString *) - handlesDescription
 
- Instance Methods inherited from <ZDKZHandle>
(long int) - handle
 
(void) - initialize
 
(void) - releaseReference
 
(NSString *) - handlesDescription
 

Properties

long int messageHandle
 Gets message handle. More...
 
ZDKMessageType type
 Gets the message type. More...
 
NSString * peer
 Sets the message peer. More...
 
NSString * content
 Sets the message content. More...
 

Method Documentation

◆ dropMessageEventListener:

- (void) dropMessageEventListener: (id< ZDKMessageEventsHandler >)  value

Drops a message event listener.

Parameters
[in]valueThe message events handler

◆ handlesDescription

- (NSString *) handlesDescription

Reimplemented from <ZDKZHandle>.

◆ sendMessage

- (id< ZDKResult >) sendMessage

Sends the message.

Returns
The result of sending message

◆ setMessageEventListener:

- (void) setMessageEventListener: (id< ZDKMessageEventsHandler >)  value

Sets a message event listener.

Parameters
[in]valueThe message events handler

Property Documentation

◆ content

- (NSString*) content
readwritenonatomicassign

Sets the message content.

Parameters
[in]valueThe content of the message to be setted to

◆ messageHandle

- (long int) messageHandle
readnonatomicassign

Gets message handle.

Returns
The message handle

◆ peer

- (NSString*) peer
readwritenonatomicassign

Sets the message peer.

Parameters
[in]valueThe name of the peer to set to

◆ type

- (ZDKMessageType) type
readnonatomicassign

Gets the message type.

Returns
the message type
See also
ZDKMessageType

The documentation for this protocol was generated from the following file: