Protocols
The following protocols are available globally.
-
This allows a generic factory method for Service Wrappers.
See moreDeclaration
Swift
internal protocol CGA_ServiceFactory
-
This allows a generic factory method for Characteristic Wrappers.
See moreDeclaration
Swift
internal protocol CGA_CharacteristicFactory
-
This allows a generic factory method for Descriptor Wrappers.
See moreDeclaration
Swift
internal protocol CGA_DescriptorFactory
-
This protocol publishes an internal interface for our Characteristic wrapper classes.
See moreDeclaration
Swift
internal protocol CGA_Bluetooth_Characteristic_Protocol_Internal : CGA_Bluetooth_Characteristic_Protocol
-
This class “wraps” instances of CBDescriptor, adding some functionality, and linking the hierarchy.
See moreDeclaration
Swift
internal protocol CGA_Bluetooth_Descriptor_Protocol_Internal : CGA_Bluetooth_Descriptor_Protocol
-
This protocol publishes an internal interface for our Service wrapper classes.
See moreDeclaration
Swift
internal protocol CGA_Bluetooth_Service_Protocol_Internal : CGA_Bluetooth_Service_Protocol
-
This protocol publishes a public interface for our Characteristic wrapper classes.
See moreDeclaration
Swift
public protocol CGA_Bluetooth_Characteristic_Protocol : AnyObject, RVS_SequenceProtocol
-
This protocol publishes a public interface for our Descriptor wrapper classes.
See moreDeclaration
Swift
public protocol CGA_Bluetooth_Descriptor_Protocol : CGA_Class_Protocol
-
This protocol is the “base” protocol to which all the exposed types conform.
See moreDeclaration
Swift
public protocol CGA_Class_Protocol : AnyObject
-
This protocol defines an interface for a message that indicates that a Service object needs to be refreshed.
See moreDeclaration
Swift
public protocol CGA_Class_Protocol_UpdateService : CGA_Class_Protocol
-
This protocol defines an interface for a message that indicates that a Characteristic object needs to be refreshed. It also specifies a method to “clear” the stored Descriptors
See moreDeclaration
Swift
public protocol CGA_Class_Protocol_UpdateCharacteristic : CGA_Class_Protocol
-
This protocol defines an interface for a message that indicates that a Descriptor object needs to be refreshed.
See moreDeclaration
Swift
public protocol CGA_Class_Protocol_UpdateDescriptor : CGA_Class_Protocol_UpdateCharacteristic
-
All delegate callbacks are made in the main thread. This is the only delegate for the BlueThoth framework. All events in the system come to this one place.
See moreDeclaration
Swift
public protocol CGA_BlueThoth_Delegate : AnyObject
-
This is a simple protocol for a basic writer.
See moreDeclaration
Swift
public protocol CGA_Bluetooth_Writable
-
This protocol publishes a public interface for our Service wrapper classes.
See moreDeclaration
Swift
public protocol CGA_Bluetooth_Service_Protocol : AnyObject, RVS_SequenceProtocol