Documentation
¶
Overview ¶
Package actions provides Go bindings for android.service.controls.actions.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type BooleanAction
- type CommandAction
- type ControlAction
- func (m *ControlAction) GetActionType() (int32, error)
- func (m *ControlAction) GetChallengeValue() (string, error)
- func (m *ControlAction) GetErrorAction() (*jni.Object, error)
- func (m *ControlAction) GetTemplateId() (string, error)
- func (m *ControlAction) IsValidResponse(arg0 int32) (bool, error)
- func (m *ControlAction) ToString() (string, error)
- type FloatAction
- type ModeAction
Constants ¶
const ( ResponseChallengeAck = consts.ResponseChallengeAck ResponseChallengePassphrase = consts.ResponseChallengePassphrase ResponseChallengePin = consts.ResponseChallengePin ResponseFail = consts.ResponseFail ResponseOk = consts.ResponseOk ResponseUnknown = consts.ResponseUnknown TypeBoolean = consts.TypeBoolean TypeCommand = consts.TypeCommand TypeError = consts.TypeError TypeFloat = consts.TypeFloat TypeMode = consts.TypeMode )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BooleanAction ¶
BooleanAction wraps android.service.controls.actions.BooleanAction.
func NewBooleanAction ¶
NewBooleanAction creates a new android.service.controls.actions.BooleanAction instance.
func (*BooleanAction) GetActionType ¶
func (m *BooleanAction) GetActionType() (int32, error)
GetActionType calls android.service.controls.actions.BooleanAction.getActionType.
func (*BooleanAction) GetNewState ¶
func (m *BooleanAction) GetNewState() (bool, error)
GetNewState calls android.service.controls.actions.BooleanAction.getNewState.
func (*BooleanAction) ToString ¶ added in v0.0.8
func (m *BooleanAction) ToString() (string, error)
ToString calls android.service.controls.actions.BooleanAction.toString.
type CommandAction ¶
CommandAction wraps android.service.controls.actions.CommandAction.
func NewCommandAction ¶
func NewCommandAction(vm *jni.VM, arg0 string) (*CommandAction, error)
NewCommandAction creates a new android.service.controls.actions.CommandAction instance.
func (*CommandAction) GetActionType ¶
func (m *CommandAction) GetActionType() (int32, error)
GetActionType calls android.service.controls.actions.CommandAction.getActionType.
func (*CommandAction) ToString ¶ added in v0.0.8
func (m *CommandAction) ToString() (string, error)
ToString calls android.service.controls.actions.CommandAction.toString.
type ControlAction ¶
ControlAction wraps android.service.controls.actions.ControlAction.
func (*ControlAction) GetActionType ¶
func (m *ControlAction) GetActionType() (int32, error)
GetActionType calls android.service.controls.actions.ControlAction.getActionType.
func (*ControlAction) GetChallengeValue ¶
func (m *ControlAction) GetChallengeValue() (string, error)
GetChallengeValue calls android.service.controls.actions.ControlAction.getChallengeValue.
func (*ControlAction) GetErrorAction ¶
func (m *ControlAction) GetErrorAction() (*jni.Object, error)
GetErrorAction calls android.service.controls.actions.ControlAction.getErrorAction.
func (*ControlAction) GetTemplateId ¶
func (m *ControlAction) GetTemplateId() (string, error)
GetTemplateId calls android.service.controls.actions.ControlAction.getTemplateId.
func (*ControlAction) IsValidResponse ¶
func (m *ControlAction) IsValidResponse(arg0 int32) (bool, error)
IsValidResponse calls android.service.controls.actions.ControlAction.isValidResponse.
func (*ControlAction) ToString ¶ added in v0.0.8
func (m *ControlAction) ToString() (string, error)
ToString calls android.service.controls.actions.ControlAction.toString.
type FloatAction ¶
FloatAction wraps android.service.controls.actions.FloatAction.
func NewFloatAction ¶
NewFloatAction creates a new android.service.controls.actions.FloatAction instance.
func (*FloatAction) GetActionType ¶
func (m *FloatAction) GetActionType() (int32, error)
GetActionType calls android.service.controls.actions.FloatAction.getActionType.
func (*FloatAction) GetNewValue ¶
func (m *FloatAction) GetNewValue() (float32, error)
GetNewValue calls android.service.controls.actions.FloatAction.getNewValue.
func (*FloatAction) ToString ¶ added in v0.0.8
func (m *FloatAction) ToString() (string, error)
ToString calls android.service.controls.actions.FloatAction.toString.
type ModeAction ¶
ModeAction wraps android.service.controls.actions.ModeAction.
func NewModeAction ¶
NewModeAction creates a new android.service.controls.actions.ModeAction instance.
func (*ModeAction) GetActionType ¶
func (m *ModeAction) GetActionType() (int32, error)
GetActionType calls android.service.controls.actions.ModeAction.getActionType.
func (*ModeAction) GetNewMode ¶
func (m *ModeAction) GetNewMode() (int32, error)
GetNewMode calls android.service.controls.actions.ModeAction.getNewMode.
func (*ModeAction) ToString ¶ added in v0.0.8
func (m *ModeAction) ToString() (string, error)
ToString calls android.service.controls.actions.ModeAction.toString.