include/alp/mobile.h File Reference


Detailed Description

Public header file for mobile services API.

#include <alp/mobile_context.h>
#include <alp/mobile_call.h>
#include <alp/mobile_services.h>

Go to the source code of this file.

Defines

#define ALP_MBL_NOTIFICATION_CALL_HISTORY_CHANGE   ((AlpMblNotificationId) 4)
 There has been a change in the call history database.
#define ALP_MBL_NOTIFICATION_CALL_HISTORY_RESET   ((AlpMblNotificationId) 5)
 The call history database has been reseted.
#define ALP_MBL_NOTIFICATION_CONTEXT_DELETE   ((AlpMblNotificationId) 2)
 A mobile context has been removed.
#define ALP_MBL_NOTIFICATION_DEFAULT_CONTEXT_CHANGE   ((AlpMblNotificationId) 3)
 The Default mobile context has changed.
#define ALP_MBL_NOTIFICATION_FUNCTION_TERMINATE   ((AlpMblNotificationId) 6)
 A function of the Mobile Services has finished.
#define ALP_MBL_NOTIFICATION_NEW_CONTEXT   ((AlpMblNotificationId) 1)
 A mobile context has been registered.

Typedefs

typedef void(* AlpMblCallFunctionTerminateCallbackPtr )(void *iUserDataP, AlpMblServiceId iServiceId, AlpMblFunctionId iFunctionId, alp_status_t iError)
typedef void(* AlpMblCallHistoryChangeCallbackPtr )(void *iUserDataP, AlpMblCallHistory *iCallHistoryP, bool iRemoveF)
typedef void(* AlpMblCallHistoryResetCallbackPtr )(void *iUserDataP, AlpMblCallHistoryType iCallHistoryType)
typedef void(* AlpMblContextDeleteCallbackPtr )(void *iUserDataP, AlpMblContextId iMobileContextId)
typedef void(* AlpMblDefaultContextChangeCallbackPtr )(void *iUserDataP, AlpMblContextId iPreviousDefaultContextId, AlpMblContextId iNewDefaultContextId)
typedef void(* AlpMblNewContextCallbackPtr )(void *iUserDataP, AlpMblContextId iMobileContextId)

Functions

alp_status_t alp_mbl_add_observers (void *iContextP, AlpMblObserver iObservers[])
bool alp_mbl_compare_phone_numbers (AlpMblAddress iPhoneNumber1, AlpMblAddress iPhoneNumber2)
void alp_mbl_free (void *iPtrP)
alp_status_t alp_mbl_get_call_history (AlpMblCallHistoryType iCallHistoryType, uint32_t iFirstId, uint32_t iLastId, AlpMblCallHistoryList *oCallHistoryListP)
alp_status_t alp_mbl_get_call_history_count (AlpMblCallHistoryType iCallHistoryType, uint32_t *oCallHistoryCountP)
alp_status_t alp_mbl_get_contexts (AlpMblContextList *oContextListP)
alp_status_t alp_mbl_get_current_calls (AlpMblCallList *oCallListP, AlpMblCallFilter iFilter)
alp_status_t alp_mbl_get_default_context (AlpMblContextId *oDefaultContextIdP)
alp_status_t alp_mbl_get_last_call_info (AlpMblCallHistory *oCallInfoP)
alp_status_t alp_mbl_new_context_cellular (AlpMblCncProfileId iCncProfileId, bool iIsDefault, bool iStartAtBoot, bool iAlwaysOn, AlpMblContextId *oContextIdP)
alp_status_t alp_mbl_new_context_gsm (AlpMblCncProfileId iCncProfileId, bool iIsDefault, bool iStartAtBoot, AlpMblContextId *oContextIdP) __attribute((deprecated))
alp_status_t alp_mbl_remove_call_history (AlpMblCallHistoryType iCallHistoryType, uint32_t iId)
alp_status_t alp_mbl_remove_observers (void *iContextP, AlpMblObserver iObservers[])
alp_status_t alp_mbl_reset_call_history (AlpMblCallHistoryType iCallHistoryType)
alp_status_t alp_mbl_set_default_context (AlpMblContextId iDefaultContextId)


Generated on Wed Jul 30 07:06:40 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.