androidexecutor

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 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)

SetExecuteCallback executes the callback send in the parameter

type ExecuteCallback

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

ExecuteCallback callback

Jump to

Keyboard shortcuts

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