gioui-gomobile-example/native/native.go

14 lines
328 B
Go
Raw Permalink Normal View History

2022-04-15 18:09:46 +02:00
// Interfaces for the binding bridge. This should only contain a bare minimum
// of functions to communicate with the host and should avoid storing anything
package native
type INativeBluetooth interface {
WriteChar([]byte) bool
ConnectToDevice()
EnableBluetooth() bool
}
type INativeBridge interface {
INativeBluetooth
}