Documentation
¶
Overview ¶
Package companion provides Go bindings for android.companion.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AssociatedDevice
- func (m *AssociatedDevice) DescribeContents() (int32, error)
- func (m *AssociatedDevice) Equals(arg0 *jni.Object) (bool, error)
- func (m *AssociatedDevice) GetBleDevice() (*jni.Object, error)
- func (m *AssociatedDevice) GetBluetoothDevice() (*jni.Object, error)
- func (m *AssociatedDevice) GetWifiDevice() (*jni.Object, error)
- func (m *AssociatedDevice) HashCode() (int32, error)
- func (m *AssociatedDevice) ToString() (string, error)
- func (m *AssociatedDevice) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type AssociationInfo
- func (m *AssociationInfo) DescribeContents() (int32, error)
- func (m *AssociationInfo) Equals(arg0 *jni.Object) (bool, error)
- func (m *AssociationInfo) GetAssociatedDevice() (*jni.Object, error)
- func (m *AssociationInfo) GetDeviceId() (*jni.Object, error)
- func (m *AssociationInfo) GetDeviceMacAddress() (*jni.Object, error)
- func (m *AssociationInfo) GetDeviceProfile() (string, error)
- func (m *AssociationInfo) GetDisplayName() (*jni.Object, error)
- func (m *AssociationInfo) GetId() (int32, error)
- func (m *AssociationInfo) GetSystemDataSyncFlags() (int32, error)
- func (m *AssociationInfo) HashCode() (int32, error)
- func (m *AssociationInfo) IsSelfManaged() (bool, error)
- func (m *AssociationInfo) ToString() (string, error)
- func (m *AssociationInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type AssociationRequest
- func (m *AssociationRequest) DescribeContents() (int32, error)
- func (m *AssociationRequest) Equals(arg0 *jni.Object) (bool, error)
- func (m *AssociationRequest) GetDeviceProfile() (string, error)
- func (m *AssociationRequest) GetDisplayName() (*jni.Object, error)
- func (m *AssociationRequest) HashCode() (int32, error)
- func (m *AssociationRequest) IsForceConfirmation() (bool, error)
- func (m *AssociationRequest) IsSelfManaged() (bool, error)
- func (m *AssociationRequest) IsSingleDevice() (bool, error)
- func (m *AssociationRequest) ToString() (string, error)
- func (m *AssociationRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type AssociationRequestBuilder
- func (m *AssociationRequestBuilder) Build() (*jni.Object, error)
- func (m *AssociationRequestBuilder) SetDeviceProfile(arg0 string) (*jni.Object, error)
- func (m *AssociationRequestBuilder) SetDisplayName(arg0 string) (*jni.Object, error)
- func (m *AssociationRequestBuilder) SetForceConfirmation(arg0 bool) (*jni.Object, error)
- func (m *AssociationRequestBuilder) SetSelfManaged(arg0 bool) (*jni.Object, error)
- func (m *AssociationRequestBuilder) SetSingleDevice(arg0 bool) (*jni.Object, error)
- type BluetoothDeviceFilter
- func (m *BluetoothDeviceFilter) DescribeContents() (int32, error)
- func (m *BluetoothDeviceFilter) Equals(arg0 *jni.Object) (bool, error)
- func (m *BluetoothDeviceFilter) HashCode() (int32, error)
- func (m *BluetoothDeviceFilter) ToString() (string, error)
- func (m *BluetoothDeviceFilter) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type BluetoothDeviceFilterBuilder
- func (m *BluetoothDeviceFilterBuilder) AddServiceUuid(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *BluetoothDeviceFilterBuilder) Build() (*jni.Object, error)
- func (m *BluetoothDeviceFilterBuilder) SetAddress(arg0 string) (*jni.Object, error)
- func (m *BluetoothDeviceFilterBuilder) SetNamePattern(arg0 *jni.Object) (*jni.Object, error)
- type BluetoothLeDeviceFilter
- func (m *BluetoothLeDeviceFilter) DescribeContents() (int32, error)
- func (m *BluetoothLeDeviceFilter) Equals(arg0 *jni.Object) (bool, error)
- func (m *BluetoothLeDeviceFilter) GetRenamePrefixLengthLimit() (int32, error)
- func (m *BluetoothLeDeviceFilter) HashCode() (int32, error)
- func (m *BluetoothLeDeviceFilter) ToString() (string, error)
- func (m *BluetoothLeDeviceFilter) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type BluetoothLeDeviceFilterBuilder
- func (m *BluetoothLeDeviceFilterBuilder) Build() (*jni.Object, error)
- func (m *BluetoothLeDeviceFilterBuilder) SetNamePattern(arg0 *jni.Object) (*jni.Object, error)
- func (m *BluetoothLeDeviceFilterBuilder) SetRawDataFilter(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *BluetoothLeDeviceFilterBuilder) SetRenameFromBytes(arg0 string, arg1 string, arg2 int32, arg3 int32, arg4 *jni.Object) (*jni.Object, error)
- func (m *BluetoothLeDeviceFilterBuilder) SetRenameFromName(arg0 string, arg1 string, arg2 int32, arg3 int32) (*jni.Object, error)
- func (m *BluetoothLeDeviceFilterBuilder) SetScanFilter(arg0 *jni.Object) (*jni.Object, error)
- type DeviceId
- func (m *DeviceId) DescribeContents() (int32, error)
- func (m *DeviceId) Equals(arg0 *jni.Object) (bool, error)
- func (m *DeviceId) GetCustomId() (string, error)
- func (m *DeviceId) GetMacAddress() (*jni.Object, error)
- func (m *DeviceId) HashCode() (int32, error)
- func (m *DeviceId) ToString() (string, error)
- func (m *DeviceId) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type DeviceIdBuilder
- type DeviceManager
- func (m *DeviceManager) Associate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *DeviceManager) AttachSystemDataTransport(arg0 int32, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *DeviceManager) BuildAssociationCancellationIntent() (*jni.Object, error)
- func (m *DeviceManager) BuildPermissionTransferUserConsentIntent(arg0 int32) (*jni.Object, error)
- func (m *DeviceManager) Close()
- func (m *DeviceManager) DetachSystemDataTransport(arg0 int32) error
- func (m *DeviceManager) DisableSystemDataSyncForTypes(arg0 int32, arg1 int32) error
- func (m *DeviceManager) Disassociate1(arg0 int32) error
- func (m *DeviceManager) Disassociate1_1(arg0 string) error
- func (m *DeviceManager) EnableSystemDataSyncForTypes(arg0 int32, arg1 int32) error
- func (m *DeviceManager) HasNotificationAccess(arg0 *jni.Object) (bool, error)
- func (m *DeviceManager) IsPermissionTransferUserConsented(arg0 int32) (bool, error)
- func (m *DeviceManager) RemoveBond(arg0 int32) (bool, error)
- func (m *DeviceManager) RequestNotificationAccess(arg0 *jni.Object) error
- func (m *DeviceManager) SetDeviceId(arg0 int32, arg1 *jni.Object) error
- func (m *DeviceManager) StartObservingDevicePresence1(arg0 *jni.Object) error
- func (m *DeviceManager) StartObservingDevicePresence1_1(arg0 string) error
- func (m *DeviceManager) StopObservingDevicePresence1(arg0 *jni.Object) error
- func (m *DeviceManager) StopObservingDevicePresence1_1(arg0 string) error
- type DeviceManagerCallback
- func (m *DeviceManagerCallback) OnAssociationCreated(arg0 *jni.Object) error
- func (m *DeviceManagerCallback) OnAssociationPending(arg0 *jni.Object) error
- func (m *DeviceManagerCallback) OnDeviceFound(arg0 *jni.Object) error
- func (m *DeviceManagerCallback) OnFailure1_1(arg0 string) error
- func (m *DeviceManagerCallback) OnFailure2(arg0 int32, arg1 string) error
- type DevicePresenceEvent
- func (m *DevicePresenceEvent) DescribeContents() (int32, error)
- func (m *DevicePresenceEvent) Equals(arg0 *jni.Object) (bool, error)
- func (m *DevicePresenceEvent) GetAssociationId() (int32, error)
- func (m *DevicePresenceEvent) GetEvent() (int32, error)
- func (m *DevicePresenceEvent) GetUuid() (*jni.Object, error)
- func (m *DevicePresenceEvent) HashCode() (int32, error)
- func (m *DevicePresenceEvent) ToString() (string, error)
- func (m *DevicePresenceEvent) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type DeviceService
- func (m *DeviceService) AttachSystemDataTransport(arg0 int32, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *DeviceService) DetachSystemDataTransport(arg0 int32) error
- func (m *DeviceService) OnBind(arg0 *jni.Object) (*jni.Object, error)
- func (m *DeviceService) OnDeviceAppeared1(arg0 *jni.Object) error
- func (m *DeviceService) OnDeviceAppeared1_1(arg0 string) error
- func (m *DeviceService) OnDeviceDisappeared1(arg0 *jni.Object) error
- func (m *DeviceService) OnDeviceDisappeared1_1(arg0 string) error
- func (m *DeviceService) OnDevicePresenceEvent(arg0 *jni.Object) error
- type ObservingDevicePresenceRequest
- func (m *ObservingDevicePresenceRequest) DescribeContents() (int32, error)
- func (m *ObservingDevicePresenceRequest) Equals(arg0 *jni.Object) (bool, error)
- func (m *ObservingDevicePresenceRequest) GetAssociationId() (int32, error)
- func (m *ObservingDevicePresenceRequest) GetUuid() (*jni.Object, error)
- func (m *ObservingDevicePresenceRequest) HashCode() (int32, error)
- func (m *ObservingDevicePresenceRequest) ToString() (string, error)
- func (m *ObservingDevicePresenceRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type ObservingDevicePresenceRequestBuilder
- type WifiDeviceFilter
- type WifiDeviceFilterBuilder
- func (m *WifiDeviceFilterBuilder) Build() (*jni.Object, error)
- func (m *WifiDeviceFilterBuilder) SetBssid(arg0 *jni.Object) (*jni.Object, error)
- func (m *WifiDeviceFilterBuilder) SetBssidMask(arg0 *jni.Object) (*jni.Object, error)
- func (m *WifiDeviceFilterBuilder) SetNamePattern(arg0 *jni.Object) (*jni.Object, error)
Constants ¶
const ( Creator = consts.Creator EventBleAppeared = consts.EventBleAppeared EventBleDisappeared = consts.EventBleDisappeared EventBtConnected = consts.EventBtConnected EventBtDisconnected = consts.EventBtDisconnected EventSelfManagedAppeared = consts.EventSelfManagedAppeared EventSelfManagedDisappeared = consts.EventSelfManagedDisappeared NoAssociation = consts.NoAssociation FlagCallMetadata = consts.FlagCallMetadata ResultCanceled = consts.ResultCanceled ResultDiscoveryTimeout = consts.ResultDiscoveryTimeout ResultInternalError = consts.ResultInternalError ResultOk = consts.ResultOk ResultSecurityError = consts.ResultSecurityError ResultUserRejected = consts.ResultUserRejected )
const ( ExtraAssociation = consts.ExtraAssociation ExtraDevice = consts.ExtraDevice ServiceInterface = consts.ServiceInterface DeviceProfileAppStreaming = consts.DeviceProfileAppStreaming DeviceProfileAutomotiveProjection = consts.DeviceProfileAutomotiveProjection DeviceProfileComputer = consts.DeviceProfileComputer DeviceProfileGlasses = consts.DeviceProfileGlasses DeviceProfileNearbyDeviceStreaming = consts.DeviceProfileNearbyDeviceStreaming DeviceProfileWatch = consts.DeviceProfileWatch )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssociatedDevice ¶ added in v0.0.7
AssociatedDevice wraps android.companion.AssociatedDevice.
func (*AssociatedDevice) DescribeContents ¶ added in v0.0.7
func (m *AssociatedDevice) DescribeContents() (int32, error)
DescribeContents calls android.companion.AssociatedDevice.describeContents.
func (*AssociatedDevice) Equals ¶ added in v0.0.7
func (m *AssociatedDevice) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.AssociatedDevice.equals.
func (*AssociatedDevice) GetBleDevice ¶ added in v0.0.7
func (m *AssociatedDevice) GetBleDevice() (*jni.Object, error)
GetBleDevice calls android.companion.AssociatedDevice.getBleDevice.
func (*AssociatedDevice) GetBluetoothDevice ¶ added in v0.0.7
func (m *AssociatedDevice) GetBluetoothDevice() (*jni.Object, error)
GetBluetoothDevice calls android.companion.AssociatedDevice.getBluetoothDevice.
func (*AssociatedDevice) GetWifiDevice ¶ added in v0.0.7
func (m *AssociatedDevice) GetWifiDevice() (*jni.Object, error)
GetWifiDevice calls android.companion.AssociatedDevice.getWifiDevice.
func (*AssociatedDevice) HashCode ¶ added in v0.0.7
func (m *AssociatedDevice) HashCode() (int32, error)
HashCode calls android.companion.AssociatedDevice.hashCode.
func (*AssociatedDevice) ToString ¶ added in v0.0.7
func (m *AssociatedDevice) ToString() (string, error)
ToString calls android.companion.AssociatedDevice.toString.
func (*AssociatedDevice) WriteToParcel ¶ added in v0.0.7
func (m *AssociatedDevice) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.AssociatedDevice.writeToParcel.
type AssociationInfo ¶ added in v0.0.7
AssociationInfo wraps android.companion.AssociationInfo.
func (*AssociationInfo) DescribeContents ¶ added in v0.0.7
func (m *AssociationInfo) DescribeContents() (int32, error)
DescribeContents calls android.companion.AssociationInfo.describeContents.
func (*AssociationInfo) Equals ¶ added in v0.0.7
func (m *AssociationInfo) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.AssociationInfo.equals.
func (*AssociationInfo) GetAssociatedDevice ¶ added in v0.0.7
func (m *AssociationInfo) GetAssociatedDevice() (*jni.Object, error)
GetAssociatedDevice calls android.companion.AssociationInfo.getAssociatedDevice.
func (*AssociationInfo) GetDeviceId ¶ added in v0.0.7
func (m *AssociationInfo) GetDeviceId() (*jni.Object, error)
GetDeviceId calls android.companion.AssociationInfo.getDeviceId.
func (*AssociationInfo) GetDeviceMacAddress ¶ added in v0.0.7
func (m *AssociationInfo) GetDeviceMacAddress() (*jni.Object, error)
GetDeviceMacAddress calls android.companion.AssociationInfo.getDeviceMacAddress.
func (*AssociationInfo) GetDeviceProfile ¶ added in v0.0.7
func (m *AssociationInfo) GetDeviceProfile() (string, error)
GetDeviceProfile calls android.companion.AssociationInfo.getDeviceProfile.
func (*AssociationInfo) GetDisplayName ¶ added in v0.0.7
func (m *AssociationInfo) GetDisplayName() (*jni.Object, error)
GetDisplayName calls android.companion.AssociationInfo.getDisplayName.
func (*AssociationInfo) GetId ¶ added in v0.0.7
func (m *AssociationInfo) GetId() (int32, error)
GetId calls android.companion.AssociationInfo.getId.
func (*AssociationInfo) GetSystemDataSyncFlags ¶ added in v0.0.7
func (m *AssociationInfo) GetSystemDataSyncFlags() (int32, error)
GetSystemDataSyncFlags calls android.companion.AssociationInfo.getSystemDataSyncFlags.
func (*AssociationInfo) HashCode ¶ added in v0.0.7
func (m *AssociationInfo) HashCode() (int32, error)
HashCode calls android.companion.AssociationInfo.hashCode.
func (*AssociationInfo) IsSelfManaged ¶ added in v0.0.7
func (m *AssociationInfo) IsSelfManaged() (bool, error)
IsSelfManaged calls android.companion.AssociationInfo.isSelfManaged.
func (*AssociationInfo) ToString ¶ added in v0.0.7
func (m *AssociationInfo) ToString() (string, error)
ToString calls android.companion.AssociationInfo.toString.
func (*AssociationInfo) WriteToParcel ¶ added in v0.0.7
func (m *AssociationInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.AssociationInfo.writeToParcel.
type AssociationRequest ¶ added in v0.0.7
AssociationRequest wraps android.companion.AssociationRequest.
func (*AssociationRequest) DescribeContents ¶ added in v0.0.7
func (m *AssociationRequest) DescribeContents() (int32, error)
DescribeContents calls android.companion.AssociationRequest.describeContents.
func (*AssociationRequest) Equals ¶ added in v0.0.7
func (m *AssociationRequest) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.AssociationRequest.equals.
func (*AssociationRequest) GetDeviceProfile ¶ added in v0.0.7
func (m *AssociationRequest) GetDeviceProfile() (string, error)
GetDeviceProfile calls android.companion.AssociationRequest.getDeviceProfile.
func (*AssociationRequest) GetDisplayName ¶ added in v0.0.7
func (m *AssociationRequest) GetDisplayName() (*jni.Object, error)
GetDisplayName calls android.companion.AssociationRequest.getDisplayName.
func (*AssociationRequest) HashCode ¶ added in v0.0.7
func (m *AssociationRequest) HashCode() (int32, error)
HashCode calls android.companion.AssociationRequest.hashCode.
func (*AssociationRequest) IsForceConfirmation ¶ added in v0.0.7
func (m *AssociationRequest) IsForceConfirmation() (bool, error)
IsForceConfirmation calls android.companion.AssociationRequest.isForceConfirmation.
func (*AssociationRequest) IsSelfManaged ¶ added in v0.0.7
func (m *AssociationRequest) IsSelfManaged() (bool, error)
IsSelfManaged calls android.companion.AssociationRequest.isSelfManaged.
func (*AssociationRequest) IsSingleDevice ¶ added in v0.0.7
func (m *AssociationRequest) IsSingleDevice() (bool, error)
IsSingleDevice calls android.companion.AssociationRequest.isSingleDevice.
func (*AssociationRequest) ToString ¶ added in v0.0.7
func (m *AssociationRequest) ToString() (string, error)
ToString calls android.companion.AssociationRequest.toString.
func (*AssociationRequest) WriteToParcel ¶ added in v0.0.7
func (m *AssociationRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.AssociationRequest.writeToParcel.
type AssociationRequestBuilder ¶ added in v0.0.7
AssociationRequestBuilder wraps android.companion.AssociationRequest$Builder.
func (*AssociationRequestBuilder) Build ¶ added in v0.0.7
func (m *AssociationRequestBuilder) Build() (*jni.Object, error)
Build calls android.companion.AssociationRequest$Builder.build.
func (*AssociationRequestBuilder) SetDeviceProfile ¶ added in v0.0.7
func (m *AssociationRequestBuilder) SetDeviceProfile(arg0 string) (*jni.Object, error)
SetDeviceProfile calls android.companion.AssociationRequest$Builder.setDeviceProfile.
func (*AssociationRequestBuilder) SetDisplayName ¶ added in v0.0.7
func (m *AssociationRequestBuilder) SetDisplayName(arg0 string) (*jni.Object, error)
SetDisplayName calls android.companion.AssociationRequest$Builder.setDisplayName.
func (*AssociationRequestBuilder) SetForceConfirmation ¶ added in v0.0.7
func (m *AssociationRequestBuilder) SetForceConfirmation(arg0 bool) (*jni.Object, error)
SetForceConfirmation calls android.companion.AssociationRequest$Builder.setForceConfirmation.
func (*AssociationRequestBuilder) SetSelfManaged ¶ added in v0.0.7
func (m *AssociationRequestBuilder) SetSelfManaged(arg0 bool) (*jni.Object, error)
SetSelfManaged calls android.companion.AssociationRequest$Builder.setSelfManaged.
func (*AssociationRequestBuilder) SetSingleDevice ¶ added in v0.0.7
func (m *AssociationRequestBuilder) SetSingleDevice(arg0 bool) (*jni.Object, error)
SetSingleDevice calls android.companion.AssociationRequest$Builder.setSingleDevice.
type BluetoothDeviceFilter ¶ added in v0.0.7
BluetoothDeviceFilter wraps android.companion.BluetoothDeviceFilter.
func (*BluetoothDeviceFilter) DescribeContents ¶ added in v0.0.7
func (m *BluetoothDeviceFilter) DescribeContents() (int32, error)
DescribeContents calls android.companion.BluetoothDeviceFilter.describeContents.
func (*BluetoothDeviceFilter) Equals ¶ added in v0.0.7
func (m *BluetoothDeviceFilter) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.BluetoothDeviceFilter.equals.
func (*BluetoothDeviceFilter) HashCode ¶ added in v0.0.7
func (m *BluetoothDeviceFilter) HashCode() (int32, error)
HashCode calls android.companion.BluetoothDeviceFilter.hashCode.
func (*BluetoothDeviceFilter) ToString ¶ added in v0.0.7
func (m *BluetoothDeviceFilter) ToString() (string, error)
ToString calls android.companion.BluetoothDeviceFilter.toString.
func (*BluetoothDeviceFilter) WriteToParcel ¶ added in v0.0.7
func (m *BluetoothDeviceFilter) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.BluetoothDeviceFilter.writeToParcel.
type BluetoothDeviceFilterBuilder ¶ added in v0.0.7
BluetoothDeviceFilterBuilder wraps android.companion.BluetoothDeviceFilter$Builder.
func (*BluetoothDeviceFilterBuilder) AddServiceUuid ¶ added in v0.0.7
func (m *BluetoothDeviceFilterBuilder) AddServiceUuid(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
AddServiceUuid calls android.companion.BluetoothDeviceFilter$Builder.addServiceUuid.
func (*BluetoothDeviceFilterBuilder) Build ¶ added in v0.0.7
func (m *BluetoothDeviceFilterBuilder) Build() (*jni.Object, error)
Build calls android.companion.BluetoothDeviceFilter$Builder.build.
func (*BluetoothDeviceFilterBuilder) SetAddress ¶ added in v0.0.7
func (m *BluetoothDeviceFilterBuilder) SetAddress(arg0 string) (*jni.Object, error)
SetAddress calls android.companion.BluetoothDeviceFilter$Builder.setAddress.
func (*BluetoothDeviceFilterBuilder) SetNamePattern ¶ added in v0.0.7
SetNamePattern calls android.companion.BluetoothDeviceFilter$Builder.setNamePattern.
type BluetoothLeDeviceFilter ¶ added in v0.0.7
BluetoothLeDeviceFilter wraps android.companion.BluetoothLeDeviceFilter.
func (*BluetoothLeDeviceFilter) DescribeContents ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilter) DescribeContents() (int32, error)
DescribeContents calls android.companion.BluetoothLeDeviceFilter.describeContents.
func (*BluetoothLeDeviceFilter) Equals ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilter) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.BluetoothLeDeviceFilter.equals.
func (*BluetoothLeDeviceFilter) GetRenamePrefixLengthLimit ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilter) GetRenamePrefixLengthLimit() (int32, error)
GetRenamePrefixLengthLimit calls android.companion.BluetoothLeDeviceFilter.getRenamePrefixLengthLimit.
func (*BluetoothLeDeviceFilter) HashCode ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilter) HashCode() (int32, error)
HashCode calls android.companion.BluetoothLeDeviceFilter.hashCode.
func (*BluetoothLeDeviceFilter) ToString ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilter) ToString() (string, error)
ToString calls android.companion.BluetoothLeDeviceFilter.toString.
func (*BluetoothLeDeviceFilter) WriteToParcel ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilter) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.BluetoothLeDeviceFilter.writeToParcel.
type BluetoothLeDeviceFilterBuilder ¶ added in v0.0.7
BluetoothLeDeviceFilterBuilder wraps android.companion.BluetoothLeDeviceFilter$Builder.
func (*BluetoothLeDeviceFilterBuilder) Build ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilterBuilder) Build() (*jni.Object, error)
Build calls android.companion.BluetoothLeDeviceFilter$Builder.build.
func (*BluetoothLeDeviceFilterBuilder) SetNamePattern ¶ added in v0.0.7
SetNamePattern calls android.companion.BluetoothLeDeviceFilter$Builder.setNamePattern.
func (*BluetoothLeDeviceFilterBuilder) SetRawDataFilter ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilterBuilder) SetRawDataFilter(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
SetRawDataFilter calls android.companion.BluetoothLeDeviceFilter$Builder.setRawDataFilter.
func (*BluetoothLeDeviceFilterBuilder) SetRenameFromBytes ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilterBuilder) SetRenameFromBytes( arg0 string, arg1 string, arg2 int32, arg3 int32, arg4 *jni.Object, ) (*jni.Object, error)
SetRenameFromBytes calls android.companion.BluetoothLeDeviceFilter$Builder.setRenameFromBytes.
func (*BluetoothLeDeviceFilterBuilder) SetRenameFromName ¶ added in v0.0.7
func (m *BluetoothLeDeviceFilterBuilder) SetRenameFromName( arg0 string, arg1 string, arg2 int32, arg3 int32, ) (*jni.Object, error)
SetRenameFromName calls android.companion.BluetoothLeDeviceFilter$Builder.setRenameFromName.
func (*BluetoothLeDeviceFilterBuilder) SetScanFilter ¶ added in v0.0.7
SetScanFilter calls android.companion.BluetoothLeDeviceFilter$Builder.setScanFilter.
type DeviceId ¶ added in v0.0.7
DeviceId wraps android.companion.DeviceId.
func (*DeviceId) DescribeContents ¶ added in v0.0.7
DescribeContents calls android.companion.DeviceId.describeContents.
func (*DeviceId) GetCustomId ¶ added in v0.0.7
GetCustomId calls android.companion.DeviceId.getCustomId.
func (*DeviceId) GetMacAddress ¶ added in v0.0.7
GetMacAddress calls android.companion.DeviceId.getMacAddress.
type DeviceIdBuilder ¶ added in v0.0.7
DeviceIdBuilder wraps android.companion.DeviceId$Builder.
func (*DeviceIdBuilder) Build ¶ added in v0.0.7
func (m *DeviceIdBuilder) Build() (*jni.Object, error)
Build calls android.companion.DeviceId$Builder.build.
func (*DeviceIdBuilder) SetCustomId ¶ added in v0.0.7
func (m *DeviceIdBuilder) SetCustomId(arg0 string) (*jni.Object, error)
SetCustomId calls android.companion.DeviceId$Builder.setCustomId.
func (*DeviceIdBuilder) SetMacAddress ¶ added in v0.0.7
SetMacAddress calls android.companion.DeviceId$Builder.setMacAddress.
type DeviceManager ¶ added in v0.0.4
DeviceManager wraps android.companion.CompanionDeviceManager.
func NewDeviceManager ¶ added in v0.0.4
func NewDeviceManager(ctx *app.Context) (*DeviceManager, error)
NewDeviceManager obtains android.companion.CompanionDeviceManager from the Android system service manager.
func (*DeviceManager) Associate ¶ added in v0.0.4
Associate calls android.companion.CompanionDeviceManager.associate.
func (*DeviceManager) AttachSystemDataTransport ¶ added in v0.0.4
func (m *DeviceManager) AttachSystemDataTransport( arg0 int32, arg1 *jni.Object, arg2 *jni.Object, ) error
AttachSystemDataTransport calls android.companion.CompanionDeviceManager.attachSystemDataTransport.
func (*DeviceManager) BuildAssociationCancellationIntent ¶ added in v0.0.4
func (m *DeviceManager) BuildAssociationCancellationIntent() (*jni.Object, error)
BuildAssociationCancellationIntent calls android.companion.CompanionDeviceManager.buildAssociationCancellationIntent.
func (*DeviceManager) BuildPermissionTransferUserConsentIntent ¶ added in v0.0.4
func (m *DeviceManager) BuildPermissionTransferUserConsentIntent(arg0 int32) (*jni.Object, error)
BuildPermissionTransferUserConsentIntent calls android.companion.CompanionDeviceManager.buildPermissionTransferUserConsentIntent.
func (*DeviceManager) Close ¶ added in v0.0.4
func (m *DeviceManager) Close()
Close releases the global reference to the underlying Java object. After Close, the DeviceManager must not be used.
func (*DeviceManager) DetachSystemDataTransport ¶ added in v0.0.4
func (m *DeviceManager) DetachSystemDataTransport(arg0 int32) error
DetachSystemDataTransport calls android.companion.CompanionDeviceManager.detachSystemDataTransport.
func (*DeviceManager) DisableSystemDataSyncForTypes ¶ added in v0.0.4
func (m *DeviceManager) DisableSystemDataSyncForTypes(arg0 int32, arg1 int32) error
DisableSystemDataSyncForTypes calls android.companion.CompanionDeviceManager.disableSystemDataSyncForTypes.
func (*DeviceManager) Disassociate1 ¶ added in v0.0.4
func (m *DeviceManager) Disassociate1(arg0 int32) error
Disassociate1 calls android.companion.CompanionDeviceManager.disassociate.
func (*DeviceManager) Disassociate1_1 ¶ added in v0.0.4
func (m *DeviceManager) Disassociate1_1(arg0 string) error
Disassociate1_1 calls android.companion.CompanionDeviceManager.disassociate.
func (*DeviceManager) EnableSystemDataSyncForTypes ¶ added in v0.0.4
func (m *DeviceManager) EnableSystemDataSyncForTypes(arg0 int32, arg1 int32) error
EnableSystemDataSyncForTypes calls android.companion.CompanionDeviceManager.enableSystemDataSyncForTypes.
func (*DeviceManager) HasNotificationAccess ¶ added in v0.0.4
func (m *DeviceManager) HasNotificationAccess(arg0 *jni.Object) (bool, error)
HasNotificationAccess calls android.companion.CompanionDeviceManager.hasNotificationAccess.
func (*DeviceManager) IsPermissionTransferUserConsented ¶ added in v0.0.4
func (m *DeviceManager) IsPermissionTransferUserConsented(arg0 int32) (bool, error)
IsPermissionTransferUserConsented calls android.companion.CompanionDeviceManager.isPermissionTransferUserConsented.
func (*DeviceManager) RemoveBond ¶ added in v0.0.4
func (m *DeviceManager) RemoveBond(arg0 int32) (bool, error)
RemoveBond calls android.companion.CompanionDeviceManager.removeBond.
func (*DeviceManager) RequestNotificationAccess ¶ added in v0.0.4
func (m *DeviceManager) RequestNotificationAccess(arg0 *jni.Object) error
RequestNotificationAccess calls android.companion.CompanionDeviceManager.requestNotificationAccess.
func (*DeviceManager) SetDeviceId ¶ added in v0.0.4
func (m *DeviceManager) SetDeviceId(arg0 int32, arg1 *jni.Object) error
SetDeviceId calls android.companion.CompanionDeviceManager.setDeviceId.
func (*DeviceManager) StartObservingDevicePresence1 ¶ added in v0.0.4
func (m *DeviceManager) StartObservingDevicePresence1(arg0 *jni.Object) error
StartObservingDevicePresence1 calls android.companion.CompanionDeviceManager.startObservingDevicePresence.
func (*DeviceManager) StartObservingDevicePresence1_1 ¶ added in v0.0.4
func (m *DeviceManager) StartObservingDevicePresence1_1(arg0 string) error
StartObservingDevicePresence1_1 calls android.companion.CompanionDeviceManager.startObservingDevicePresence.
func (*DeviceManager) StopObservingDevicePresence1 ¶ added in v0.0.4
func (m *DeviceManager) StopObservingDevicePresence1(arg0 *jni.Object) error
StopObservingDevicePresence1 calls android.companion.CompanionDeviceManager.stopObservingDevicePresence.
func (*DeviceManager) StopObservingDevicePresence1_1 ¶ added in v0.0.4
func (m *DeviceManager) StopObservingDevicePresence1_1(arg0 string) error
StopObservingDevicePresence1_1 calls android.companion.CompanionDeviceManager.stopObservingDevicePresence.
type DeviceManagerCallback ¶ added in v0.0.7
DeviceManagerCallback wraps android.companion.CompanionDeviceManager$Callback.
func (*DeviceManagerCallback) OnAssociationCreated ¶ added in v0.0.7
func (m *DeviceManagerCallback) OnAssociationCreated(arg0 *jni.Object) error
OnAssociationCreated calls android.companion.CompanionDeviceManager$Callback.onAssociationCreated.
func (*DeviceManagerCallback) OnAssociationPending ¶ added in v0.0.7
func (m *DeviceManagerCallback) OnAssociationPending(arg0 *jni.Object) error
OnAssociationPending calls android.companion.CompanionDeviceManager$Callback.onAssociationPending.
func (*DeviceManagerCallback) OnDeviceFound ¶ added in v0.0.7
func (m *DeviceManagerCallback) OnDeviceFound(arg0 *jni.Object) error
OnDeviceFound calls android.companion.CompanionDeviceManager$Callback.onDeviceFound.
func (*DeviceManagerCallback) OnFailure1_1 ¶ added in v0.0.7
func (m *DeviceManagerCallback) OnFailure1_1(arg0 string) error
OnFailure1_1 calls android.companion.CompanionDeviceManager$Callback.onFailure.
func (*DeviceManagerCallback) OnFailure2 ¶ added in v0.0.7
func (m *DeviceManagerCallback) OnFailure2(arg0 int32, arg1 string) error
OnFailure2 calls android.companion.CompanionDeviceManager$Callback.onFailure.
type DevicePresenceEvent ¶ added in v0.0.7
DevicePresenceEvent wraps android.companion.DevicePresenceEvent.
func NewDevicePresenceEvent ¶ added in v0.0.7
func NewDevicePresenceEvent(vm *jni.VM, arg0 int32, arg1 int32, arg2 *jni.Object) (*DevicePresenceEvent, error)
NewDevicePresenceEvent creates a new android.companion.DevicePresenceEvent instance.
func (*DevicePresenceEvent) DescribeContents ¶ added in v0.0.7
func (m *DevicePresenceEvent) DescribeContents() (int32, error)
DescribeContents calls android.companion.DevicePresenceEvent.describeContents.
func (*DevicePresenceEvent) Equals ¶ added in v0.0.7
func (m *DevicePresenceEvent) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.DevicePresenceEvent.equals.
func (*DevicePresenceEvent) GetAssociationId ¶ added in v0.0.7
func (m *DevicePresenceEvent) GetAssociationId() (int32, error)
GetAssociationId calls android.companion.DevicePresenceEvent.getAssociationId.
func (*DevicePresenceEvent) GetEvent ¶ added in v0.0.7
func (m *DevicePresenceEvent) GetEvent() (int32, error)
GetEvent calls android.companion.DevicePresenceEvent.getEvent.
func (*DevicePresenceEvent) GetUuid ¶ added in v0.0.7
func (m *DevicePresenceEvent) GetUuid() (*jni.Object, error)
GetUuid calls android.companion.DevicePresenceEvent.getUuid.
func (*DevicePresenceEvent) HashCode ¶ added in v0.0.7
func (m *DevicePresenceEvent) HashCode() (int32, error)
HashCode calls android.companion.DevicePresenceEvent.hashCode.
func (*DevicePresenceEvent) ToString ¶ added in v0.0.7
func (m *DevicePresenceEvent) ToString() (string, error)
ToString calls android.companion.DevicePresenceEvent.toString.
func (*DevicePresenceEvent) WriteToParcel ¶ added in v0.0.7
func (m *DevicePresenceEvent) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.DevicePresenceEvent.writeToParcel.
type DeviceService ¶ added in v0.0.7
DeviceService wraps android.companion.CompanionDeviceService.
func (*DeviceService) AttachSystemDataTransport ¶ added in v0.0.7
func (m *DeviceService) AttachSystemDataTransport( arg0 int32, arg1 *jni.Object, arg2 *jni.Object, ) error
AttachSystemDataTransport calls android.companion.CompanionDeviceService.attachSystemDataTransport.
func (*DeviceService) DetachSystemDataTransport ¶ added in v0.0.7
func (m *DeviceService) DetachSystemDataTransport(arg0 int32) error
DetachSystemDataTransport calls android.companion.CompanionDeviceService.detachSystemDataTransport.
func (*DeviceService) OnBind ¶ added in v0.0.7
OnBind calls android.companion.CompanionDeviceService.onBind.
func (*DeviceService) OnDeviceAppeared1 ¶ added in v0.0.7
func (m *DeviceService) OnDeviceAppeared1(arg0 *jni.Object) error
OnDeviceAppeared1 calls android.companion.CompanionDeviceService.onDeviceAppeared.
func (*DeviceService) OnDeviceAppeared1_1 ¶ added in v0.0.7
func (m *DeviceService) OnDeviceAppeared1_1(arg0 string) error
OnDeviceAppeared1_1 calls android.companion.CompanionDeviceService.onDeviceAppeared.
func (*DeviceService) OnDeviceDisappeared1 ¶ added in v0.0.7
func (m *DeviceService) OnDeviceDisappeared1(arg0 *jni.Object) error
OnDeviceDisappeared1 calls android.companion.CompanionDeviceService.onDeviceDisappeared.
func (*DeviceService) OnDeviceDisappeared1_1 ¶ added in v0.0.7
func (m *DeviceService) OnDeviceDisappeared1_1(arg0 string) error
OnDeviceDisappeared1_1 calls android.companion.CompanionDeviceService.onDeviceDisappeared.
func (*DeviceService) OnDevicePresenceEvent ¶ added in v0.0.7
func (m *DeviceService) OnDevicePresenceEvent(arg0 *jni.Object) error
OnDevicePresenceEvent calls android.companion.CompanionDeviceService.onDevicePresenceEvent.
type ObservingDevicePresenceRequest ¶ added in v0.0.7
ObservingDevicePresenceRequest wraps android.companion.ObservingDevicePresenceRequest.
func (*ObservingDevicePresenceRequest) DescribeContents ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) DescribeContents() (int32, error)
DescribeContents calls android.companion.ObservingDevicePresenceRequest.describeContents.
func (*ObservingDevicePresenceRequest) Equals ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.ObservingDevicePresenceRequest.equals.
func (*ObservingDevicePresenceRequest) GetAssociationId ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) GetAssociationId() (int32, error)
GetAssociationId calls android.companion.ObservingDevicePresenceRequest.getAssociationId.
func (*ObservingDevicePresenceRequest) GetUuid ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) GetUuid() (*jni.Object, error)
GetUuid calls android.companion.ObservingDevicePresenceRequest.getUuid.
func (*ObservingDevicePresenceRequest) HashCode ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) HashCode() (int32, error)
HashCode calls android.companion.ObservingDevicePresenceRequest.hashCode.
func (*ObservingDevicePresenceRequest) ToString ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) ToString() (string, error)
ToString calls android.companion.ObservingDevicePresenceRequest.toString.
func (*ObservingDevicePresenceRequest) WriteToParcel ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.ObservingDevicePresenceRequest.writeToParcel.
type ObservingDevicePresenceRequestBuilder ¶ added in v0.0.7
ObservingDevicePresenceRequestBuilder wraps android.companion.ObservingDevicePresenceRequest$Builder.
func (*ObservingDevicePresenceRequestBuilder) Build ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequestBuilder) Build() (*jni.Object, error)
Build calls android.companion.ObservingDevicePresenceRequest$Builder.build.
func (*ObservingDevicePresenceRequestBuilder) SetAssociationId ¶ added in v0.0.7
func (m *ObservingDevicePresenceRequestBuilder) SetAssociationId(arg0 int32) (*jni.Object, error)
SetAssociationId calls android.companion.ObservingDevicePresenceRequest$Builder.setAssociationId.
type WifiDeviceFilter ¶ added in v0.0.7
WifiDeviceFilter wraps android.companion.WifiDeviceFilter.
func (*WifiDeviceFilter) DescribeContents ¶ added in v0.0.7
func (m *WifiDeviceFilter) DescribeContents() (int32, error)
DescribeContents calls android.companion.WifiDeviceFilter.describeContents.
func (*WifiDeviceFilter) Equals ¶ added in v0.0.7
func (m *WifiDeviceFilter) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.companion.WifiDeviceFilter.equals.
func (*WifiDeviceFilter) HashCode ¶ added in v0.0.7
func (m *WifiDeviceFilter) HashCode() (int32, error)
HashCode calls android.companion.WifiDeviceFilter.hashCode.
func (*WifiDeviceFilter) WriteToParcel ¶ added in v0.0.7
func (m *WifiDeviceFilter) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.companion.WifiDeviceFilter.writeToParcel.
type WifiDeviceFilterBuilder ¶ added in v0.0.7
WifiDeviceFilterBuilder wraps android.companion.WifiDeviceFilter$Builder.
func (*WifiDeviceFilterBuilder) Build ¶ added in v0.0.7
func (m *WifiDeviceFilterBuilder) Build() (*jni.Object, error)
Build calls android.companion.WifiDeviceFilter$Builder.build.
func (*WifiDeviceFilterBuilder) SetBssid ¶ added in v0.0.7
SetBssid calls android.companion.WifiDeviceFilter$Builder.setBssid.
func (*WifiDeviceFilterBuilder) SetBssidMask ¶ added in v0.0.7
SetBssidMask calls android.companion.WifiDeviceFilter$Builder.setBssidMask.
func (*WifiDeviceFilterBuilder) SetNamePattern ¶ added in v0.0.7
SetNamePattern calls android.companion.WifiDeviceFilter$Builder.setNamePattern.
Source Files
¶
- associated_device.go
- association_info.go
- association_request.go
- association_request_builder.go
- bluetooth_device_filter.go
- bluetooth_device_filter_builder.go
- bluetooth_le_device_filter.go
- bluetooth_le_device_filter_builder.go
- constants.go
- device_id.go
- device_id_builder.go
- device_manager.go
- device_manager_callback.go
- device_presence_event.go
- device_service.go
- doc.go
- init.go
- observing_device_presence_request.go
- observing_device_presence_request_builder.go
- wifi_device_filter.go
- wifi_device_filter_builder.go