Documentation
¶
Overview ¶
Package appfunctions provides Go bindings for android.app.appfunctions.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AppFunctionException
- func (m *AppFunctionException) DescribeContents() (int32, error)
- func (m *AppFunctionException) GetErrorCategory() (int32, error)
- func (m *AppFunctionException) GetErrorCode() (int32, error)
- func (m *AppFunctionException) GetErrorMessage() (string, error)
- func (m *AppFunctionException) GetExtras() (*jni.Object, error)
- func (m *AppFunctionException) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type AppFunctionManager
- type AppFunctionService
- type ExecuteAppFunctionRequest
- func (m *ExecuteAppFunctionRequest) DescribeContents() (int32, error)
- func (m *ExecuteAppFunctionRequest) GetExtras() (*jni.Object, error)
- func (m *ExecuteAppFunctionRequest) GetFunctionIdentifier() (string, error)
- func (m *ExecuteAppFunctionRequest) GetParameters() (*jni.Object, error)
- func (m *ExecuteAppFunctionRequest) GetTargetPackageName() (string, error)
- func (m *ExecuteAppFunctionRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type ExecuteAppFunctionRequestBuilder
- type ExecuteAppFunctionResponse
- func (m *ExecuteAppFunctionResponse) DescribeContents() (int32, error)
- func (m *ExecuteAppFunctionResponse) GetExtras() (*jni.Object, error)
- func (m *ExecuteAppFunctionResponse) GetResultDocument() (*jni.Object, error)
- func (m *ExecuteAppFunctionResponse) WriteToParcel(arg0 *jni.Object, arg1 int32) error
Constants ¶
const ( Creator = consts.Creator AppFunctionStateDefault = consts.AppFunctionStateDefault AppFunctionStateDisabled = consts.AppFunctionStateDisabled AppFunctionStateEnabled = consts.AppFunctionStateEnabled ErrorAppUnknownError = consts.ErrorAppUnknownError ErrorCancelled = consts.ErrorCancelled ErrorCategoryApp = consts.ErrorCategoryApp ErrorCategoryRequestError = consts.ErrorCategoryRequestError ErrorCategorySystem = consts.ErrorCategorySystem ErrorCategoryUnknown = consts.ErrorCategoryUnknown ErrorDenied = consts.ErrorDenied ErrorDisabled = consts.ErrorDisabled ErrorEnterprisePolicyDisallowed = consts.ErrorEnterprisePolicyDisallowed ErrorFunctionNotFound = consts.ErrorFunctionNotFound ErrorInvalidArgument = consts.ErrorInvalidArgument ErrorSystemError = consts.ErrorSystemError )
const ( PropertyReturnValue = consts.PropertyReturnValue ServiceInterface = consts.ServiceInterface )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppFunctionException ¶
AppFunctionException wraps android.app.appfunctions.AppFunctionException.
func NewAppFunctionException ¶
NewAppFunctionException creates a new android.app.appfunctions.AppFunctionException instance.
func (*AppFunctionException) DescribeContents ¶
func (m *AppFunctionException) DescribeContents() (int32, error)
DescribeContents calls android.app.appfunctions.AppFunctionException.describeContents.
func (*AppFunctionException) GetErrorCategory ¶
func (m *AppFunctionException) GetErrorCategory() (int32, error)
GetErrorCategory calls android.app.appfunctions.AppFunctionException.getErrorCategory.
func (*AppFunctionException) GetErrorCode ¶
func (m *AppFunctionException) GetErrorCode() (int32, error)
GetErrorCode calls android.app.appfunctions.AppFunctionException.getErrorCode.
func (*AppFunctionException) GetErrorMessage ¶
func (m *AppFunctionException) GetErrorMessage() (string, error)
GetErrorMessage calls android.app.appfunctions.AppFunctionException.getErrorMessage.
func (*AppFunctionException) GetExtras ¶
func (m *AppFunctionException) GetExtras() (*jni.Object, error)
GetExtras calls android.app.appfunctions.AppFunctionException.getExtras.
func (*AppFunctionException) WriteToParcel ¶
func (m *AppFunctionException) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.app.appfunctions.AppFunctionException.writeToParcel.
type AppFunctionManager ¶
AppFunctionManager wraps android.app.appfunctions.AppFunctionManager.
func NewAppFunctionManager ¶
func NewAppFunctionManager(ctx *app.Context) (*AppFunctionManager, error)
NewAppFunctionManager obtains android.app.appfunctions.AppFunctionManager from the Android system service manager.
func (*AppFunctionManager) Close ¶
func (m *AppFunctionManager) Close()
Close releases the global reference to the underlying Java object. After Close, the AppFunctionManager must not be used.
type AppFunctionService ¶
AppFunctionService wraps android.app.appfunctions.AppFunctionService.
type ExecuteAppFunctionRequest ¶
ExecuteAppFunctionRequest wraps android.app.appfunctions.ExecuteAppFunctionRequest.
func (*ExecuteAppFunctionRequest) DescribeContents ¶
func (m *ExecuteAppFunctionRequest) DescribeContents() (int32, error)
DescribeContents calls android.app.appfunctions.ExecuteAppFunctionRequest.describeContents.
func (*ExecuteAppFunctionRequest) GetExtras ¶
func (m *ExecuteAppFunctionRequest) GetExtras() (*jni.Object, error)
GetExtras calls android.app.appfunctions.ExecuteAppFunctionRequest.getExtras.
func (*ExecuteAppFunctionRequest) GetFunctionIdentifier ¶
func (m *ExecuteAppFunctionRequest) GetFunctionIdentifier() (string, error)
GetFunctionIdentifier calls android.app.appfunctions.ExecuteAppFunctionRequest.getFunctionIdentifier.
func (*ExecuteAppFunctionRequest) GetParameters ¶
func (m *ExecuteAppFunctionRequest) GetParameters() (*jni.Object, error)
GetParameters calls android.app.appfunctions.ExecuteAppFunctionRequest.getParameters.
func (*ExecuteAppFunctionRequest) GetTargetPackageName ¶
func (m *ExecuteAppFunctionRequest) GetTargetPackageName() (string, error)
GetTargetPackageName calls android.app.appfunctions.ExecuteAppFunctionRequest.getTargetPackageName.
func (*ExecuteAppFunctionRequest) WriteToParcel ¶
func (m *ExecuteAppFunctionRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.app.appfunctions.ExecuteAppFunctionRequest.writeToParcel.
type ExecuteAppFunctionRequestBuilder ¶
ExecuteAppFunctionRequestBuilder wraps android.app.appfunctions.ExecuteAppFunctionRequest$Builder.
func (*ExecuteAppFunctionRequestBuilder) Build ¶
func (m *ExecuteAppFunctionRequestBuilder) Build() (*jni.Object, error)
Build calls android.app.appfunctions.ExecuteAppFunctionRequest$Builder.build.
func (*ExecuteAppFunctionRequestBuilder) SetExtras ¶
SetExtras calls android.app.appfunctions.ExecuteAppFunctionRequest$Builder.setExtras.
func (*ExecuteAppFunctionRequestBuilder) SetParameters ¶
SetParameters calls android.app.appfunctions.ExecuteAppFunctionRequest$Builder.setParameters.
type ExecuteAppFunctionResponse ¶
ExecuteAppFunctionResponse wraps android.app.appfunctions.ExecuteAppFunctionResponse.
func NewExecuteAppFunctionResponse ¶
func NewExecuteAppFunctionResponse(vm *jni.VM, arg0 *jni.Object) (*ExecuteAppFunctionResponse, error)
NewExecuteAppFunctionResponse creates a new android.app.appfunctions.ExecuteAppFunctionResponse instance.
func (*ExecuteAppFunctionResponse) DescribeContents ¶
func (m *ExecuteAppFunctionResponse) DescribeContents() (int32, error)
DescribeContents calls android.app.appfunctions.ExecuteAppFunctionResponse.describeContents.
func (*ExecuteAppFunctionResponse) GetExtras ¶
func (m *ExecuteAppFunctionResponse) GetExtras() (*jni.Object, error)
GetExtras calls android.app.appfunctions.ExecuteAppFunctionResponse.getExtras.
func (*ExecuteAppFunctionResponse) GetResultDocument ¶
func (m *ExecuteAppFunctionResponse) GetResultDocument() (*jni.Object, error)
GetResultDocument calls android.app.appfunctions.ExecuteAppFunctionResponse.getResultDocument.
func (*ExecuteAppFunctionResponse) WriteToParcel ¶
func (m *ExecuteAppFunctionResponse) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.app.appfunctions.ExecuteAppFunctionResponse.writeToParcel.