androidexecutor

package
v0.0.0-...-707febc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package androidexecutor provides functions to execute service application in android native

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidExecutor

type AndroidExecutor struct {
	executor.ServiceExecutionInfo
	executor.HasClientNotification
	// contains filtered or unexported fields
}

AndroidExecutor struct

func GetInstance

func GetInstance() *AndroidExecutor

GetInstance returns the single tone AndroidExecutor instance

func (*AndroidExecutor) Execute

func (t *AndroidExecutor) Execute(s executor.ServiceExecutionInfo) (err error)

Execute executes android service application

func (*AndroidExecutor) SetExecuteCallback

func (t *AndroidExecutor) SetExecuteCallback(executeCallback ExecuteCallback)

type ExecuteCallback

type ExecuteCallback interface {
	Execute(packageName string, args string) int
}

Execute callback

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL