System.Tether.BluetoothAdapter.TTetheringBluetoothManagerCommunicationThread Methods

From RAD Studio API Documentation
Jump to: navigation, search

AddProfilesprotectedHandles a string with data about remote profiles sent by a remote adapter in response to a profiles discovery request by the adapter of your communication thread.
AfterConstructionpublicExecutes the thread when the thread is created with CreateSuspended set to false.
CancelDiscoverProfilesTimerprotectedStops the timer created at the beginning of the profile discovery.
CheckTerminatedpublicIndicates whether the thread has been asked to terminate.
CheckThreadErrorprotectedChecks whether an error appears on a thread operation.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
CommandStrpublicReturns a string with the formatted command that is sent to the remote manager.
CommunicationThreadInitializedprotectedSets the FEventAdapterSync of the adapter that owns this communications thread.
CreatepublicCreates an instance of TTetheringBluetoothManagerCommunicationThread.
CreateAnonymousThreadpublicCreates an instance of an internally derived thread.
CreateDiscoverProfilesTimerprotectedCreates an internal timer with the specified timeout.
CreateManagerInfoprotectedRecords the received information about a remote manager.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DestroypublicDestroys this instance of TTetheringBluetoothManagerCommunicationThread.
DestroyDiscoverProfilesTimerprotectedStops the internal timer created for discovery profiles in a remote manager.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoSendCommandprotectedSends a response to the remote Bluetooth adapter
DoTerminateprotectedGenerates an OnTerminate event.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecutepublicInitializes the Bluetooth tethering communications thread and starts listening for remote connections
FieldAddresspublicReturns the address of a published object field.
ForceQueuepublicQueues the execution of a method call within the main thread.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GenerateRandomStringprotectedReturns a random string for the given connection of the TTetheringAdapter.
GetCPUUsagepublicCalculates the average time that the CPU is busy executing user code and kernel code.
GetDisposedprotectedGetter for the Disposed property.
GetHashCodepublicReturns an integer containing the hash code.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetNetworkInfoprotectedReturns the stored data about the status of the connection.
GetNetworkInfoByManagerprotectedReturns the stored data about the status of the connection with a remote manager.
GetRandomStringprotectedGetter of the random string of a connection.
GetRemoteConnectionStringprotectedReturns the remote connection string for a given connection.
GetStateprotectedReturns the current pairing state with a remote manager
GetTickCountpublicReturns the number of milliseconds that have elapsed since the system was started.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
IsDiscoveringProfilesprotectedChecks if the adapter is performing profile discovery.
IsListeningprotectedIndicates whether the communication thread is listening for connections.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NameThreadForDebuggingpublicUse NameThreadForDebugging to name a thread that was created without a name. Also, use this method to rename a specified thread.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
ProcessResponseprotectedHandles the input from a remote communication thread
QualifiedClassNamepublicReturns the qualified name of the class.
QueuepublicExecutes a method call within the main thread.
RemoveQueuedEventspublicRemove queued method calls.
Resume (deprecated)publicRestarts the execution of a suspended thread. Resume was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SendCommandpublicCalls DoSendCommand to send data to a remote adapter.
SetManagerIdprotectedSets the remote manager identifier in the TNetworkInfo
SetReturnValuepublicSets the current thread's return value.
SetStateprotectedSets the new pairing state with a remote manager
SleeppublicSuspend the execution of the thread for a specified amount of time.
SpinWaitpublicBlocks the execution of the thread in a spin-wait loop.
StartpublicStarts the execution of a thread.
StaticQueue (deprecated)publicAsynchronously executes a method call within the main thread.
StaticSynchronize (deprecated)publicExecutes a method call within the main thread.
Suspend (deprecated)publicPauses a running thread. Suspend was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010.
SynchronizepublicExecutes a method call within the main thread.
TerminatepublicSignals the thread to terminate by setting the Terminated property to true.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
WaitCommThreadInitializationprotectedWaits for FEventAdapterSync, which is initialized in CommunicationThreadInitialized.
WaitForpublicWaits for the thread to terminate and then returns the value of the ReturnValue property.
YieldpublicPasses the execution to another thread.