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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

bindVoipTokenWithToken:

Bind VOIP device token for push service

- (BMXErrorCode)bindVoipTokenWithToken:(NSString *)*token*

Parameters

token
Device token

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

clearAllNotifications

Clear all notifications on the notification bar

- (void)clearAllNotifications

Declared In

  • floo_proxy.h

Example:

clearNotificationWithNotificationId:

Clear a notification by ID

- (void)clearNotificationWithNotificationId:(long long)*notificationId*

Parameters

notificationId
Notification ID

Declared In

  • floo_proxy.h

Example:

clearTagsWithOperationId:

Clear tags by operation ID

- (BMXErrorCode)clearTagsWithOperationId:(NSString *)*operationId*

Parameters

operationId
Operation ID

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

dealloc

- (void)dealloc

Example:

deleteTagsWithTags:operationId:

Remove tags by operation ID

- (BMXErrorCode)deleteTagsWithTags:(TagList *)*tags* operationId:(NSString *)*operationId*

Parameters

tags
tags

operationId
Operation ID

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getCert

Get the push service certificate

- (NSString *)getCert

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

getPushProfile:forceRefresh:

Get the profile of push user

- (BMXErrorCode)getPushProfile:(BMXPushUserProfile *)*pushProfile* forceRefresh:(BOOL)*forceRefresh*

Parameters

forceRefresh
From server

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getTags:operationId:

Get tags of push user

- (BMXErrorCode)getTags:(TagList *)*tags* operationId:(NSString *)*operationId*

Parameters

tags
Tag list

operationId
Operation ID

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getToken

Get access token

- (NSString *)getToken

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

initWithCptr:swigOwnCObject:

- (id)initWithCptr:(void *)*cptr* swigOwnCObject:(BOOL)*ownCObject*

Example:

loadLocalPushMessagesWithRefMsgId:size:result:

- (BMXErrorCode)loadLocalPushMessagesWithRefMsgId:(long long)*refMsgId* size:(unsigned long)*size* result:(BMXMessageList *)*result*

Example:

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

arg4
Search direction, Up for earlier

Declared In

  • floo_proxy.h

Example:

resume

Resume push function

- (BMXErrorCode)resume

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

sendMessageWithContent:

Send a push message

- (void)sendMessageWithContent:(NSString *)*content*

Parameters

content

Declared In

  • floo_proxy.h

Example:

setBadge:

Set badge count

- (BMXErrorCode)setBadge:(int)*count*

Parameters

count
Badge count

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setGeoFenceMode

- (BMXErrorCode)setGeoFenceMode

Example:

setGeoFenceMode:

- (BMXErrorCode)setGeoFenceMode:(BOOL)*enable*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setPushMode:

Set whether push is allowed

- (BMXErrorCode)setPushMode:(BOOL)*enable*

Parameters

enable

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setPushTime:endHour:

- (BMXErrorCode)setPushTime:(int)*startHour* endHour:(int)*endHour*

Example:

setRunBackgroundMode

- (BMXErrorCode)setRunBackgroundMode

Example:

setRunBackgroundMode:

Set whether push is allowed to run in the background

- (BMXErrorCode)setRunBackgroundMode:(BOOL)*enable*

Parameters

enable

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setSilenceTime:endHour:

Set the silence time range for the push service

- (BMXErrorCode)setSilenceTime:(int)*startHour* endHour:(int)*endHour*

Parameters

startHour

endHour

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setTags:operationId:

Set tags for push service

- (BMXErrorCode)setTags:(TagList *)*tags* operationId:(NSString *)*operationId*

Parameters

tags

operationId

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

start

- (BMXErrorCode)start

Example:

startWithAlias:

- (BMXErrorCode)startWithAlias:(NSString *)*alias*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

status

The status of push SDK

- (BMXPushService_PushSdkStatus)status

Return Value

BMXPushService_PushSdkStatus

Declared In

  • floo_proxy.h

Example:

stop

Stop push service

- (BMXErrorCode)stop

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

unbindAliasWithAlias:

Unbind user alias

- (BMXErrorCode)unbindAliasWithAlias:(NSString *)*alias*

Parameters

alias
User alias

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

© 2019-2024 MaximTop | Homepage | Site Map Last modified time: 2024-09-26 03:17:35

results matching ""

    No results matching ""