Documentation
¶
Overview ¶
Package iobluetoothui provides purego-based Go bindings for the macOS IOBluetoothUI framework.
Apple documentation: https://developer.apple.com/documentation/iobluetoothui
Index ¶
- Constants
- func IOBluetoothGetDeviceSelectorController() unsafe.Pointer
- func IOBluetoothGetPairingController() unsafe.Pointer
- func IOBluetoothServiceBrowserControllerBrowseDevicesAsSheetForWindowOptionsWindow(outRecord *iobluetooth.IOBluetoothSDPServiceRecord, inOptions uint32, ...) int
- func IOBluetoothServiceBrowserControllerBrowseDevicesOptions(outRecord *iobluetooth.IOBluetoothSDPServiceRecord, inOptions uint32) int
- func IOBluetoothValidateHardwareWithDescription(cancelButtonTitle unsafe.Pointer, descriptionText unsafe.Pointer) int
- func SymbolAvailable(symbol string) bool
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type BluetoothAMPCommandRejectReason
- type BluetoothAMPCreatePhysicalLinkResponseStatus
- type BluetoothAMPDisconnectPhysicalLinkResponseStatus
- type BluetoothAMPDiscoverResponseControllerStatus
- type BluetoothAMPGetAssocResponseStatus
- type BluetoothAMPGetInfoResponseStatus
- type BluetoothAMPManagerCode
- type BluetoothHCIPowerState
- type BluetoothKeyboardReturnType
- type BluetoothL2CAPCommandCode
- type BluetoothL2CAPCommandRejectReason
- type BluetoothL2CAPConfigurationOption
- type BluetoothL2CAPConfigurationResult
- type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags
- type BluetoothL2CAPConnectionResult
- type BluetoothL2CAPConnectionStatus
- type BluetoothL2CAPInformationExtendedFeaturesMask
- type BluetoothL2CAPInformationResult
- type BluetoothL2CAPInformationType
- type BluetoothL2CAPQoSType
- type BluetoothL2CAPSupervisoryFuctionType
- type BluetoothLEAddressType
- type BluetoothLEAdvertisingType
- type BluetoothLEConnectionInterval
- type BluetoothLEScan
- type BluetoothLEScanDuplicateFilter
- type BluetoothLEScanFilter
- type BluetoothLEScanType
- type BluetoothLESecurityManagerCommandCode
- type BluetoothLESecurityManagerIOCapability
- type BluetoothLESecurityManagerKeypressNotificationType
- type BluetoothLESecurityManagerOOBData
- type BluetoothLESecurityManagerPairingFailedReasonCode
- type BluetoothLESecurityManagerUserInputCapability
- type BluetoothLESecurityManagerUserOutputCapability
- type CGLCPContextPriorityRequest
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type EvCmd
- type Filesec_property_t
- type IOBluetoothAccessibilityIgnoredImageCell
- type IOBluetoothAccessibilityIgnoredTextFieldCell
- type IOBluetoothDeviceSelectorController
- func (o *IOBluetoothDeviceSelectorController) AddAllowedUUID(allowedUUID *iobluetooth.IOBluetoothSDPUUID)
- func (o *IOBluetoothDeviceSelectorController) AddAllowedUUIDArray(allowedUUIDArray *foundation.NSArray[objc.ID])
- func (o *IOBluetoothDeviceSelectorController) BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo(sheetWindow *appkit.NSWindow, modalDelegate objc.ID, didEndSelector objc.SEL, ...) int
- func (o *IOBluetoothDeviceSelectorController) ClearAllowedUUIDs()
- func (o *IOBluetoothDeviceSelectorController) GetCancel() *foundation.NSString
- func (o *IOBluetoothDeviceSelectorController) GetDescriptionText() *foundation.NSString
- func (o *IOBluetoothDeviceSelectorController) GetHeader() *foundation.NSString
- func (o *IOBluetoothDeviceSelectorController) GetOptions() uint32
- func (o *IOBluetoothDeviceSelectorController) GetPrompt() *foundation.NSString
- func (o *IOBluetoothDeviceSelectorController) GetResults() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothDeviceSelectorController) GetSearchAttributes() *iobluetooth.IOBluetoothDeviceSearchAttributes
- func (o *IOBluetoothDeviceSelectorController) GetTitle() *foundation.NSString
- func (o *IOBluetoothDeviceSelectorController) RunModal() int
- func (o *IOBluetoothDeviceSelectorController) SetCancel(prompt *foundation.NSString)
- func (o *IOBluetoothDeviceSelectorController) SetDescriptionText(descriptionText *foundation.NSString)
- func (o *IOBluetoothDeviceSelectorController) SetHeader(headerText *foundation.NSString)
- func (o *IOBluetoothDeviceSelectorController) SetOptions(options uint32)
- func (o *IOBluetoothDeviceSelectorController) SetPrompt(prompt *foundation.NSString)
- func (o *IOBluetoothDeviceSelectorController) SetSearchAttributes(searchAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes)
- func (o *IOBluetoothDeviceSelectorController) SetTitle(windowTitle *foundation.NSString)
- type IOBluetoothObjectPushUIController
- func (o *IOBluetoothObjectPushUIController) BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo(sheetWindow *appkit.NSWindow, modalDelegate objc.ID, didEndSelector objc.SEL, ...) int
- func (o *IOBluetoothObjectPushUIController) GetDevice() *iobluetooth.IOBluetoothDevice
- func (o *IOBluetoothObjectPushUIController) GetTitle() *foundation.NSString
- func (o *IOBluetoothObjectPushUIController) InitObjectPushWithBluetoothDeviceWithFilesDelegate(inDevice *iobluetooth.IOBluetoothDevice, inFiles *foundation.NSArray[objc.ID], ...) *IOBluetoothObjectPushUIController
- func (o *IOBluetoothObjectPushUIController) IsTransferInProgress() bool
- func (o *IOBluetoothObjectPushUIController) RunModal()
- func (o *IOBluetoothObjectPushUIController) RunPanel()
- func (o *IOBluetoothObjectPushUIController) SetIconImage(image *appkit.NSImage)
- func (o *IOBluetoothObjectPushUIController) SetTitle(windowTitle *foundation.NSString)
- func (o *IOBluetoothObjectPushUIController) Stop()
- type IOBluetoothPairingController
- func (o *IOBluetoothPairingController) AddAllowedUUID(allowedUUID *iobluetooth.IOBluetoothSDPUUID)
- func (o *IOBluetoothPairingController) AddAllowedUUIDArray(allowedUUIDArray *foundation.NSArray[objc.ID])
- func (o *IOBluetoothPairingController) ClearAllowedUUIDs()
- func (o *IOBluetoothPairingController) GetDescriptionText() *foundation.NSString
- func (o *IOBluetoothPairingController) GetOptions() uint32
- func (o *IOBluetoothPairingController) GetPrompt() *foundation.NSString
- func (o *IOBluetoothPairingController) GetResults() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothPairingController) GetSearchAttributes() *iobluetooth.IOBluetoothDeviceSearchAttributes
- func (o *IOBluetoothPairingController) GetTitle() *foundation.NSString
- func (o *IOBluetoothPairingController) RunModal() int
- func (o *IOBluetoothPairingController) SetDescriptionText(descriptionText *foundation.NSString)
- func (o *IOBluetoothPairingController) SetOptions(options uint32)
- func (o *IOBluetoothPairingController) SetPrompt(prompt *foundation.NSString)
- func (o *IOBluetoothPairingController) SetSearchAttributes(searchAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes)
- func (o *IOBluetoothPairingController) SetTitle(windowTitle *foundation.NSString)
- type IOBluetoothPasskeyDisplay
- func (o *IOBluetoothPasskeyDisplay) AdvancePasskeyIndicator()
- func (o *IOBluetoothPasskeyDisplay) BackgroundImageConstraint() *appkit.NSLayoutConstraint
- func (o *IOBluetoothPasskeyDisplay) CenteredView() *appkit.NSView
- func (o *IOBluetoothPasskeyDisplay) IsIncomingRequest() bool
- func (o *IOBluetoothPasskeyDisplay) Passkey() *foundation.NSString
- func (o *IOBluetoothPasskeyDisplay) ResetAll()
- func (o *IOBluetoothPasskeyDisplay) ResetPasskeyIndicator()
- func (o *IOBluetoothPasskeyDisplay) RetreatPasskeyIndicator()
- func (o *IOBluetoothPasskeyDisplay) ReturnHighlightImage() *appkit.NSImage
- func (o *IOBluetoothPasskeyDisplay) ReturnImage() *appkit.NSImage
- func (o *IOBluetoothPasskeyDisplay) SetBackgroundImageConstraint(backgroundImageConstraint *appkit.NSLayoutConstraint)
- func (o *IOBluetoothPasskeyDisplay) SetCenteredView(centeredView *appkit.NSView)
- func (o *IOBluetoothPasskeyDisplay) SetIsIncomingRequest(isIncomingRequest bool)
- func (o *IOBluetoothPasskeyDisplay) SetPasskey(passkey *foundation.NSString)
- func (o *IOBluetoothPasskeyDisplay) SetPasskeyForDeviceUsingSSP(inString *foundation.NSString, device *iobluetooth.IOBluetoothDevice, ...)
- func (o *IOBluetoothPasskeyDisplay) SetPasskeyIndicatorEnabled(inEnabled bool)
- func (o *IOBluetoothPasskeyDisplay) SetPasskeyString(inString *foundation.NSString)
- func (o *IOBluetoothPasskeyDisplay) SetReturnHighlightImage(returnHighlightImage *appkit.NSImage)
- func (o *IOBluetoothPasskeyDisplay) SetReturnImage(returnImage *appkit.NSImage)
- func (o *IOBluetoothPasskeyDisplay) SetUsePasskeyNotificaitons(usePasskeyNotificaitons bool)
- func (o *IOBluetoothPasskeyDisplay) SetupUIForDevice(device *iobluetooth.IOBluetoothDevice)
- func (o *IOBluetoothPasskeyDisplay) SetupUIForSSPDevice(device *iobluetooth.IOBluetoothDevice)
- func (o *IOBluetoothPasskeyDisplay) UsePasskeyNotificaitons() bool
- type IOBluetoothServiceBrowserController
- func IOBluetoothServiceBrowserControllerFromID(id objc.ID) *IOBluetoothServiceBrowserController
- func IOBluetoothServiceBrowserControllerServiceBrowserController(inOptions uint32) *IOBluetoothServiceBrowserController
- func IOBluetoothServiceBrowserControllerWithServiceBrowserControllerRef(serviceBrowserControllerRef unsafe.Pointer) *IOBluetoothServiceBrowserController
- func (o *IOBluetoothServiceBrowserController) AddAllowedUUID(allowedUUID *iobluetooth.IOBluetoothSDPUUID)
- func (o *IOBluetoothServiceBrowserController) AddAllowedUUIDArray(allowedUUIDArray *foundation.NSArray[objc.ID])
- func (o *IOBluetoothServiceBrowserController) BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo(sheetWindow *appkit.NSWindow, modalDelegate objc.ID, didEndSelector objc.SEL, ...) int
- func (o *IOBluetoothServiceBrowserController) ClearAllowedUUIDs()
- func (o *IOBluetoothServiceBrowserController) Discover(outRecord *iobluetooth.IOBluetoothSDPServiceRecord) int
- func (o *IOBluetoothServiceBrowserController) DiscoverAsSheetForWindowWithRecord(sheetWindow *appkit.NSWindow, ...) int
- func (o *IOBluetoothServiceBrowserController) DiscoverWithDeviceAttributesServiceListServiceRecord(deviceAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes, ...) int
- func (o *IOBluetoothServiceBrowserController) GetDescriptionText() *foundation.NSString
- func (o *IOBluetoothServiceBrowserController) GetOptions() uint32
- func (o *IOBluetoothServiceBrowserController) GetPrompt() *foundation.NSString
- func (o *IOBluetoothServiceBrowserController) GetResults() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothServiceBrowserController) GetSearchAttributes() *iobluetooth.IOBluetoothDeviceSearchAttributes
- func (o *IOBluetoothServiceBrowserController) GetServiceBrowserControllerRef() unsafe.Pointer
- func (o *IOBluetoothServiceBrowserController) GetTitle() *foundation.NSString
- func (o *IOBluetoothServiceBrowserController) RunModal() int
- func (o *IOBluetoothServiceBrowserController) SetDescriptionText(descriptionText *foundation.NSString)
- func (o *IOBluetoothServiceBrowserController) SetOptions(inOptions uint32)
- func (o *IOBluetoothServiceBrowserController) SetPrompt(prompt *foundation.NSString)
- func (o *IOBluetoothServiceBrowserController) SetSearchAttributes(searchAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes)
- func (o *IOBluetoothServiceBrowserController) SetTitle(windowTitle *foundation.NSString)
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NXMouseButton
- type Os_clockid_t
- type Os_unfair_lock_flags_t
- type PMPageToPaperMappingType
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
const ( KIOBluetoothServiceBrowserControllerOptionsAutoStartInquiry = 1 KIOBluetoothServiceBrowserControllerOptionsDisconnectWhenDone = 2 KIOBluetoothServiceBrowserControllerOptionsNone = 0 )
const ( KIOBluetoothUISuccess = -1000 KIOBluetoothUIUserCanceledErr = -1001 )
Variables ¶
This section is empty.
Functions ¶
func IOBluetoothServiceBrowserControllerBrowseDevicesAsSheetForWindowOptionsWindow ¶
func IOBluetoothServiceBrowserControllerBrowseDevicesAsSheetForWindowOptionsWindow(outRecord *iobluetooth.IOBluetoothSDPServiceRecord, inOptions uint32, inWindow *appkit.NSWindow) int
@method browseDevicesAsSheetForWindow:options:window: @abstract @discussion ***WARNING*** This method has been deprecated in favor of - beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:. @param outRecord Pointer to a (IOBluetoothSDPServiceRecord *) object. This will get allocated and returned to the client if the user selects a service. @param inOptions For future expansion. Currently no options defined. @param inWindow The window to be used as the anchor of the sheet. @result IOReturn - kIOReturnSuccess - on successful completion. kCanceledErr - User canceled. @discussion This method will allocate and run the IOBluetoothServiceBrowserController browser window as a sheet for a window.
func IOBluetoothServiceBrowserControllerBrowseDevicesOptions ¶
func IOBluetoothServiceBrowserControllerBrowseDevicesOptions(outRecord *iobluetooth.IOBluetoothSDPServiceRecord, inOptions uint32) int
@method browseDevices:options: @abstract @discussion ***WARNING*** This method has been deprecated in favor of -setOptions:, -runModal and -getResults. @param outRecord Pointer to a (IOBluetoothSDPServiceRecord *) object. This will get allocated and returned to the client if the user selects a service. @param inOptions For future expansion. Currently no options defined. @result IOReturn - kIOReturnSuccess - on successful completion. kCanceledErr - User canceled. @discussion This method allocates and runs the browser window as a modal window waiting for the user to either select a service, or cancel the browser window.
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type BluetoothAMPCommandRejectReason ¶
type BluetoothAMPCommandRejectReason int64
const (
KBluetoothAMPManagerCommandRejectReasonCommandNotRecognized BluetoothAMPCommandRejectReason = 0
)
func (BluetoothAMPCommandRejectReason) String ¶
func (e BluetoothAMPCommandRejectReason) String() string
type BluetoothAMPCreatePhysicalLinkResponseStatus ¶
type BluetoothAMPCreatePhysicalLinkResponseStatus int64
const ( KBluetoothAMPManagerCreatePhysicalLinkResponseSuccess BluetoothAMPCreatePhysicalLinkResponseStatus = 0 KBluetoothAMPManagerCreatePhysicalLinkResponseInvalidControllerID BluetoothAMPCreatePhysicalLinkResponseStatus = 1 KBluetoothAMPManagerCreatePhysicalLinkResponseUnableToStartLinkCreation BluetoothAMPCreatePhysicalLinkResponseStatus = 2 KBluetoothAMPManagerCreatePhysicalLinkResponseCollisionOccurred BluetoothAMPCreatePhysicalLinkResponseStatus = 3 KBluetoothAMPManagerCreatePhysicalLinkResponseAMPDisconnectedPhysicalLinkRequestReceived BluetoothAMPCreatePhysicalLinkResponseStatus = 4 KBluetoothAMPManagerCreatePhysicalLinkResponsePhysicalLinkAlreadyExists BluetoothAMPCreatePhysicalLinkResponseStatus = 5 KBluetoothAMPManagerCreatePhysicalLinkResponseSecurityViolation BluetoothAMPCreatePhysicalLinkResponseStatus = 6 )
func (BluetoothAMPCreatePhysicalLinkResponseStatus) String ¶
func (e BluetoothAMPCreatePhysicalLinkResponseStatus) String() string
type BluetoothAMPDisconnectPhysicalLinkResponseStatus ¶
type BluetoothAMPDisconnectPhysicalLinkResponseStatus int64
const ( KBluetoothAMPManagerDisconnectPhysicalLinkResponseSuccess BluetoothAMPDisconnectPhysicalLinkResponseStatus = 0 KBluetoothAMPManagerDisconnectPhysicalLinkResponseInvalidControllerID BluetoothAMPDisconnectPhysicalLinkResponseStatus = 1 KBluetoothAMPManagerDisconnectPhysicalLinkResponseNoPhysicalLink BluetoothAMPDisconnectPhysicalLinkResponseStatus = 2 )
func (BluetoothAMPDisconnectPhysicalLinkResponseStatus) String ¶
func (e BluetoothAMPDisconnectPhysicalLinkResponseStatus) String() string
type BluetoothAMPDiscoverResponseControllerStatus ¶
type BluetoothAMPDiscoverResponseControllerStatus int64
const ( KBluetoothAMPManagerDiscoverResponseControllerStatusPoweredDown BluetoothAMPDiscoverResponseControllerStatus = 0 KBluetoothAMPManagerDiscoverResponseControllerStatusBluetoothOnly BluetoothAMPDiscoverResponseControllerStatus = 1 KBluetoothAMPManagerDiscoverResponseControllerStatusNoCapacity BluetoothAMPDiscoverResponseControllerStatus = 2 KBluetoothAMPManagerDiscoverResponseControllerStatusLowCapacity BluetoothAMPDiscoverResponseControllerStatus = 3 KBluetoothAMPManagerDiscoverResponseControllerStatusMediumCapacity BluetoothAMPDiscoverResponseControllerStatus = 4 KBluetoothAMPManagerDiscoverResponseControllerStatusHighCapacity BluetoothAMPDiscoverResponseControllerStatus = 5 KBluetoothAMPManagerDiscoverResponseControllerStatusFullCapacity BluetoothAMPDiscoverResponseControllerStatus = 6 )
func (BluetoothAMPDiscoverResponseControllerStatus) String ¶
func (e BluetoothAMPDiscoverResponseControllerStatus) String() string
type BluetoothAMPGetAssocResponseStatus ¶
type BluetoothAMPGetAssocResponseStatus int64
const ( KBluetoothAMPManagerGetAssocResponseSuccess BluetoothAMPGetAssocResponseStatus = 0 KBluetoothAMPManagerGetAssocResponseInvalidControllerID BluetoothAMPGetAssocResponseStatus = 1 )
func (BluetoothAMPGetAssocResponseStatus) String ¶
func (e BluetoothAMPGetAssocResponseStatus) String() string
type BluetoothAMPGetInfoResponseStatus ¶
type BluetoothAMPGetInfoResponseStatus int64
const ( KBluetoothAMPManagerGetInfoResponseSuccess BluetoothAMPGetInfoResponseStatus = 0 KBluetoothAMPManagerGetInfoResponseInvalidControllerID BluetoothAMPGetInfoResponseStatus = 1 )
func (BluetoothAMPGetInfoResponseStatus) String ¶
func (e BluetoothAMPGetInfoResponseStatus) String() string
type BluetoothAMPManagerCode ¶
type BluetoothAMPManagerCode int64
const ( KBluetoothAMPManagerCodeReserved BluetoothAMPManagerCode = 0 KBluetoothAMPManagerCodeAMPCommandReject BluetoothAMPManagerCode = 1 KBluetoothAMPManagerCodeAMPDiscoverRequest BluetoothAMPManagerCode = 2 KBluetoothAMPManagerCodeAMPDiscoverResponse BluetoothAMPManagerCode = 3 KBluetoothAMPManagerCodeAMPChangeNotify BluetoothAMPManagerCode = 4 KBluetoothAMPManagerCodeAMPChangeResponse BluetoothAMPManagerCode = 5 KBluetoothAMPManagerCodeAMPGetInfoRequest BluetoothAMPManagerCode = 6 KBluetoothAMPManagerCodeAMPGetInfoResponse BluetoothAMPManagerCode = 7 KBluetoothAMPManagerCodeAMPGetAssocRequest BluetoothAMPManagerCode = 8 KBluetoothAMPManagerCodeAMPGetAssocResponse BluetoothAMPManagerCode = 9 KBluetoothAMPManagerCodeAMPCreatePhysicalLinkRequest BluetoothAMPManagerCode = 10 KBluetoothAMPManagerCodeAMPCreatePhysicalLinkResponse BluetoothAMPManagerCode = 11 KBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkRequest BluetoothAMPManagerCode = 12 KBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkResponse BluetoothAMPManagerCode = 13 )
func (BluetoothAMPManagerCode) String ¶
func (e BluetoothAMPManagerCode) String() string
type BluetoothHCIPowerState ¶
type BluetoothHCIPowerState int64
const ( KBluetoothHCIPowerStateON BluetoothHCIPowerState = 1 KBluetoothHCIPowerStateOFF BluetoothHCIPowerState = 0 KBluetoothHCIPowerStateUnintialized BluetoothHCIPowerState = 255 )
func (BluetoothHCIPowerState) String ¶
func (e BluetoothHCIPowerState) String() string
type BluetoothKeyboardReturnType ¶
type BluetoothKeyboardReturnType int64
const ( KBluetoothKeyboardANSIReturn BluetoothKeyboardReturnType = 0 KBluetoothKeyboardISOReturn BluetoothKeyboardReturnType = 1 KBluetoothKeyboardJISReturn BluetoothKeyboardReturnType = 2 KBluetoothKeyboardNoReturn BluetoothKeyboardReturnType = 3 )
func (BluetoothKeyboardReturnType) String ¶
func (e BluetoothKeyboardReturnType) String() string
type BluetoothL2CAPCommandCode ¶
type BluetoothL2CAPCommandCode int64
const ( KBluetoothL2CAPCommandCodeReserved BluetoothL2CAPCommandCode = 0 KBluetoothL2CAPCommandCodeCommandReject BluetoothL2CAPCommandCode = 1 KBluetoothL2CAPCommandCodeConnectionRequest BluetoothL2CAPCommandCode = 2 KBluetoothL2CAPCommandCodeConnectionResponse BluetoothL2CAPCommandCode = 3 KBluetoothL2CAPCommandCodeConfigureRequest BluetoothL2CAPCommandCode = 4 KBluetoothL2CAPCommandCodeConfigureResponse BluetoothL2CAPCommandCode = 5 KBluetoothL2CAPCommandCodeDisconnectionRequest BluetoothL2CAPCommandCode = 6 KBluetoothL2CAPCommandCodeDisconnectionResponse BluetoothL2CAPCommandCode = 7 KBluetoothL2CAPCommandCodeEchoRequest BluetoothL2CAPCommandCode = 8 KBluetoothL2CAPCommandCodeEchoResponse BluetoothL2CAPCommandCode = 9 KBluetoothL2CAPCommandCodeInformationRequest BluetoothL2CAPCommandCode = 10 KBluetoothL2CAPCommandCodeInformationResponse BluetoothL2CAPCommandCode = 11 KBluetoothL2CAPCommandCodeCreateChannelRequest BluetoothL2CAPCommandCode = 12 KBluetoothL2CAPCommandCodeCreateChannelResponse BluetoothL2CAPCommandCode = 13 KBluetoothL2CAPCommandCodeMoveChannelRequest BluetoothL2CAPCommandCode = 14 KBluetoothL2CAPCommandCodeMoveChannelResponse BluetoothL2CAPCommandCode = 15 KBluetoothL2CAPCommandCodeMoveChannelConfirmation BluetoothL2CAPCommandCode = 16 KBluetoothL2CAPCommandCodeMoveChannelConfirmationResponse BluetoothL2CAPCommandCode = 17 KBluetoothL2CAPCommandCodeConnectionParameterUpdateRequest BluetoothL2CAPCommandCode = 18 KBluetoothL2CAPCommandCodeConnectionParameterUpdateResponse BluetoothL2CAPCommandCode = 19 KBluetoothL2CAPCommandCodeLECreditBasedConnectionRequest BluetoothL2CAPCommandCode = 20 KBluetoothL2CAPCommandCodeLECreditBasedConnectionResponse BluetoothL2CAPCommandCode = 21 KBluetoothL2CAPCommandCodeLEFlowControlCredit BluetoothL2CAPCommandCode = 22 )
func (BluetoothL2CAPCommandCode) String ¶
func (e BluetoothL2CAPCommandCode) String() string
type BluetoothL2CAPCommandRejectReason ¶
type BluetoothL2CAPCommandRejectReason int64
const ( KBluetoothL2CAPCommandRejectReasonCommandNotUnderstood BluetoothL2CAPCommandRejectReason = 0 KBluetoothL2CAPCommandRejectReasonSignallingMTUExceeded BluetoothL2CAPCommandRejectReason = 1 KBluetoothL2CAPCommandRejectReasonInvalidCIDInRequest BluetoothL2CAPCommandRejectReason = 2 )
func (BluetoothL2CAPCommandRejectReason) String ¶
func (e BluetoothL2CAPCommandRejectReason) String() string
type BluetoothL2CAPConfigurationOption ¶
type BluetoothL2CAPConfigurationOption int64
const ( KBluetoothL2CAPConfigurationOptionMTU BluetoothL2CAPConfigurationOption = 1 KBluetoothL2CAPConfigurationOptionFlushTimeout BluetoothL2CAPConfigurationOption = 2 KBluetoothL2CAPConfigurationOptionQoS BluetoothL2CAPConfigurationOption = 3 KBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControl BluetoothL2CAPConfigurationOption = 4 KBluetoothL2CAPConfigurationOptionFrameCheckSequence BluetoothL2CAPConfigurationOption = 5 KBluetoothL2CAPConfigurationOptionExtendedFlowSpecification BluetoothL2CAPConfigurationOption = 6 KBluetoothL2CAPConfigurationOptionExtendedWindowSize BluetoothL2CAPConfigurationOption = 7 )
func (BluetoothL2CAPConfigurationOption) String ¶
func (e BluetoothL2CAPConfigurationOption) String() string
type BluetoothL2CAPConfigurationResult ¶
type BluetoothL2CAPConfigurationResult int64
const ( KBluetoothL2CAPConfigurationResultSuccess BluetoothL2CAPConfigurationResult = 0 KBluetoothL2CAPConfigurationResultUnacceptableParams BluetoothL2CAPConfigurationResult = 1 KBluetoothL2CAPConfigurationResultRejected BluetoothL2CAPConfigurationResult = 2 KBluetoothL2CAPConfigurationResultUnknownOptions BluetoothL2CAPConfigurationResult = 3 )
func (BluetoothL2CAPConfigurationResult) String ¶
func (e BluetoothL2CAPConfigurationResult) String() string
type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags ¶
type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags int64
const ( KBluetoothL2CAPConfigurationBasicL2CAPModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 0 KBluetoothL2CAPConfigurationRetransmissionModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 1 KBluetoothL2CAPConfigurationFlowControlModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 2 KBluetoothL2CAPConfigurationEnhancedRetransmissionMode BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 3 KBluetoothL2CAPConfigurationStreamingMode BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 4 )
func (BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags) String ¶
func (e BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags) String() string
type BluetoothL2CAPConnectionResult ¶
type BluetoothL2CAPConnectionResult int64
const ( KBluetoothL2CAPConnectionResultSuccessful BluetoothL2CAPConnectionResult = 0 KBluetoothL2CAPConnectionResultPending BluetoothL2CAPConnectionResult = 1 KBluetoothL2CAPConnectionResultRefusedPSMNotSupported BluetoothL2CAPConnectionResult = 2 KBluetoothL2CAPConnectionResultRefusedSecurityBlock BluetoothL2CAPConnectionResult = 3 KBluetoothL2CAPConnectionResultRefusedNoResources BluetoothL2CAPConnectionResult = 4 KBluetoothL2CAPConnectionResultRefusedReserved BluetoothL2CAPConnectionResult = 5 KBluetoothL2CAPConnectionResultRefusedInvalidSourceCID BluetoothL2CAPConnectionResult = 6 KBluetoothL2CAPConnectionResultRefusedSourceCIDAlreadyAllocated BluetoothL2CAPConnectionResult = 7 )
func (BluetoothL2CAPConnectionResult) String ¶
func (e BluetoothL2CAPConnectionResult) String() string
type BluetoothL2CAPConnectionStatus ¶
type BluetoothL2CAPConnectionStatus int64
const ( KBluetoothL2CAPConnectionStatusNoInfoAvailable BluetoothL2CAPConnectionStatus = 0 KBluetoothL2CAPConnectionStatusAuthenticationPending BluetoothL2CAPConnectionStatus = 1 KBluetoothL2CAPConnectionStatusAuthorizationPending BluetoothL2CAPConnectionStatus = 2 )
func (BluetoothL2CAPConnectionStatus) String ¶
func (e BluetoothL2CAPConnectionStatus) String() string
type BluetoothL2CAPInformationExtendedFeaturesMask ¶
type BluetoothL2CAPInformationExtendedFeaturesMask int64
const ( KBluetoothL2CAPInformationNoExtendedFeatures BluetoothL2CAPInformationExtendedFeaturesMask = 0 KBluetoothL2CAPInformationFlowControlMode BluetoothL2CAPInformationExtendedFeaturesMask = 1 KBluetoothL2CAPInformationRetransmissionMode BluetoothL2CAPInformationExtendedFeaturesMask = 2 KBluetoothL2CAPInformationBidirectionalQoS BluetoothL2CAPInformationExtendedFeaturesMask = 4 KBluetoothL2CAPInformationEnhancedRetransmissionMode BluetoothL2CAPInformationExtendedFeaturesMask = 8 KBluetoothL2CAPInformationStreamingMode BluetoothL2CAPInformationExtendedFeaturesMask = 16 KBluetoothL2CAPInformationFCSOption BluetoothL2CAPInformationExtendedFeaturesMask = 32 KBluetoothL2CAPInformationExtendedFlowSpecification BluetoothL2CAPInformationExtendedFeaturesMask = 64 KBluetoothL2CAPInformationFixedChannels BluetoothL2CAPInformationExtendedFeaturesMask = 128 KBluetoothL2CAPInformationExtendedWindowSize BluetoothL2CAPInformationExtendedFeaturesMask = 256 KBluetoothL2CAPUnicastConnectionlessDataReception BluetoothL2CAPInformationExtendedFeaturesMask = 512 )
func (BluetoothL2CAPInformationExtendedFeaturesMask) String ¶
func (e BluetoothL2CAPInformationExtendedFeaturesMask) String() string
type BluetoothL2CAPInformationResult ¶
type BluetoothL2CAPInformationResult int64
const ( KBluetoothL2CAPInformationResultSuccess BluetoothL2CAPInformationResult = 0 KBluetoothL2CAPInformationResultNotSupported BluetoothL2CAPInformationResult = 1 )
func (BluetoothL2CAPInformationResult) String ¶
func (e BluetoothL2CAPInformationResult) String() string
type BluetoothL2CAPInformationType ¶
type BluetoothL2CAPInformationType int64
const ( KBluetoothL2CAPInformationTypeConnectionlessMTU BluetoothL2CAPInformationType = 1 KBluetoothL2CAPInformationTypeExtendedFeatures BluetoothL2CAPInformationType = 2 KBluetoothL2CAPInformationTypeFixedChannelsSupported BluetoothL2CAPInformationType = 3 )
func (BluetoothL2CAPInformationType) String ¶
func (e BluetoothL2CAPInformationType) String() string
type BluetoothL2CAPQoSType ¶
type BluetoothL2CAPQoSType int64
const ( KBluetoothL2CAPQoSTypeNoTraffic BluetoothL2CAPQoSType = 0 KBluetoothL2CAPQoSTypeBestEffort BluetoothL2CAPQoSType = 1 KBluetoothL2CAPQoSTypeGuaranteed BluetoothL2CAPQoSType = 2 )
func (BluetoothL2CAPQoSType) String ¶
func (e BluetoothL2CAPQoSType) String() string
type BluetoothL2CAPSupervisoryFuctionType ¶
type BluetoothL2CAPSupervisoryFuctionType int64
const ( KBluetoothL2CAPSupervisoryFuctionTypeReceiverReady BluetoothL2CAPSupervisoryFuctionType = 0 KBluetoothL2CAPSupervisoryFuctionTypeReject BluetoothL2CAPSupervisoryFuctionType = 1 KBluetoothL2CAPSupervisoryFuctionTypeReceiverNotReady BluetoothL2CAPSupervisoryFuctionType = 2 KBluetoothL2CAPSupervisoryFuctionTypeSelectiveReject BluetoothL2CAPSupervisoryFuctionType = 3 )
func (BluetoothL2CAPSupervisoryFuctionType) String ¶
func (e BluetoothL2CAPSupervisoryFuctionType) String() string
type BluetoothLEAddressType ¶
type BluetoothLEAddressType int64
const ( BluetoothLEAddressTypePublic BluetoothLEAddressType = 0 BluetoothLEAddressTypeRandom BluetoothLEAddressType = 1 )
func (BluetoothLEAddressType) String ¶
func (e BluetoothLEAddressType) String() string
type BluetoothLEAdvertisingType ¶
type BluetoothLEAdvertisingType int64
const ( BluetoothLEAdvertisingTypeConnectableUndirected BluetoothLEAdvertisingType = 0 BluetoothLEAdvertisingTypeConnectableDirected BluetoothLEAdvertisingType = 1 BluetoothLEAdvertisingTypeDiscoverableUndirected BluetoothLEAdvertisingType = 2 BluetoothLEAdvertisingTypeNonConnectableUndirected BluetoothLEAdvertisingType = 3 BluetoothLEAdvertisingTypeScanResponse BluetoothLEAdvertisingType = 4 )
func (BluetoothLEAdvertisingType) String ¶
func (e BluetoothLEAdvertisingType) String() string
type BluetoothLEConnectionInterval ¶
type BluetoothLEConnectionInterval int64
const ( BluetoothLEConnectionIntervalMin BluetoothLEConnectionInterval = 6 BluetoothLEConnectionIntervalMax BluetoothLEConnectionInterval = 3200 )
func (BluetoothLEConnectionInterval) String ¶
func (e BluetoothLEConnectionInterval) String() string
type BluetoothLEScan ¶
type BluetoothLEScan int64
const ( BluetoothLEScanDisable BluetoothLEScan = 0 BluetoothLEScanEnable BluetoothLEScan = 1 )
func (BluetoothLEScan) String ¶
func (e BluetoothLEScan) String() string
type BluetoothLEScanDuplicateFilter ¶
type BluetoothLEScanDuplicateFilter int64
const ( BluetoothLEScanDuplicateFilterDisable BluetoothLEScanDuplicateFilter = 0 BluetoothLEScanDuplicateFilterEnable BluetoothLEScanDuplicateFilter = 1 )
func (BluetoothLEScanDuplicateFilter) String ¶
func (e BluetoothLEScanDuplicateFilter) String() string
type BluetoothLEScanFilter ¶
type BluetoothLEScanFilter int64
const ( BluetoothLEScanFilterNone BluetoothLEScanFilter = 0 BluetoothLEScanFilterSafelist BluetoothLEScanFilter = 1 BluetoothLEScanFilterWhitelist BluetoothLEScanFilter = 1 )
func (BluetoothLEScanFilter) String ¶
func (e BluetoothLEScanFilter) String() string
type BluetoothLEScanType ¶
type BluetoothLEScanType int64
const ( BluetoothLEScanTypePassive BluetoothLEScanType = 0 BluetoothLEScanTypeActive BluetoothLEScanType = 1 )
func (BluetoothLEScanType) String ¶
func (e BluetoothLEScanType) String() string
type BluetoothLESecurityManagerCommandCode ¶
type BluetoothLESecurityManagerCommandCode int64
const ( KBluetoothLESecurityManagerCommandCodeReserved BluetoothLESecurityManagerCommandCode = 0 KBluetoothLESecurityManagerCommandCodePairingRequest BluetoothLESecurityManagerCommandCode = 1 KBluetoothLESecurityManagerCommandCodePairingResponse BluetoothLESecurityManagerCommandCode = 2 KBluetoothLESecurityManagerCommandCodePairingConfirm BluetoothLESecurityManagerCommandCode = 3 KBluetoothLESecurityManagerCommandCodePairingRandom BluetoothLESecurityManagerCommandCode = 4 KBluetoothLESecurityManagerCommandCodePairingFailed BluetoothLESecurityManagerCommandCode = 5 KBluetoothLESecurityManagerCommandCodeEncryptionInfo BluetoothLESecurityManagerCommandCode = 6 KBluetoothLESecurityManagerCommandCodeMasterIdentification BluetoothLESecurityManagerCommandCode = 7 KBluetoothLESecurityManagerCommandCodeIdentityInfo BluetoothLESecurityManagerCommandCode = 8 KBluetoothLESecurityManagerCommandCodeIdentityAddressInfo BluetoothLESecurityManagerCommandCode = 9 KBluetoothLESecurityManagerCommandCodeSigningInfo BluetoothLESecurityManagerCommandCode = 10 KBluetoothLESecurityManagerCommandCodeSecurityRequest BluetoothLESecurityManagerCommandCode = 11 KBluetoothLESecurityManagerCommandCodePairingPublicKey BluetoothLESecurityManagerCommandCode = 12 KBluetoothLESecurityManagerCommandCodePairingDHKeyCheck BluetoothLESecurityManagerCommandCode = 13 KBluetoothLESecurityManagerCommandCodePairingKeypressNotification BluetoothLESecurityManagerCommandCode = 14 KBluetoothLESecurityManagerCommandCodeReservedStart BluetoothLESecurityManagerCommandCode = 15 KBluetoothLESecurityManagerCommandCodeReservedEnd BluetoothLESecurityManagerCommandCode = 255 )
func (BluetoothLESecurityManagerCommandCode) String ¶
func (e BluetoothLESecurityManagerCommandCode) String() string
type BluetoothLESecurityManagerIOCapability ¶
type BluetoothLESecurityManagerIOCapability int64
const ( KBluetoothLESecurityManagerIOCapabilityDisplayOnly BluetoothLESecurityManagerIOCapability = 0 KBluetoothLESecurityManagerIOCapabilityDisplayYesNo BluetoothLESecurityManagerIOCapability = 1 KBluetoothLESecurityManagerIOCapabilityKeyboardOnly BluetoothLESecurityManagerIOCapability = 2 KBluetoothLESecurityManagerIOCapabilityNoInputNoOutput BluetoothLESecurityManagerIOCapability = 3 KBluetoothLESecurityManagerIOCapabilityKeyboardDisplay BluetoothLESecurityManagerIOCapability = 4 KBluetoothLESecurityManagerIOCapabilityReservedStart BluetoothLESecurityManagerIOCapability = 5 KBluetoothLESecurityManagerIOCapabilityReservedEnd BluetoothLESecurityManagerIOCapability = 255 )
func (BluetoothLESecurityManagerIOCapability) String ¶
func (e BluetoothLESecurityManagerIOCapability) String() string
type BluetoothLESecurityManagerKeypressNotificationType ¶
type BluetoothLESecurityManagerKeypressNotificationType int64
const ( KBluetoothLESecurityManagerNotificationTypePasskeyEntryStarted BluetoothLESecurityManagerKeypressNotificationType = 0 KBluetoothLESecurityManagerNotificationTypePasskeyDigitEntered BluetoothLESecurityManagerKeypressNotificationType = 1 KBluetoothLESecurityManagerNotificationTypePasskeyDigitErased BluetoothLESecurityManagerKeypressNotificationType = 2 KBluetoothLESecurityManagerNotificationTypePasskeyCleared BluetoothLESecurityManagerKeypressNotificationType = 3 KBluetoothLESecurityManagerNotificationTypePasskeyEntryCompleted BluetoothLESecurityManagerKeypressNotificationType = 4 KBluetoothLESecurityManagerNotificationTypeReservedStart BluetoothLESecurityManagerKeypressNotificationType = 5 KBluetoothLESecurityManagerNotificationTypeReservedEnd BluetoothLESecurityManagerKeypressNotificationType = 255 )
func (BluetoothLESecurityManagerKeypressNotificationType) String ¶
func (e BluetoothLESecurityManagerKeypressNotificationType) String() string
type BluetoothLESecurityManagerOOBData ¶
type BluetoothLESecurityManagerOOBData int64
const ( KBluetoothLESecurityManagerOOBAuthenticationDataNotPresent BluetoothLESecurityManagerOOBData = 0 KBluetoothLESecurityManagerOOBAuthenticationDataPresent BluetoothLESecurityManagerOOBData = 1 KBluetoothLESecurityManagerOOBDataReservedStart BluetoothLESecurityManagerOOBData = 2 KBluetoothLESecurityManagerOOBDataReservedEnd BluetoothLESecurityManagerOOBData = 255 )
func (BluetoothLESecurityManagerOOBData) String ¶
func (e BluetoothLESecurityManagerOOBData) String() string
type BluetoothLESecurityManagerPairingFailedReasonCode ¶
type BluetoothLESecurityManagerPairingFailedReasonCode int64
const ( KBluetoothLESecurityManagerReasonCodeReserved BluetoothLESecurityManagerPairingFailedReasonCode = 0 KBluetoothLESecurityManagerReasonCodePasskeyEntryFailed BluetoothLESecurityManagerPairingFailedReasonCode = 1 KBluetoothLESecurityManagerReasonCodeOOBNotAvailbale BluetoothLESecurityManagerPairingFailedReasonCode = 2 KBluetoothLESecurityManagerReasonCodeAuthenticationRequirements BluetoothLESecurityManagerPairingFailedReasonCode = 3 KBluetoothLESecurityManagerReasonCodeConfirmValueFailed BluetoothLESecurityManagerPairingFailedReasonCode = 4 KBluetoothLESecurityManagerReasonCodePairingNotSupported BluetoothLESecurityManagerPairingFailedReasonCode = 5 KBluetoothLESecurityManagerReasonCodeEncryptionKeySize BluetoothLESecurityManagerPairingFailedReasonCode = 6 KBluetoothLESecurityManagerReasonCodeCommandNotSupported BluetoothLESecurityManagerPairingFailedReasonCode = 7 KBluetoothLESecurityManagerReasonCodeUnspecifiedReason BluetoothLESecurityManagerPairingFailedReasonCode = 8 KBluetoothLESecurityManagerReasonCodeRepeatedAttempts BluetoothLESecurityManagerPairingFailedReasonCode = 9 KBluetoothLESecurityManagerReasonCodeInvalidParameters BluetoothLESecurityManagerPairingFailedReasonCode = 10 KBluetoothLESecurityManagerReasonCodeDHKeyCheckFailed BluetoothLESecurityManagerPairingFailedReasonCode = 11 KBluetoothLESecurityManagerReasonCodeNumericComparisonFailed BluetoothLESecurityManagerPairingFailedReasonCode = 12 KBluetoothLESecurityManagerReasonCodeBREDRPairingInProgress BluetoothLESecurityManagerPairingFailedReasonCode = 13 KBluetoothLESecurityManagerReasonCodeCrossTransportKeyDerivationGenerationNotAllowed BluetoothLESecurityManagerPairingFailedReasonCode = 14 KBluetoothLESecurityManagerReasonCodeReservedStart BluetoothLESecurityManagerPairingFailedReasonCode = 15 KBluetoothLESecurityManagerReasonCodeReservedEnd BluetoothLESecurityManagerPairingFailedReasonCode = 255 )
func (BluetoothLESecurityManagerPairingFailedReasonCode) String ¶
func (e BluetoothLESecurityManagerPairingFailedReasonCode) String() string
type BluetoothLESecurityManagerUserInputCapability ¶
type BluetoothLESecurityManagerUserInputCapability int64
const ( KBluetoothLESecurityManagerUserInputCapabilityNoInput BluetoothLESecurityManagerUserInputCapability = 1 KBluetoothLESecurityManagerUserInputCapabilityYesNo BluetoothLESecurityManagerUserInputCapability = 2 KBluetoothLESecurityManagerUserInputCapabilityKeyboard BluetoothLESecurityManagerUserInputCapability = 3 )
func (BluetoothLESecurityManagerUserInputCapability) String ¶
func (e BluetoothLESecurityManagerUserInputCapability) String() string
type BluetoothLESecurityManagerUserOutputCapability ¶
type BluetoothLESecurityManagerUserOutputCapability int64
const ( KBluetoothLESecurityManagerUserOutputCapabilityNoOutput BluetoothLESecurityManagerUserOutputCapability = 1 KBluetoothLESecurityManagerUserOutputCapabilityNumericOutput BluetoothLESecurityManagerUserOutputCapability = 2 )
func (BluetoothLESecurityManagerUserOutputCapability) String ¶
func (e BluetoothLESecurityManagerUserOutputCapability) String() string
type CGLCPContextPriorityRequest ¶
type CGLCPContextPriorityRequest int64
const ( KCGLCPContextPriorityRequestHigh CGLCPContextPriorityRequest = 0 KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1 KCGLCPContextPriorityRequestLow CGLCPContextPriorityRequest = 2 )
func (CGLCPContextPriorityRequest) String ¶
func (e CGLCPContextPriorityRequest) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type IOBluetoothAccessibilityIgnoredImageCell ¶
type IOBluetoothAccessibilityIgnoredImageCell struct {
appkit.NSImageCell
}
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothaccessibilityignoredimagecell
func IOBluetoothAccessibilityIgnoredImageCellFromID ¶
func IOBluetoothAccessibilityIgnoredImageCellFromID(id objc.ID) *IOBluetoothAccessibilityIgnoredImageCell
type IOBluetoothAccessibilityIgnoredTextFieldCell ¶
type IOBluetoothAccessibilityIgnoredTextFieldCell struct {
appkit.NSTextFieldCell
}
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothaccessibilityignoredtextfieldcell
func IOBluetoothAccessibilityIgnoredTextFieldCellFromID ¶
func IOBluetoothAccessibilityIgnoredTextFieldCellFromID(id objc.ID) *IOBluetoothAccessibilityIgnoredTextFieldCell
type IOBluetoothDeviceSelectorController ¶
type IOBluetoothDeviceSelectorController struct {
appkit.NSWindowController
}
@class IOBluetoothDeviceSelectorController @abstract A NSWindowController subclass to display a window to initiate pairing to other bluetooth devices. @discussion Implementation of a window controller to return a NSArray of selected bluetooth devices. This class will handle connecting to the Bluetooth Daemon for the purposes of searches, and displaying the results. This controller will return a NSArray of IOBluetoothDevice objects to the user.
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothdeviceselectorcontroller
func IOBluetoothDeviceSelectorControllerDeviceSelector ¶
func IOBluetoothDeviceSelectorControllerDeviceSelector() *IOBluetoothDeviceSelectorController
@method deviceSelector @abstract @discussion Method call to instantiate a new IOBluetoothDeviceSelectorController object. @result Success - a new instance of the device selector Controller Failure - nil
func IOBluetoothDeviceSelectorControllerFromID ¶
func IOBluetoothDeviceSelectorControllerFromID(id objc.ID) *IOBluetoothDeviceSelectorController
func (*IOBluetoothDeviceSelectorController) AddAllowedUUID ¶
func (o *IOBluetoothDeviceSelectorController) AddAllowedUUID(allowedUUID *iobluetooth.IOBluetoothSDPUUID)
func (*IOBluetoothDeviceSelectorController) AddAllowedUUIDArray ¶
func (o *IOBluetoothDeviceSelectorController) AddAllowedUUIDArray(allowedUUIDArray *foundation.NSArray[objc.ID])
func (*IOBluetoothDeviceSelectorController) BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ¶
func (*IOBluetoothDeviceSelectorController) ClearAllowedUUIDs ¶
func (o *IOBluetoothDeviceSelectorController) ClearAllowedUUIDs()
func (*IOBluetoothDeviceSelectorController) GetCancel ¶
func (o *IOBluetoothDeviceSelectorController) GetCancel() *foundation.NSString
func (*IOBluetoothDeviceSelectorController) GetDescriptionText ¶
func (o *IOBluetoothDeviceSelectorController) GetDescriptionText() *foundation.NSString
func (*IOBluetoothDeviceSelectorController) GetHeader ¶
func (o *IOBluetoothDeviceSelectorController) GetHeader() *foundation.NSString
func (*IOBluetoothDeviceSelectorController) GetOptions ¶
func (o *IOBluetoothDeviceSelectorController) GetOptions() uint32
func (*IOBluetoothDeviceSelectorController) GetPrompt ¶
func (o *IOBluetoothDeviceSelectorController) GetPrompt() *foundation.NSString
func (*IOBluetoothDeviceSelectorController) GetResults ¶
func (o *IOBluetoothDeviceSelectorController) GetResults() *foundation.NSArray[objc.ID]
func (*IOBluetoothDeviceSelectorController) GetSearchAttributes ¶
func (o *IOBluetoothDeviceSelectorController) GetSearchAttributes() *iobluetooth.IOBluetoothDeviceSearchAttributes
func (*IOBluetoothDeviceSelectorController) GetTitle ¶
func (o *IOBluetoothDeviceSelectorController) GetTitle() *foundation.NSString
func (*IOBluetoothDeviceSelectorController) RunModal ¶
func (o *IOBluetoothDeviceSelectorController) RunModal() int
func (*IOBluetoothDeviceSelectorController) SetCancel ¶
func (o *IOBluetoothDeviceSelectorController) SetCancel(prompt *foundation.NSString)
func (*IOBluetoothDeviceSelectorController) SetDescriptionText ¶
func (o *IOBluetoothDeviceSelectorController) SetDescriptionText(descriptionText *foundation.NSString)
func (*IOBluetoothDeviceSelectorController) SetHeader ¶
func (o *IOBluetoothDeviceSelectorController) SetHeader(headerText *foundation.NSString)
func (*IOBluetoothDeviceSelectorController) SetOptions ¶
func (o *IOBluetoothDeviceSelectorController) SetOptions(options uint32)
func (*IOBluetoothDeviceSelectorController) SetPrompt ¶
func (o *IOBluetoothDeviceSelectorController) SetPrompt(prompt *foundation.NSString)
func (*IOBluetoothDeviceSelectorController) SetSearchAttributes ¶
func (o *IOBluetoothDeviceSelectorController) SetSearchAttributes(searchAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes)
func (*IOBluetoothDeviceSelectorController) SetTitle ¶
func (o *IOBluetoothDeviceSelectorController) SetTitle(windowTitle *foundation.NSString)
type IOBluetoothObjectPushUIController ¶
type IOBluetoothObjectPushUIController struct {
appkit.NSWindowController
}
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothobjectpushuicontroller
func IOBluetoothObjectPushUIControllerFromID ¶
func IOBluetoothObjectPushUIControllerFromID(id objc.ID) *IOBluetoothObjectPushUIController
func (*IOBluetoothObjectPushUIController) BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ¶
func (*IOBluetoothObjectPushUIController) GetDevice ¶
func (o *IOBluetoothObjectPushUIController) GetDevice() *iobluetooth.IOBluetoothDevice
@method getDevice: @abstract Gets the object representing the remote target device in the transfer. @discussion @result The remote device of the transfer.
func (*IOBluetoothObjectPushUIController) GetTitle ¶
func (o *IOBluetoothObjectPushUIController) GetTitle() *foundation.NSString
@method getTitle @abstract Returns the title of the transfer panel (i.e. what was set in -setTitle:). @discussion @result Returns the title of the transfer panel.
func (*IOBluetoothObjectPushUIController) InitObjectPushWithBluetoothDeviceWithFilesDelegate ¶
func (o *IOBluetoothObjectPushUIController) InitObjectPushWithBluetoothDeviceWithFilesDelegate(inDevice *iobluetooth.IOBluetoothDevice, inFiles *foundation.NSArray[objc.ID], inDelegate objc.ID) *IOBluetoothObjectPushUIController
@method initObjectPushWithBluetoothDevice: withFiles: delegate: @abstract Creates and returns a new IOBluetoothObjectPush object @discussion The event delegate should implement a single delegate method: - (void) objectPushComplete: (IOBluetoothObjectPushUIController*) inPusher The method will be called when the transaction is complete and should be used to release the push object by the delegate. If no delegate is set the object will release itself when the transfer is finished. @param inDevice The remote device to send the files to @param inFiles An array of file paths to send @param inDelegate A delegate object that implements the single method above. If no delegate is specified this object will release itself when the transaction is complete. @result An IOBluetoothObjectPushUIController object on success, nil on fail.
func (*IOBluetoothObjectPushUIController) IsTransferInProgress ¶
func (o *IOBluetoothObjectPushUIController) IsTransferInProgress() bool
@method isTransferInProgress: @abstract Gets state of the transfer @discussion @result The state of the transfer
func (*IOBluetoothObjectPushUIController) RunModal ¶
func (o *IOBluetoothObjectPushUIController) RunModal()
@method runModal @abstract Runs the transfer UI panel in a modal session @discussion Returns when the modal session has ended. This object will call back over the delegate method (above) when the transfer is complete. Users should release the object then. If no delegate is set the object will release itself. @result The call will stall in this method until the modal session is complete.
func (*IOBluetoothObjectPushUIController) RunPanel ¶
func (o *IOBluetoothObjectPushUIController) RunPanel()
@method runPanel @abstract Runs the transfer UI as a panel with no modal session @discussion Returns immediately. The object will callback over the delegate method (above) when the transfer is completed. If no delegate is set the object will release itself. @result The method will return immediately.
func (*IOBluetoothObjectPushUIController) SetIconImage ¶
func (o *IOBluetoothObjectPushUIController) SetIconImage(image *appkit.NSImage)
@method setIconImage: @abstract Manually sets the icon used in the panel. @discussion The panel icon should be set to the icon of the calling application. If not set, the panel will try to load up the correct icon for the target device, and will default to the icon of the running application on fail. @param image Image to use as the icon.
func (*IOBluetoothObjectPushUIController) SetTitle ¶
func (o *IOBluetoothObjectPushUIController) SetTitle(windowTitle *foundation.NSString)
@method setTitle: @abstract Sets the title of the panel when not run as a sheet. @discussion The panel title should be localized for best user experience. @param windowTitle Title of the device selector panel.
func (*IOBluetoothObjectPushUIController) Stop ¶
func (o *IOBluetoothObjectPushUIController) Stop()
@method stop @abstract Stops the transfer UI @discussion Returns immediately. The object will callback over the delegate method (above) when the transfer is completed, or will release itself if no delegate is set. @result The method will return immediately.
type IOBluetoothPairingController ¶
type IOBluetoothPairingController struct {
appkit.NSWindowController
}
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothpairingcontroller
func IOBluetoothPairingControllerFromID ¶
func IOBluetoothPairingControllerFromID(id objc.ID) *IOBluetoothPairingController
func IOBluetoothPairingControllerPairingController ¶
func IOBluetoothPairingControllerPairingController() *IOBluetoothPairingController
@method pairingController @abstract @discussion Method call to instantiate a new IOBluetoothPairingController object. @result An IOBluetoothPairingController instance. Call runPanelWithAttributes Success - a new instance of the Pairing Controller Failure - nil
func (*IOBluetoothPairingController) AddAllowedUUID ¶
func (o *IOBluetoothPairingController) AddAllowedUUID(allowedUUID *iobluetooth.IOBluetoothSDPUUID)
func (*IOBluetoothPairingController) AddAllowedUUIDArray ¶
func (o *IOBluetoothPairingController) AddAllowedUUIDArray(allowedUUIDArray *foundation.NSArray[objc.ID])
func (*IOBluetoothPairingController) ClearAllowedUUIDs ¶
func (o *IOBluetoothPairingController) ClearAllowedUUIDs()
func (*IOBluetoothPairingController) GetDescriptionText ¶
func (o *IOBluetoothPairingController) GetDescriptionText() *foundation.NSString
func (*IOBluetoothPairingController) GetOptions ¶
func (o *IOBluetoothPairingController) GetOptions() uint32
func (*IOBluetoothPairingController) GetPrompt ¶
func (o *IOBluetoothPairingController) GetPrompt() *foundation.NSString
func (*IOBluetoothPairingController) GetResults ¶
func (o *IOBluetoothPairingController) GetResults() *foundation.NSArray[objc.ID]
func (*IOBluetoothPairingController) GetSearchAttributes ¶
func (o *IOBluetoothPairingController) GetSearchAttributes() *iobluetooth.IOBluetoothDeviceSearchAttributes
func (*IOBluetoothPairingController) GetTitle ¶
func (o *IOBluetoothPairingController) GetTitle() *foundation.NSString
func (*IOBluetoothPairingController) RunModal ¶
func (o *IOBluetoothPairingController) RunModal() int
func (*IOBluetoothPairingController) SetDescriptionText ¶
func (o *IOBluetoothPairingController) SetDescriptionText(descriptionText *foundation.NSString)
func (*IOBluetoothPairingController) SetOptions ¶
func (o *IOBluetoothPairingController) SetOptions(options uint32)
func (*IOBluetoothPairingController) SetPrompt ¶
func (o *IOBluetoothPairingController) SetPrompt(prompt *foundation.NSString)
func (*IOBluetoothPairingController) SetSearchAttributes ¶
func (o *IOBluetoothPairingController) SetSearchAttributes(searchAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes)
func (*IOBluetoothPairingController) SetTitle ¶
func (o *IOBluetoothPairingController) SetTitle(windowTitle *foundation.NSString)
type IOBluetoothPasskeyDisplay ¶
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothpasskeydisplay
func IOBluetoothPasskeyDisplayFromID ¶
func IOBluetoothPasskeyDisplayFromID(id objc.ID) *IOBluetoothPasskeyDisplay
func IOBluetoothPasskeyDisplaySharedDisplayView ¶
func IOBluetoothPasskeyDisplaySharedDisplayView() *IOBluetoothPasskeyDisplay
func (*IOBluetoothPasskeyDisplay) AdvancePasskeyIndicator ¶
func (o *IOBluetoothPasskeyDisplay) AdvancePasskeyIndicator()
func (*IOBluetoothPasskeyDisplay) BackgroundImageConstraint ¶
func (o *IOBluetoothPasskeyDisplay) BackgroundImageConstraint() *appkit.NSLayoutConstraint
func (*IOBluetoothPasskeyDisplay) CenteredView ¶
func (o *IOBluetoothPasskeyDisplay) CenteredView() *appkit.NSView
func (*IOBluetoothPasskeyDisplay) IsIncomingRequest ¶
func (o *IOBluetoothPasskeyDisplay) IsIncomingRequest() bool
func (*IOBluetoothPasskeyDisplay) Passkey ¶
func (o *IOBluetoothPasskeyDisplay) Passkey() *foundation.NSString
func (*IOBluetoothPasskeyDisplay) ResetAll ¶
func (o *IOBluetoothPasskeyDisplay) ResetAll()
func (*IOBluetoothPasskeyDisplay) ResetPasskeyIndicator ¶
func (o *IOBluetoothPasskeyDisplay) ResetPasskeyIndicator()
func (*IOBluetoothPasskeyDisplay) RetreatPasskeyIndicator ¶
func (o *IOBluetoothPasskeyDisplay) RetreatPasskeyIndicator()
func (*IOBluetoothPasskeyDisplay) ReturnHighlightImage ¶
func (o *IOBluetoothPasskeyDisplay) ReturnHighlightImage() *appkit.NSImage
func (*IOBluetoothPasskeyDisplay) ReturnImage ¶
func (o *IOBluetoothPasskeyDisplay) ReturnImage() *appkit.NSImage
func (*IOBluetoothPasskeyDisplay) SetBackgroundImageConstraint ¶
func (o *IOBluetoothPasskeyDisplay) SetBackgroundImageConstraint(backgroundImageConstraint *appkit.NSLayoutConstraint)
func (*IOBluetoothPasskeyDisplay) SetCenteredView ¶
func (o *IOBluetoothPasskeyDisplay) SetCenteredView(centeredView *appkit.NSView)
func (*IOBluetoothPasskeyDisplay) SetIsIncomingRequest ¶
func (o *IOBluetoothPasskeyDisplay) SetIsIncomingRequest(isIncomingRequest bool)
func (*IOBluetoothPasskeyDisplay) SetPasskey ¶
func (o *IOBluetoothPasskeyDisplay) SetPasskey(passkey *foundation.NSString)
func (*IOBluetoothPasskeyDisplay) SetPasskeyForDeviceUsingSSP ¶
func (o *IOBluetoothPasskeyDisplay) SetPasskeyForDeviceUsingSSP(inString *foundation.NSString, device *iobluetooth.IOBluetoothDevice, isSSP bool)
func (*IOBluetoothPasskeyDisplay) SetPasskeyIndicatorEnabled ¶
func (o *IOBluetoothPasskeyDisplay) SetPasskeyIndicatorEnabled(inEnabled bool)
func (*IOBluetoothPasskeyDisplay) SetPasskeyString ¶
func (o *IOBluetoothPasskeyDisplay) SetPasskeyString(inString *foundation.NSString)
func (*IOBluetoothPasskeyDisplay) SetReturnHighlightImage ¶
func (o *IOBluetoothPasskeyDisplay) SetReturnHighlightImage(returnHighlightImage *appkit.NSImage)
func (*IOBluetoothPasskeyDisplay) SetReturnImage ¶
func (o *IOBluetoothPasskeyDisplay) SetReturnImage(returnImage *appkit.NSImage)
func (*IOBluetoothPasskeyDisplay) SetUsePasskeyNotificaitons ¶
func (o *IOBluetoothPasskeyDisplay) SetUsePasskeyNotificaitons(usePasskeyNotificaitons bool)
func (*IOBluetoothPasskeyDisplay) SetupUIForDevice ¶
func (o *IOBluetoothPasskeyDisplay) SetupUIForDevice(device *iobluetooth.IOBluetoothDevice)
func (*IOBluetoothPasskeyDisplay) SetupUIForSSPDevice ¶
func (o *IOBluetoothPasskeyDisplay) SetupUIForSSPDevice(device *iobluetooth.IOBluetoothDevice)
func (*IOBluetoothPasskeyDisplay) UsePasskeyNotificaitons ¶
func (o *IOBluetoothPasskeyDisplay) UsePasskeyNotificaitons() bool
type IOBluetoothServiceBrowserController ¶
type IOBluetoothServiceBrowserController struct {
appkit.NSWindowController
}
@class IOBluetoothServiceBrowserController @abstract A NSWindowController subclass to display a window to search for and perform SDP queries on bluetooth devices within range. @discussion This NSWindowController subclass will bring up a generic Bluetooth search and SDP browsing window allowing the user to find devices within range, perform SDP queries on a particular device, and select a SDP service to connect to. The client application can provide NSArrays of valid service UUIDs to allow, and an NSArray of valid device types to allow. The device type filter is not yet implemented.
Apple documentation: https://developer.apple.com/documentation/iobluetoothui/iobluetoothservicebrowsercontroller
func IOBluetoothServiceBrowserControllerFromID ¶
func IOBluetoothServiceBrowserControllerFromID(id objc.ID) *IOBluetoothServiceBrowserController
func IOBluetoothServiceBrowserControllerServiceBrowserController ¶
func IOBluetoothServiceBrowserControllerServiceBrowserController(inOptions uint32) *IOBluetoothServiceBrowserController
@method serviceBrowserController: @abstract Allocator work Bluetooth Service Browser window controller. @param inOptions Bit field for options to set in the newly allocated controller. Currently no options are available. @result a new instance of the IOBluetoothServiceBrowserController Controller, nil if unsuccessful. @discussion
func IOBluetoothServiceBrowserControllerWithServiceBrowserControllerRef ¶
func IOBluetoothServiceBrowserControllerWithServiceBrowserControllerRef(serviceBrowserControllerRef unsafe.Pointer) *IOBluetoothServiceBrowserController
@method withServiceBrowserControllerRef: @abstract Method call to convert an IOBluetoothServiceBrowserControllerRef into an IOBluetoothServiceBrowserController *. @param serviceBrowserControllerRef IOBluetoothServiceBrowserControllerRef for which an IOBluetoothServiceBrowserController * is desired. @result Returns the IOBluetoothServiceBrowserController * for the given IOBluetoothServiceBrowserControllerRef.
func (*IOBluetoothServiceBrowserController) AddAllowedUUID ¶
func (o *IOBluetoothServiceBrowserController) AddAllowedUUID(allowedUUID *iobluetooth.IOBluetoothSDPUUID)
func (*IOBluetoothServiceBrowserController) AddAllowedUUIDArray ¶
func (o *IOBluetoothServiceBrowserController) AddAllowedUUIDArray(allowedUUIDArray *foundation.NSArray[objc.ID])
func (*IOBluetoothServiceBrowserController) BeginSheetModalForWindowModalDelegateDidEndSelectorContextInfo ¶
func (*IOBluetoothServiceBrowserController) ClearAllowedUUIDs ¶
func (o *IOBluetoothServiceBrowserController) ClearAllowedUUIDs()
func (*IOBluetoothServiceBrowserController) Discover ¶
func (o *IOBluetoothServiceBrowserController) Discover(outRecord *iobluetooth.IOBluetoothSDPServiceRecord) int
@method discover: @abstract Invoke an already created window controller to display, and run the modal dialog. @discussion ***WARNING*** This method has been deprecated in favor of -runModal and -getResults. @param outRecord Pointer to a (IOBluetoothSDPServiceRecord *) object. This will get allocated and returned to the client if the user selects a service. @result IOReturn - kIOReturnSuccess - on successful completion. kCanceledErr - User canceled. @discussion This method will run the IOBluetoothServiceBrowserController browser window modally.
func (*IOBluetoothServiceBrowserController) DiscoverAsSheetForWindowWithRecord ¶
func (o *IOBluetoothServiceBrowserController) DiscoverAsSheetForWindowWithRecord(sheetWindow *appkit.NSWindow, outRecord *iobluetooth.IOBluetoothSDPServiceRecord) int
@method discoverAsSheetForWindow:withRecord: @abstract Invoke an already created window controller to display, and run the modal dialog. @discussion ***WARNING*** This method has been deprecated in favor of -beginSheetModalForWindow:... and -getResults. @param sheetWindow The window to use for the anchor of the sheet.. @param outRecord Pointer to a (IOBluetoothSDPServiceRecord *) object. This will get allocated and returned to the client if the user selects a service. @result IOReturn - kIOReturnSuccess - on successful completion. kCanceledErr - User canceled. @discussion This method will run the IOBluetoothServiceBrowserController browser window as a sheet for the window passed to it in sheetWindow.
func (*IOBluetoothServiceBrowserController) DiscoverWithDeviceAttributesServiceListServiceRecord ¶
func (o *IOBluetoothServiceBrowserController) DiscoverWithDeviceAttributesServiceListServiceRecord(deviceAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes, serviceArray *foundation.NSArray[objc.ID], outRecord *iobluetooth.IOBluetoothSDPServiceRecord) int
@method discoverWithDeviceAttributes:serviceList:serviceRecord: @abstract Invoke an already created window controller to display, and run the modal dialog. @discussion ***WARNING*** This method has been deprecated in favor of -setSearchAttributes:, -addAllowedUUID:, -runModal and -getResults. @param deviceArray A NSArray of valid device type objects to allow. Not implemented yet. @param serviceArray A NSArray of valid UUIDs to allow. The array should contain NSData objects specifying the UUID to allow. We currently only support 16-bit short UUID forms, but will allow for any of the 16, 32 or full 128-bit UUID forms. @param outRecord Pointer to a (IOBluetoothSDPServiceRecord *) object. This will get allocated and returned to the client if the user selects a service. @result IOReturn - kIOReturnSuccess - on successful completion. kCanceledErr - User canceled. @discussion This method will run the IOBluetoothServiceBrowserController browser window as a sheet for the window passed to it in sheetWindow.
func (*IOBluetoothServiceBrowserController) GetDescriptionText ¶
func (o *IOBluetoothServiceBrowserController) GetDescriptionText() *foundation.NSString
func (*IOBluetoothServiceBrowserController) GetOptions ¶
func (o *IOBluetoothServiceBrowserController) GetOptions() uint32
func (*IOBluetoothServiceBrowserController) GetPrompt ¶
func (o *IOBluetoothServiceBrowserController) GetPrompt() *foundation.NSString
func (*IOBluetoothServiceBrowserController) GetResults ¶
func (o *IOBluetoothServiceBrowserController) GetResults() *foundation.NSArray[objc.ID]
func (*IOBluetoothServiceBrowserController) GetSearchAttributes ¶
func (o *IOBluetoothServiceBrowserController) GetSearchAttributes() *iobluetooth.IOBluetoothDeviceSearchAttributes
func (*IOBluetoothServiceBrowserController) GetServiceBrowserControllerRef ¶
func (o *IOBluetoothServiceBrowserController) GetServiceBrowserControllerRef() unsafe.Pointer
@method getServiceBrowserControllerRef @abstract Returns an IOBluetoothServiceBrowserControllerRef representation of the target IOBluetoothServiceBrowserController object. @result Returns an IOBluetoothServiceBrowserControllerRef representation of the target IOBluetoothServiceBrowserController object.
func (*IOBluetoothServiceBrowserController) GetTitle ¶
func (o *IOBluetoothServiceBrowserController) GetTitle() *foundation.NSString
func (*IOBluetoothServiceBrowserController) RunModal ¶
func (o *IOBluetoothServiceBrowserController) RunModal() int
func (*IOBluetoothServiceBrowserController) SetDescriptionText ¶
func (o *IOBluetoothServiceBrowserController) SetDescriptionText(descriptionText *foundation.NSString)
func (*IOBluetoothServiceBrowserController) SetOptions ¶
func (o *IOBluetoothServiceBrowserController) SetOptions(inOptions uint32)
@method setOptions: @abstract Modify the options for the window controller. @param inOptions Bit field to set the options to. @result None. @discussion This method will set the options for the browser to new values.
func (*IOBluetoothServiceBrowserController) SetPrompt ¶
func (o *IOBluetoothServiceBrowserController) SetPrompt(prompt *foundation.NSString)
func (*IOBluetoothServiceBrowserController) SetSearchAttributes ¶
func (o *IOBluetoothServiceBrowserController) SetSearchAttributes(searchAttributes *iobluetooth.IOBluetoothDeviceSearchAttributes)
func (*IOBluetoothServiceBrowserController) SetTitle ¶
func (o *IOBluetoothServiceBrowserController) SetTitle(windowTitle *foundation.NSString)
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type NXMouseButton ¶
type NXMouseButton int64
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Os_unfair_lock_flags_t ¶
type Os_unfair_lock_flags_t int64
const ( OS_UNFAIR_LOCK_FLAG_NONE Os_unfair_lock_flags_t = 0 OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144 )
func (Os_unfair_lock_flags_t) String ¶
func (e Os_unfair_lock_flags_t) String() string
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int64
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- IOBluetoothAccessibilityIgnoredImageCell.go
- IOBluetoothAccessibilityIgnoredTextFieldCell.go
- IOBluetoothDeviceSelectorController.go
- IOBluetoothObjectPushUIController.go
- IOBluetoothPairingController.go
- IOBluetoothPasskeyDisplay.go
- IOBluetoothServiceBrowserController.go
- doc.go
- iobluetoothui_enums.go
- iobluetoothui_functions.go
- iobluetoothui_runtime.go