Documentation ¶
Index ¶
- func CancelNotification(ID int32) error
- func ExportDebugInfo(filename string, content []byte) error
- func GetAppUID() (int, error)
- func GetConnectionOwner(connection Connection) (int, error)
- func HasActivityFunctions() bool
- func HasOSFunctions() bool
- func HasServiceFunctions() bool
- func MinimizeApp() error
- func RemoveActivityFunctionReference()
- func RemoveServiceFunctionReference()
- func SendServicesCommand(command string) error
- func SendUIEvent(event Event) error
- func SendUIWindowEvent(name, data string) error
- func SetActivityFunctions(appInterface AppInterface)
- func SetDefaultInterfaceForSocket(socketID uintptr) error
- func SetOSFunctions(appInterface AppInterface)
- func SetServiceFunctions(appInterface AppInterface)
- func ShowNotification(notification *Notification) error
- func Shutdown() error
- func VPNInit() (int, error)
- type AppFunctions
- type AppInterface
- type Connection
- type Event
- type NetworkAddress
- type NetworkInterface
- type Notification
- type PlatformInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelNotification ¶
func ExportDebugInfo ¶
func GetConnectionOwner ¶
func GetConnectionOwner(connection Connection) (int, error)
func HasActivityFunctions ¶
func HasActivityFunctions() bool
func HasOSFunctions ¶
func HasOSFunctions() bool
func HasServiceFunctions ¶
func HasServiceFunctions() bool
func MinimizeApp ¶
func MinimizeApp() error
func RemoveActivityFunctionReference ¶
func RemoveActivityFunctionReference()
func RemoveServiceFunctionReference ¶
func RemoveServiceFunctionReference()
func SendServicesCommand ¶
func SendUIEvent ¶
func SendUIWindowEvent ¶
func SetActivityFunctions ¶
func SetActivityFunctions(appInterface AppInterface)
func SetOSFunctions ¶
func SetOSFunctions(appInterface AppInterface)
func SetServiceFunctions ¶
func SetServiceFunctions(appInterface AppInterface)
func ShowNotification ¶
func ShowNotification(notification *Notification) error
Types ¶
type AppFunctions ¶
type AppFunctions struct {
// contains filtered or unexported fields
}
type Connection ¶
type NetworkAddress ¶
func GetNetworkAddresses ¶
func GetNetworkAddresses() ([]NetworkAddress, error)
func (*NetworkAddress) String ¶
func (a *NetworkAddress) String() string
type NetworkInterface ¶
type NetworkInterface struct { Name string Index int MTU int Up bool Multicast bool Loopback bool P2P bool Addresses []NetworkAddress Flags net.Flags }
func GetNetworkInterfaces ¶
func GetNetworkInterfaces() ([]NetworkInterface, error)
func (*NetworkInterface) Addrs ¶
func (i *NetworkInterface) Addrs() ([]NetworkAddress, error)
func (*NetworkInterface) GetProtocolAddresses ¶
func (i *NetworkInterface) GetProtocolAddresses() []tcpip.ProtocolAddress
type Notification ¶
type PlatformInfo ¶
type PlatformInfo struct { Model string Manufacturer string Brand string Board string SDK int VersionCode int VersionName string ApplicationID string BuildType string }
func GetPlatformInfo ¶
func GetPlatformInfo() (*PlatformInfo, error)
Click to show internal directories.
Click to hide internal directories.