Functions in
push_service.h
Functions for working with the push service.
push_service_accept_push()
Call this API if you want your app to accept a push from the server.
push_service_cleanup()
Releases any resources used by the push_service_t structure.
push_service_create_channel()
Creates a channel for receiving push messages from the Push Initiator.
push_service_create_session()
Creates a session between the application and the PNS Agent.
push_service_destroy_channel()
Destroys the channel when the application no longer needs it.
push_service_get_fd()
Gets the Push Service file descriptor associated with this push_service_t structure.
push_service_get_ppg_url()
Gets the Push Proxy Gateway URL associated with this push_service_t structure.
push_service_get_provider_application_id()
Gets the provider application ID associated with this push_service_t structure.
push_service_get_target_key()
Gets the target key associated with this push_service_t structure.
push_service_get_token()
Gets the token received from the PPG after successfully creating the push channel.
push_service_initialize()
Initializes the push_service_t structure.
push_service_process_msg()
Process the incoming PPS message.
push_service_register_to_launch()
Call this API if you want to launch your app in background when a push arrives.
push_service_reject_push()
Call this API if you want your app to reject a push from the server.
push_service_set_connection_close_callback()
Call this function to register a connection closed callback.
push_service_set_ppg_url()
Changes the URL of the Push Proxy Gateway (PPG)
push_service_set_provider_application_id()
Changes the provider application ID.
push_service_set_sim_change_callback()
Call this function to register a SIM change callback.
push_service_set_target_key()
Changes the invocation target key.
push_service_unregister_from_launch()
Cancels a previous
push_service_register_to_launch()
request.
Parent topic:
Push service (push_service.h)