Documentation
¶
Overview ¶
Package looper provides Go bindings for Android ALooper.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LOOPER_POLL ¶
type LOOPER_POLL int32
const ( ALOOPER_POLL_WAKE LOOPER_POLL = -1 ALOOPER_POLL_CALLBACK LOOPER_POLL = -2 ALOOPER_POLL_TIMEOUT LOOPER_POLL = -3 ALOOPER_POLL_ERROR LOOPER_POLL = -4 )
type LOOPER_PREPARE_ALLOW ¶
type LOOPER_PREPARE_ALLOW int32
const (
ALOOPER_PREPARE_ALLOW_NON_CALLBACKS LOOPER_PREPARE_ALLOW = 1
)
type Looper ¶
type Looper struct {
// contains filtered or unexported fields
}
Looper wraps the NDK ALooper handle.
func ALooper_forThread ¶
func ALooper_forThread() *Looper
ALooper_forThread calls the underlying C function.
func NewLooperFromPointer ¶
NewLooperFromPointer wraps a raw ALooper pointer.
Click to show internal directories.
Click to hide internal directories.