API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IPHONECTL_SETANSWERVOICEPREF()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Typically phone answers incoming calls as voice call. This allows changing the answer preference setting.
Params
pme
[in]:
interface pointer
pref
[in]:
indicate whether the phone should answer incoming calls as voice, fax, or data calls.
dwDuration
[in]:
span of this preference in seconds.
Interface
  • IPHONECTL
Prototype
  •    int IPHONECTL_SetAnswerVoicePref( IPhoneCtl *pme, AEETAnsVoicePref pref, uint32 dwDuration );
    
Return
  • SUCCESS : request is accepted. EBADPARM : Invalid Parameter EUNSUPPORTED : device does not support this function. AEET_ERR_OP_NOT_ALLOWED : current system mode does not allow this operation.
Side Effect
  • None
Comments
None