wclObexOppClientGet(String, Stream) Method |
The function reads the default object with given type from an
OBEX Push server.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxpublic int Get(
string aType,
Stream Stream
)
Public Function Get (
aType As String,
Stream As Stream
) As Integer
public:
int Get(
String^ aType,
Stream^ Stream
)
Parameters
- aType String
- The object's type.
- Stream Stream
- The object's data stream.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks This function can be used to pull (request) the default
business card (vCard) from a target device. To do that the
aType parameter must be "text/x-vCard" string.
An application must pass a valid Stream object to the method
and the stream object must be valid until OnGetComplete event
fires. An application can destroy the stream object passed as the
Stream parameter only after OnGetComplete event
fired.
During execution of the Get operation the OnProgress
event may (or may not) fire indicating the operation
progress.
See Also