BlueLibs documentation

OBEXSuccessResponse Members

OBEXSuccessResponse overview

Public Static (Shared) Methods

Equals (inherited from Object) Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object) Determines whether the specified Object instances are the same instance.

Public Instance Constructors

OBEXSuccessResponse Constructor Constructs new OBEXResponse object with response code set to OK

Public Instance Properties

CmdCode (inherited from OBEXCommand) code of command
HeadersCount (inherited from OBEXHeadersContainer) returns number of headers in the container
OBEXHeaders (inherited from OBEXHeadersContainer) returns array of the headers kept in the container
ResponseCode (inherited from OBEXResponse) holds resposne code

Public Instance Methods

AddHeader (inherited from OBEXHeadersContainer) adds new header to the container
AddHeaders (inherited from OBEXHeadersContainer) Adds all headers contained by this command to the headers of the container. Usually this is the simplest way to construct new OBEX object from an OBEX command
ClearHeaders (inherited from OBEXHeadersContainer) removes all headers from the conatiner
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBodyHeaders (inherited from OBEXHeadersContainer) returns data bytes form body/endofbody headers kept in the container
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetHeader (inherited from OBEXHeadersContainer)Overloaded. returns the first header of given type
GetLengthHeader (inherited from OBEXHeadersContainer) returns value of OBEX length header
GetType (inherited from Object) Gets the Type of the current instance.
HasHeader (inherited from OBEXHeadersContainer) Checks if the container has a header of given type
Marshal (inherited from OBEXCommand) marshals the command to byte sequance for sending
RemoveHeader (inherited from OBEXHeadersContainer) removes all headers of type SearchFor
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

fHeaders (inherited from OBEXHeadersContainer) List where headers are kept

Protected Instance Properties

Headers (inherited from OBEXHeadersContainer) returns list of the headers

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetMarshaledLen (inherited from OBEXCommand) returns command marshalled size
GetNameHeader (inherited from OBEXHeadersContainer) returns string that is kept in a NAME header
GetSortedHeaders (inherited from OBEXHeadersContainer) returns array of the headers kept in the container no sort is done in the base class, override if you need sorted headers array
GetTypeHeader (inherited from OBEXHeadersContainer) returns string that is kept in a TYPE header
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
SetBodyHeaders (inherited from OBEXHeadersContainer) Constructs new body/endbody headers from the raw data passed and adds them to the container's headers if any previous Body/EndBody headers are present, they are removed
SetHeader (inherited from OBEXHeadersContainer) sets new value to a header of this type in the container. THis is simplest way to rename OBEX object for example
SetLengthHeader (inherited from OBEXHeadersContainer) sets the value of OBEX length header, if noe is found new one is added
SetNameHeader (inherited from OBEXHeadersContainer) if there is Name header already its value is changed, else new one is added
SetTypeHeader (inherited from OBEXHeadersContainer) if there is Type header already its value is changed, else new one is added

See Also

OBEXSuccessResponse Class | BlueLibs.OBEX Namespace