Click or drag to resize

wclObexOppClientGet(String, Stream) Method

The function reads the default object with given type from an OBEX object push server.

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntax
public int Get(
	string Type,
	Stream Stream
)

Parameters

Type  String
An object's type.
Stream  Stream
An object's data stream.

Return Value

Int32
If the method completed with success 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 is called. An application can destroy the stream object passed as the Stream parameter only after OnGetComplete event was called.

During execution of the Get operation the OnProgress event may be called indicating the operation progress.

See Also