BMXPushService Class Reference#
Inherits from NSObject
Declared in floo_proxy.h
Overview#
@interface Push Service
Properties#
swigCMemOwn#
@property (nonatomic) BOOL swigCMemOwn
swigCPtr#
@property (nonatomic) void *swigCPtr
Instance Methods#
bindDeviceTokenWithToken:#
Bind device token for push service
- (BMXErrorCode)bindDeviceTokenWithToken:(NSString )token*
Parameters#
token
Device token
Return Value#
Declared In#
floo_proxy.h
bindVoipTokenWithToken:#
Bind VOIP device token for push service
- (BMXErrorCode)bindVoipTokenWithToken:(NSString )token*
Parameters#
token
Device token
Return Value#
Declared In#
floo_proxy.h
clearAllNotifications#
Clear all notifications on the notification bar
- (void)clearAllNotifications
Declared In#
floo_proxy.h
clearNotificationWithNotificationId:#
Clear a notification by ID
- (void)clearNotificationWithNotificationId:(long long)notificationId
Parameters#
notificationId
Notification ID
Declared In#
floo_proxy.h
clearTagsWithOperationId:#
Clear tags by operation ID
- (BMXErrorCode)clearTagsWithOperationId:(NSString )operationId*
Parameters#
operationId
Operation ID
Return Value#
Declared In#
floo_proxy.h
dealloc#
- (void)dealloc
deleteTagsWithTags:operationId:#
Remove tags by operation ID
- (BMXErrorCode)deleteTagsWithTags:(TagList )tags operationId:(NSString )operationId
Parameters#
tags
tags
operationId
Operation ID
Return Value#
Declared In#
floo_proxy.h
getCert#
Get the push service certificate
- (NSString *)getCert
Return Value#
NSString
Declared In#
floo_proxy.h
getPushProfile:forceRefresh:#
Get the profile of push user
- (BMXErrorCode)getPushProfile:(BMXPushUserProfile )pushProfile forceRefresh:(BOOL)forceRefresh*
Parameters#
forceRefresh
From server
profile
Push profile returned by the operation. Pass an empty shared_ptr; the method assigns the profile to it.
Return Value#
Declared In#
floo_proxy.h
getTags:operationId:#
Get tags of push user
- (BMXErrorCode)getTags:(TagList )tags operationId:(NSString )operationId
Parameters#
tags
Tag list
operationId
Operation ID
Return Value#
Declared In#
floo_proxy.h
getToken#
Get access token
- (NSString *)getToken
Return Value#
NSString
Declared In#
floo_proxy.h
initWithCptr:swigOwnCObject:#
- (id)initWithCptr:(void )cptr swigOwnCObject:(BOOL)ownCObject*
loadLocalPushMessagesWithRefMsgId:size:result:#
- (BMXErrorCode)loadLocalPushMessagesWithRefMsgId:(long long)refMsgId size:(unsigned long)size result:(BMXMessageList )result*
loadLocalPushMessagesWithRefMsgId:size:result:arg4:#
Load push messages in local db
- (BMXErrorCode)loadLocalPushMessagesWithRefMsgId:(long long)refMsgId size:(unsigned long)size result:(BMXMessageList )result arg4:(BMXPushService_PushDirection)arg4*
Parameters#
refMsgId
First Message Id
size
Message list as result
result
Local push messages loaded from the database
arg4
Direction for loading push messages; earlier messages are loaded by default
Declared In#
floo_proxy.h
resume#
Resume push function
- (BMXErrorCode)resume
Return Value#
Declared In#
floo_proxy.h
sendMessageWithContent:#
Send a push message
- (void)sendMessageWithContent:(NSString )content*
Parameters#
content
Content of the upstream push message
Declared In#
floo_proxy.h
setBadge:#
Set badge count
- (BMXErrorCode)setBadge:(int)count
Parameters#
count
Badge count
Return Value#
Declared In#
floo_proxy.h
setGeoFenceMode#
- (BMXErrorCode)setGeoFenceMode
setGeoFenceMode:#
- (BMXErrorCode)setGeoFenceMode:(BOOL)enable
setGeoFenceMode:isAllow:#
Set geo-fencing mode
- (BMXErrorCode)setGeoFenceMode:(BOOL)enable isAllow:(BOOL)isAllow
Parameters#
enable
Enable the feature
isAllow
Does the user allow
Return Value#
Declared In#
floo_proxy.h
setPushMode#
Set whether push is allowed
- (BMXErrorCode)setPushMode
Parameters#
startHour
Hour at which push delivery becomes allowed after the quiet period
endHour
Hour when the silent push period ends
Return Value#
Declared In#
floo_proxy.h
setPushMode:#
Set push enabled state. Default enabled.
- (BMXErrorCode)setPushMode:(BOOL)enable
Parameters#
enable
Whether push notifications are enabled
Return Value#
Declared In#
floo_proxy.h
setPushTime:endHour:#
- (BMXErrorCode)setPushTime:(int)startHour endHour:(int)endHour
setRunBackgroundMode#
- (BMXErrorCode)setRunBackgroundMode
setRunBackgroundMode:#
Set whether push is allowed to run in the background
- (BMXErrorCode)setRunBackgroundMode:(BOOL)enable
Parameters#
enable
Whether push is running in the background.
Return Value#
Declared In#
floo_proxy.h
setSilenceTime:endHour:#
Set the silence time range for the push service
- (BMXErrorCode)setSilenceTime:(int)startHour endHour:(int)endHour
Parameters#
startHour
Hour at which the push quiet period starts
endHour
Hour at which the push quiet period ends
Return Value#
Declared In#
floo_proxy.h
setTags:operationId:#
Set tags for push service
- (BMXErrorCode)setTags:(TagList )tags operationId:(NSString )operationId
Parameters#
tags
Tag list
operationId
Operation ID
Return Value#
Declared In#
floo_proxy.h
start#
- (BMXErrorCode)start
startWithAlias:#
- (BMXErrorCode)startWithAlias:(NSString )alias*
startWithAlias:bmxToken:#
Start push service
- (BMXErrorCode)startWithAlias:(NSString )alias bmxToken:(NSString )bmxToken
Parameters#
alias
User alias for push service
bmxToken
User access token
Return Value#
Declared In#
floo_proxy.h
status#
The status of push SDK
- (BMXPushService_PushSdkStatus)status
Return Value#
Declared In#
floo_proxy.h
stop#
Stop push service
- (BMXErrorCode)stop
Return Value#
Declared In#
floo_proxy.h
unbindAliasWithAlias:#
Unbind user alias
- (BMXErrorCode)unbindAliasWithAlias:(NSString )alias*
Parameters#
alias
User alias
Return Value#
Declared In#
floo_proxy.h