Response

public extension Response

This is the extension of Response class in the BMSCore. It is used to handle the responses from the push REST API calls.

Methods (Only for using in BMSPushClient)

  • This methode will convert the response that get while calling the retrieveSubscriptionsWithCompletionHandler in `BMSPushClient’ class into an array of Tags and send to the Client app.

    This will use the public property responseText in the Response Class.

    Declaration

    Swift

    func subscriptions() -> NSMutableArray
  • This methode will convert the response that get while calling the subscribeToTags in `BMSPushClient’ class into an Dictionary of details and send to the Client app.

    This will use the public property responseText in the Response Class.

    Declaration

    Swift

    func subscribeStatus() -> NSMutableDictionary
  • This methode will convert the response that get while calling the unsubscribeFromTags in `BMSPushClient’ class into an Dictionary of details and send to the Client app.

    This will use the public property responseText in the Response Class.

    Declaration

    Swift

    func unsubscribeStatus() -> NSMutableDictionary
  • This methode will convert the response that get while calling the retrieveAvailableTagsWithCompletionHandler in `BMSPushClient’ class into an array and send to the Client app.

    This will use the public property responseText in the Response Class.

    Declaration

    Swift

    func availableTags() -> NSMutableArray