TwclCustomObexServer.DoPutBegin(string,string,string,Cardinal,Boolean) Method

Fires the OnPutBegin event.

Namespace: wclObex
protected
 procedure DoPutBegin(const Name: string; const Description: string;
 const Mime: string; const Length: Cardinal; out Accept: Boolean); virtual;

Parameters

Name
Type: string

The object's name. Can be empty.

Description
Type: string

The object's description. Can be empty.

Mime
Type: string

The object's MIME type. Can be empty.

Length
Type: Cardinal

The object's data size (length) in bytes. Can be 0.

Accept
Type: Boolean

Must be set to True to accept object. If set to False the object will be rejected.

The method called when first PUT packet received.