TwclObexOppServer.DoGetRequest(string,string,TwclObexServerOperationResult,TStream) Method
Fires the OnGetRequest
event.
protected procedure DoGetRequest(const Name: string; const Mime: string; out Result: TwclObexServerOperationResult; out Stream: TStream); override;
Parameters
- Name
- Type: string
The requested OBEX object's name.
- Mime
- Type: string
The requested OBEX object's MIME type.
- Result
- Type: TwclObexServerOperationResult
An application must set this parameter to the operation result code. If an application can send the requested object the
Result
must be set toorSuccess
. - Stream
- Type: TStream
The requested OBEX object's data stream. An application must provide the object's stream only in case if the
Result
set toorSuccess
. In any other case theStream
must be set tonil
. The stream object passed to the event must be valid during all Get operation and can be released when theOnGetCompleted
event received.