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

Developer

API Reference

IBTIMAGEPULLRESPONDER_SENDOBJECT()

Brew Release
Brew MP 1.0.2
See Also
IBTBIPResponder_GetRequestData() for request associated data IBTBIPResponder_GetEvent() for event associated data
Description
Responds to AEEBTBIP_FUNC_GET_IMAGE, AEEBTBIP_FUNC_GET_LINKED_THUMBNAIL, and AEEBTBIP_FUNC_GET_LINKED_ATTACHMENT requests from initiator.
Params
_me
[in]:
the object
objType
[in]:
type of object being sent
piSource
[out]:
source for requested object; NULL to reject request
nSize
[in]:
size of the image in bytes; ignored if piSource is NULL
Return
AEE_SUCCESS
[]:
The command has been scheduled, and AEEBTBIPR_EV_PROGRESS_REPORT and/or AEEBTBIPR_EV_FUNC_ENDED events will be generated at a later time. No events will be generated if rejecting.
AEE_EBADPARM
[]:
invalid input parameters
AEE_EBADSTATE
[]:
No pending request.
Prototype
  •    AEEResult IBTImagePullResponder_SendObject(
                    IBTImagePullResponder* _me,
                    AEEBTBIPObjectType     objType,
                    IPort1*                piSource,
                    int                    nSize);
    
Side Effect
  • None
Comments
To reject the request, set piSource to NULL.