voice

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package voice provides Go bindings for android.service.voice.

Index

Constants

View Source
const (
	KeyForegroundActivities = consts.KeyForegroundActivities
	KeyShowSessionId        = consts.KeyShowSessionId
	ServiceInterface        = consts.ServiceInterface
	ServiceMetaData         = consts.ServiceMetaData
)
View Source
const (
	ShowSourceActivity           = consts.ShowSourceActivity
	ShowSourceApplication        = consts.ShowSourceApplication
	ShowSourceAssistGesture      = consts.ShowSourceAssistGesture
	ShowSourceAutomotiveSystemUi = consts.ShowSourceAutomotiveSystemUi
	ShowSourceNotification       = consts.ShowSourceNotification
	ShowSourcePushToTalk         = consts.ShowSourcePushToTalk
	ShowWithAssist               = consts.ShowWithAssist
	ShowWithScreenshot           = consts.ShowWithScreenshot
	TouchableInsetsContent       = consts.TouchableInsetsContent
	TouchableInsetsFrame         = consts.TouchableInsetsFrame
	TouchableInsetsRegion        = consts.TouchableInsetsRegion
	Creator                      = consts.Creator
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type InteractionService

type InteractionService struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionService wraps android.service.voice.VoiceInteractionService.

func NewInteractionService

func NewInteractionService(vm *jni.VM) (*InteractionService, error)

NewInteractionService creates a new android.service.voice.VoiceInteractionService instance.

func (*InteractionService) GetDisabledShowContext

func (m *InteractionService) GetDisabledShowContext() (int32, error)

GetDisabledShowContext calls android.service.voice.VoiceInteractionService.getDisabledShowContext.

func (*InteractionService) IsActiveService

func (m *InteractionService) IsActiveService(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

IsActiveService calls android.service.voice.VoiceInteractionService.isActiveService.

func (*InteractionService) OnBind

func (m *InteractionService) OnBind(arg0 *jni.Object) (*jni.Object, error)

OnBind calls android.service.voice.VoiceInteractionService.onBind.

func (*InteractionService) OnLaunchVoiceAssistFromKeyguard

func (m *InteractionService) OnLaunchVoiceAssistFromKeyguard() error

OnLaunchVoiceAssistFromKeyguard calls android.service.voice.VoiceInteractionService.onLaunchVoiceAssistFromKeyguard.

func (*InteractionService) OnPrepareToShowSession

func (m *InteractionService) OnPrepareToShowSession(arg0 *jni.Object, arg1 int32) error

OnPrepareToShowSession calls android.service.voice.VoiceInteractionService.onPrepareToShowSession.

func (*InteractionService) OnReady

func (m *InteractionService) OnReady() error

OnReady calls android.service.voice.VoiceInteractionService.onReady.

func (*InteractionService) OnShowSessionFailed

func (m *InteractionService) OnShowSessionFailed(arg0 *jni.Object) error

OnShowSessionFailed calls android.service.voice.VoiceInteractionService.onShowSessionFailed.

func (*InteractionService) OnShutdown

func (m *InteractionService) OnShutdown() error

OnShutdown calls android.service.voice.VoiceInteractionService.onShutdown.

func (*InteractionService) SetDisabledShowContext

func (m *InteractionService) SetDisabledShowContext(arg0 int32) error

SetDisabledShowContext calls android.service.voice.VoiceInteractionService.setDisabledShowContext.

func (*InteractionService) SetUiHints

func (m *InteractionService) SetUiHints(arg0 *jni.Object) error

SetUiHints calls android.service.voice.VoiceInteractionService.setUiHints.

func (*InteractionService) ShowSession

func (m *InteractionService) ShowSession(arg0 *jni.Object, arg1 int32) error

ShowSession calls android.service.voice.VoiceInteractionService.showSession.

type InteractionSession

type InteractionSession struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSession wraps android.service.voice.VoiceInteractionSession.

func NewInteractionSession

func NewInteractionSession(vm *jni.VM, arg0 *jni.Object) (*InteractionSession, error)

NewInteractionSession creates a new android.service.voice.VoiceInteractionSession instance.

func (*InteractionSession) CloseSystemDialogs

func (m *InteractionSession) CloseSystemDialogs() error

CloseSystemDialogs calls android.service.voice.VoiceInteractionSession.closeSystemDialogs.

func (*InteractionSession) Dump

func (m *InteractionSession) Dump(
	arg0 string,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
) error

Dump calls android.service.voice.VoiceInteractionSession.dump.

func (*InteractionSession) Finish

func (m *InteractionSession) Finish() error

Finish calls android.service.voice.VoiceInteractionSession.finish.

func (*InteractionSession) GetContext

func (m *InteractionSession) GetContext() (*jni.Object, error)

GetContext calls android.service.voice.VoiceInteractionSession.getContext.

func (*InteractionSession) GetDisabledShowContext

func (m *InteractionSession) GetDisabledShowContext() (int32, error)

GetDisabledShowContext calls android.service.voice.VoiceInteractionSession.getDisabledShowContext.

func (*InteractionSession) GetLayoutInflater

func (m *InteractionSession) GetLayoutInflater() (*jni.Object, error)

GetLayoutInflater calls android.service.voice.VoiceInteractionSession.getLayoutInflater.

func (*InteractionSession) GetUserDisabledShowContext

func (m *InteractionSession) GetUserDisabledShowContext() (int32, error)

GetUserDisabledShowContext calls android.service.voice.VoiceInteractionSession.getUserDisabledShowContext.

func (*InteractionSession) GetWindow

func (m *InteractionSession) GetWindow() (*jni.Object, error)

GetWindow calls android.service.voice.VoiceInteractionSession.getWindow.

func (*InteractionSession) Hide

func (m *InteractionSession) Hide() error

Hide calls android.service.voice.VoiceInteractionSession.hide.

func (*InteractionSession) OnAssistStructureFailure

func (m *InteractionSession) OnAssistStructureFailure(arg0 *jni.Object) error

OnAssistStructureFailure calls android.service.voice.VoiceInteractionSession.onAssistStructureFailure.

func (*InteractionSession) OnBackPressed

func (m *InteractionSession) OnBackPressed() error

OnBackPressed calls android.service.voice.VoiceInteractionSession.onBackPressed.

func (*InteractionSession) OnCancelRequest

func (m *InteractionSession) OnCancelRequest(arg0 *jni.Object) error

OnCancelRequest calls android.service.voice.VoiceInteractionSession.onCancelRequest.

func (*InteractionSession) OnCloseSystemDialogs

func (m *InteractionSession) OnCloseSystemDialogs() error

OnCloseSystemDialogs calls android.service.voice.VoiceInteractionSession.onCloseSystemDialogs.

func (*InteractionSession) OnComputeInsets

func (m *InteractionSession) OnComputeInsets(arg0 *jni.Object) error

OnComputeInsets calls android.service.voice.VoiceInteractionSession.onComputeInsets.

func (*InteractionSession) OnConfigurationChanged

func (m *InteractionSession) OnConfigurationChanged(arg0 *jni.Object) error

OnConfigurationChanged calls android.service.voice.VoiceInteractionSession.onConfigurationChanged.

func (*InteractionSession) OnCreate

func (m *InteractionSession) OnCreate() error

OnCreate calls android.service.voice.VoiceInteractionSession.onCreate.

func (*InteractionSession) OnCreateContentView

func (m *InteractionSession) OnCreateContentView() (*jni.Object, error)

OnCreateContentView calls android.service.voice.VoiceInteractionSession.onCreateContentView.

func (*InteractionSession) OnDestroy

func (m *InteractionSession) OnDestroy() error

OnDestroy calls android.service.voice.VoiceInteractionSession.onDestroy.

func (*InteractionSession) OnDirectActionsInvalidated

func (m *InteractionSession) OnDirectActionsInvalidated(arg0 *jni.Object) error

OnDirectActionsInvalidated calls android.service.voice.VoiceInteractionSession.onDirectActionsInvalidated.

func (*InteractionSession) OnGetSupportedCommands

func (m *InteractionSession) OnGetSupportedCommands(arg0 *jni.Object) (*jni.Object, error)

OnGetSupportedCommands calls android.service.voice.VoiceInteractionSession.onGetSupportedCommands.

func (*InteractionSession) OnHandleAssist1_1

func (m *InteractionSession) OnHandleAssist1_1(arg0 *jni.Object) error

OnHandleAssist1_1 calls android.service.voice.VoiceInteractionSession.onHandleAssist.

func (*InteractionSession) OnHandleAssist3

func (m *InteractionSession) OnHandleAssist3(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

OnHandleAssist3 calls android.service.voice.VoiceInteractionSession.onHandleAssist.

func (*InteractionSession) OnHandleAssistSecondary

func (m *InteractionSession) OnHandleAssistSecondary(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 int32,
	arg4 int32,
) error

OnHandleAssistSecondary calls android.service.voice.VoiceInteractionSession.onHandleAssistSecondary.

func (*InteractionSession) OnHandleScreenshot

func (m *InteractionSession) OnHandleScreenshot(arg0 *jni.Object) error

OnHandleScreenshot calls android.service.voice.VoiceInteractionSession.onHandleScreenshot.

func (*InteractionSession) OnHide

func (m *InteractionSession) OnHide() error

OnHide calls android.service.voice.VoiceInteractionSession.onHide.

func (*InteractionSession) OnKeyDown

func (m *InteractionSession) OnKeyDown(arg0 int32, arg1 *jni.Object) (bool, error)

OnKeyDown calls android.service.voice.VoiceInteractionSession.onKeyDown.

func (*InteractionSession) OnKeyLongPress

func (m *InteractionSession) OnKeyLongPress(arg0 int32, arg1 *jni.Object) (bool, error)

OnKeyLongPress calls android.service.voice.VoiceInteractionSession.onKeyLongPress.

func (*InteractionSession) OnKeyMultiple

func (m *InteractionSession) OnKeyMultiple(
	arg0 int32,
	arg1 int32,
	arg2 *jni.Object,
) (bool, error)

OnKeyMultiple calls android.service.voice.VoiceInteractionSession.onKeyMultiple.

func (*InteractionSession) OnKeyUp

func (m *InteractionSession) OnKeyUp(arg0 int32, arg1 *jni.Object) (bool, error)

OnKeyUp calls android.service.voice.VoiceInteractionSession.onKeyUp.

func (*InteractionSession) OnLockscreenShown

func (m *InteractionSession) OnLockscreenShown() error

OnLockscreenShown calls android.service.voice.VoiceInteractionSession.onLockscreenShown.

func (*InteractionSession) OnLowMemory

func (m *InteractionSession) OnLowMemory() error

OnLowMemory calls android.service.voice.VoiceInteractionSession.onLowMemory.

func (*InteractionSession) OnPrepareShow

func (m *InteractionSession) OnPrepareShow(arg0 *jni.Object, arg1 int32) error

OnPrepareShow calls android.service.voice.VoiceInteractionSession.onPrepareShow.

func (*InteractionSession) OnRequestAbortVoice

func (m *InteractionSession) OnRequestAbortVoice(arg0 *jni.Object) error

OnRequestAbortVoice calls android.service.voice.VoiceInteractionSession.onRequestAbortVoice.

func (*InteractionSession) OnRequestCommand

func (m *InteractionSession) OnRequestCommand(arg0 *jni.Object) error

OnRequestCommand calls android.service.voice.VoiceInteractionSession.onRequestCommand.

func (*InteractionSession) OnRequestCompleteVoice

func (m *InteractionSession) OnRequestCompleteVoice(arg0 *jni.Object) error

OnRequestCompleteVoice calls android.service.voice.VoiceInteractionSession.onRequestCompleteVoice.

func (*InteractionSession) OnRequestConfirmation

func (m *InteractionSession) OnRequestConfirmation(arg0 *jni.Object) error

OnRequestConfirmation calls android.service.voice.VoiceInteractionSession.onRequestConfirmation.

func (*InteractionSession) OnRequestPickOption

func (m *InteractionSession) OnRequestPickOption(arg0 *jni.Object) error

OnRequestPickOption calls android.service.voice.VoiceInteractionSession.onRequestPickOption.

func (*InteractionSession) OnShow

func (m *InteractionSession) OnShow(arg0 *jni.Object, arg1 int32) error

OnShow calls android.service.voice.VoiceInteractionSession.onShow.

func (*InteractionSession) OnTaskFinished

func (m *InteractionSession) OnTaskFinished(arg0 *jni.Object, arg1 int32) error

OnTaskFinished calls android.service.voice.VoiceInteractionSession.onTaskFinished.

func (*InteractionSession) OnTaskStarted

func (m *InteractionSession) OnTaskStarted(arg0 *jni.Object, arg1 int32) error

OnTaskStarted calls android.service.voice.VoiceInteractionSession.onTaskStarted.

func (*InteractionSession) OnTrimMemory

func (m *InteractionSession) OnTrimMemory(arg0 int32) error

OnTrimMemory calls android.service.voice.VoiceInteractionSession.onTrimMemory.

func (*InteractionSession) RegisterVisibleActivityCallback

func (m *InteractionSession) RegisterVisibleActivityCallback(arg0 *jni.Object, arg1 *jni.Object) error

RegisterVisibleActivityCallback calls android.service.voice.VoiceInteractionSession.registerVisibleActivityCallback.

func (*InteractionSession) SetContentView

func (m *InteractionSession) SetContentView(arg0 *jni.Object) error

SetContentView calls android.service.voice.VoiceInteractionSession.setContentView.

func (*InteractionSession) SetDisabledShowContext

func (m *InteractionSession) SetDisabledShowContext(arg0 int32) error

SetDisabledShowContext calls android.service.voice.VoiceInteractionSession.setDisabledShowContext.

func (*InteractionSession) SetKeepAwake

func (m *InteractionSession) SetKeepAwake(arg0 bool) error

SetKeepAwake calls android.service.voice.VoiceInteractionSession.setKeepAwake.

func (*InteractionSession) SetTheme

func (m *InteractionSession) SetTheme(arg0 int32) error

SetTheme calls android.service.voice.VoiceInteractionSession.setTheme.

func (*InteractionSession) SetUiEnabled

func (m *InteractionSession) SetUiEnabled(arg0 bool) error

SetUiEnabled calls android.service.voice.VoiceInteractionSession.setUiEnabled.

func (*InteractionSession) Show

func (m *InteractionSession) Show(arg0 *jni.Object, arg1 int32) error

Show calls android.service.voice.VoiceInteractionSession.show.

func (*InteractionSession) StartAssistantActivity1

func (m *InteractionSession) StartAssistantActivity1(arg0 *jni.Object) error

StartAssistantActivity1 calls android.service.voice.VoiceInteractionSession.startAssistantActivity.

func (*InteractionSession) StartAssistantActivity2_1

func (m *InteractionSession) StartAssistantActivity2_1(arg0 *jni.Object, arg1 *jni.Object) error

StartAssistantActivity2_1 calls android.service.voice.VoiceInteractionSession.startAssistantActivity.

func (*InteractionSession) StartVoiceActivity

func (m *InteractionSession) StartVoiceActivity(arg0 *jni.Object) error

StartVoiceActivity calls android.service.voice.VoiceInteractionSession.startVoiceActivity.

func (*InteractionSession) UnregisterVisibleActivityCallback

func (m *InteractionSession) UnregisterVisibleActivityCallback(arg0 *jni.Object) error

UnregisterVisibleActivityCallback calls android.service.voice.VoiceInteractionSession.unregisterVisibleActivityCallback.

type InteractionSessionAbortVoiceRequest

type InteractionSessionAbortVoiceRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionAbortVoiceRequest wraps android.service.voice.VoiceInteractionSession$AbortVoiceRequest.

func (*InteractionSessionAbortVoiceRequest) GetMessage

GetMessage calls android.service.voice.VoiceInteractionSession$AbortVoiceRequest.getMessage.

func (*InteractionSessionAbortVoiceRequest) GetVoicePrompt

func (m *InteractionSessionAbortVoiceRequest) GetVoicePrompt() (*jni.Object, error)

GetVoicePrompt calls android.service.voice.VoiceInteractionSession$AbortVoiceRequest.getVoicePrompt.

func (*InteractionSessionAbortVoiceRequest) SendAbortResult

func (m *InteractionSessionAbortVoiceRequest) SendAbortResult(arg0 *jni.Object) error

SendAbortResult calls android.service.voice.VoiceInteractionSession$AbortVoiceRequest.sendAbortResult.

type InteractionSessionActivityId

type InteractionSessionActivityId struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionActivityId wraps android.service.voice.VoiceInteractionSession$ActivityId.

func (*InteractionSessionActivityId) Equals

func (m *InteractionSessionActivityId) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.service.voice.VoiceInteractionSession$ActivityId.equals.

func (*InteractionSessionActivityId) HashCode

func (m *InteractionSessionActivityId) HashCode() (int32, error)

HashCode calls android.service.voice.VoiceInteractionSession$ActivityId.hashCode.

type InteractionSessionAssistState

type InteractionSessionAssistState struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionAssistState wraps android.service.voice.VoiceInteractionSession$AssistState.

func (*InteractionSessionAssistState) GetActivityId

func (m *InteractionSessionAssistState) GetActivityId() (*jni.Object, error)

GetActivityId calls android.service.voice.VoiceInteractionSession$AssistState.getActivityId.

func (*InteractionSessionAssistState) GetAssistContent

func (m *InteractionSessionAssistState) GetAssistContent() (*jni.Object, error)

GetAssistContent calls android.service.voice.VoiceInteractionSession$AssistState.getAssistContent.

func (*InteractionSessionAssistState) GetAssistData

func (m *InteractionSessionAssistState) GetAssistData() (*jni.Object, error)

GetAssistData calls android.service.voice.VoiceInteractionSession$AssistState.getAssistData.

func (*InteractionSessionAssistState) GetAssistStructure

func (m *InteractionSessionAssistState) GetAssistStructure() (*jni.Object, error)

GetAssistStructure calls android.service.voice.VoiceInteractionSession$AssistState.getAssistStructure.

func (*InteractionSessionAssistState) GetCount

func (m *InteractionSessionAssistState) GetCount() (int32, error)

GetCount calls android.service.voice.VoiceInteractionSession$AssistState.getCount.

func (*InteractionSessionAssistState) GetIndex

func (m *InteractionSessionAssistState) GetIndex() (int32, error)

GetIndex calls android.service.voice.VoiceInteractionSession$AssistState.getIndex.

func (*InteractionSessionAssistState) IsFocused

func (m *InteractionSessionAssistState) IsFocused() (bool, error)

IsFocused calls android.service.voice.VoiceInteractionSession$AssistState.isFocused.

type InteractionSessionCommandRequest

type InteractionSessionCommandRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionCommandRequest wraps android.service.voice.VoiceInteractionSession$CommandRequest.

func (*InteractionSessionCommandRequest) GetCommand

func (m *InteractionSessionCommandRequest) GetCommand() (string, error)

GetCommand calls android.service.voice.VoiceInteractionSession$CommandRequest.getCommand.

func (*InteractionSessionCommandRequest) SendIntermediateResult

func (m *InteractionSessionCommandRequest) SendIntermediateResult(arg0 *jni.Object) error

SendIntermediateResult calls android.service.voice.VoiceInteractionSession$CommandRequest.sendIntermediateResult.

func (*InteractionSessionCommandRequest) SendResult

func (m *InteractionSessionCommandRequest) SendResult(arg0 *jni.Object) error

SendResult calls android.service.voice.VoiceInteractionSession$CommandRequest.sendResult.

type InteractionSessionCompleteVoiceRequest

type InteractionSessionCompleteVoiceRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionCompleteVoiceRequest wraps android.service.voice.VoiceInteractionSession$CompleteVoiceRequest.

func (*InteractionSessionCompleteVoiceRequest) GetMessage

GetMessage calls android.service.voice.VoiceInteractionSession$CompleteVoiceRequest.getMessage.

func (*InteractionSessionCompleteVoiceRequest) GetVoicePrompt

func (m *InteractionSessionCompleteVoiceRequest) GetVoicePrompt() (*jni.Object, error)

GetVoicePrompt calls android.service.voice.VoiceInteractionSession$CompleteVoiceRequest.getVoicePrompt.

func (*InteractionSessionCompleteVoiceRequest) SendCompleteResult

func (m *InteractionSessionCompleteVoiceRequest) SendCompleteResult(arg0 *jni.Object) error

SendCompleteResult calls android.service.voice.VoiceInteractionSession$CompleteVoiceRequest.sendCompleteResult.

type InteractionSessionConfirmationRequest

type InteractionSessionConfirmationRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionConfirmationRequest wraps android.service.voice.VoiceInteractionSession$ConfirmationRequest.

func (*InteractionSessionConfirmationRequest) GetPrompt

GetPrompt calls android.service.voice.VoiceInteractionSession$ConfirmationRequest.getPrompt.

func (*InteractionSessionConfirmationRequest) GetVoicePrompt

func (m *InteractionSessionConfirmationRequest) GetVoicePrompt() (*jni.Object, error)

GetVoicePrompt calls android.service.voice.VoiceInteractionSession$ConfirmationRequest.getVoicePrompt.

func (*InteractionSessionConfirmationRequest) SendConfirmationResult

func (m *InteractionSessionConfirmationRequest) SendConfirmationResult(arg0 bool, arg1 *jni.Object) error

SendConfirmationResult calls android.service.voice.VoiceInteractionSession$ConfirmationRequest.sendConfirmationResult.

type InteractionSessionPickOptionRequest

type InteractionSessionPickOptionRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionPickOptionRequest wraps android.service.voice.VoiceInteractionSession$PickOptionRequest.

func (*InteractionSessionPickOptionRequest) GetOptions

GetOptions calls android.service.voice.VoiceInteractionSession$PickOptionRequest.getOptions.

func (*InteractionSessionPickOptionRequest) GetPrompt

GetPrompt calls android.service.voice.VoiceInteractionSession$PickOptionRequest.getPrompt.

func (*InteractionSessionPickOptionRequest) GetVoicePrompt

func (m *InteractionSessionPickOptionRequest) GetVoicePrompt() (*jni.Object, error)

GetVoicePrompt calls android.service.voice.VoiceInteractionSession$PickOptionRequest.getVoicePrompt.

func (*InteractionSessionPickOptionRequest) SendIntermediatePickOptionResult

func (m *InteractionSessionPickOptionRequest) SendIntermediatePickOptionResult(arg0 *jni.Object, arg1 *jni.Object) error

SendIntermediatePickOptionResult calls android.service.voice.VoiceInteractionSession$PickOptionRequest.sendIntermediatePickOptionResult.

func (*InteractionSessionPickOptionRequest) SendPickOptionResult

func (m *InteractionSessionPickOptionRequest) SendPickOptionResult(arg0 *jni.Object, arg1 *jni.Object) error

SendPickOptionResult calls android.service.voice.VoiceInteractionSession$PickOptionRequest.sendPickOptionResult.

type InteractionSessionRequest

type InteractionSessionRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionRequest wraps android.service.voice.VoiceInteractionSession$Request.

func (*InteractionSessionRequest) Cancel

func (m *InteractionSessionRequest) Cancel() error

Cancel calls android.service.voice.VoiceInteractionSession$Request.cancel.

func (*InteractionSessionRequest) GetCallingPackage

func (m *InteractionSessionRequest) GetCallingPackage() (string, error)

GetCallingPackage calls android.service.voice.VoiceInteractionSession$Request.getCallingPackage.

func (*InteractionSessionRequest) GetCallingUid

func (m *InteractionSessionRequest) GetCallingUid() (int32, error)

GetCallingUid calls android.service.voice.VoiceInteractionSession$Request.getCallingUid.

func (*InteractionSessionRequest) GetExtras

func (m *InteractionSessionRequest) GetExtras() (*jni.Object, error)

GetExtras calls android.service.voice.VoiceInteractionSession$Request.getExtras.

func (*InteractionSessionRequest) IsActive

func (m *InteractionSessionRequest) IsActive() (bool, error)

IsActive calls android.service.voice.VoiceInteractionSession$Request.isActive.

func (*InteractionSessionRequest) ToString

func (m *InteractionSessionRequest) ToString() (string, error)

ToString calls android.service.voice.VoiceInteractionSession$Request.toString.

type InteractionSessionService

type InteractionSessionService struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InteractionSessionService wraps android.service.voice.VoiceInteractionSessionService.

func (*InteractionSessionService) OnBind

func (m *InteractionSessionService) OnBind(arg0 *jni.Object) (*jni.Object, error)

OnBind calls android.service.voice.VoiceInteractionSessionService.onBind.

func (*InteractionSessionService) OnConfigurationChanged

func (m *InteractionSessionService) OnConfigurationChanged(arg0 *jni.Object) error

OnConfigurationChanged calls android.service.voice.VoiceInteractionSessionService.onConfigurationChanged.

func (*InteractionSessionService) OnCreate

func (m *InteractionSessionService) OnCreate() error

OnCreate calls android.service.voice.VoiceInteractionSessionService.onCreate.

func (*InteractionSessionService) OnLowMemory

func (m *InteractionSessionService) OnLowMemory() error

OnLowMemory calls android.service.voice.VoiceInteractionSessionService.onLowMemory.

func (*InteractionSessionService) OnNewSession

func (m *InteractionSessionService) OnNewSession(arg0 *jni.Object) (*jni.Object, error)

OnNewSession calls android.service.voice.VoiceInteractionSessionService.onNewSession.

func (*InteractionSessionService) OnTrimMemory

func (m *InteractionSessionService) OnTrimMemory(arg0 int32) error

OnTrimMemory calls android.service.voice.VoiceInteractionSessionService.onTrimMemory.

type VisibleActivityInfo

type VisibleActivityInfo struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

VisibleActivityInfo wraps android.service.voice.VisibleActivityInfo.

func (*VisibleActivityInfo) DescribeContents

func (m *VisibleActivityInfo) DescribeContents() (int32, error)

DescribeContents calls android.service.voice.VisibleActivityInfo.describeContents.

func (*VisibleActivityInfo) Equals

func (m *VisibleActivityInfo) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.service.voice.VisibleActivityInfo.equals.

func (*VisibleActivityInfo) GetActivityId

func (m *VisibleActivityInfo) GetActivityId() (*jni.Object, error)

GetActivityId calls android.service.voice.VisibleActivityInfo.getActivityId.

func (*VisibleActivityInfo) HashCode

func (m *VisibleActivityInfo) HashCode() (int32, error)

HashCode calls android.service.voice.VisibleActivityInfo.hashCode.

func (*VisibleActivityInfo) ToString

func (m *VisibleActivityInfo) ToString() (string, error)

ToString calls android.service.voice.VisibleActivityInfo.toString.

func (*VisibleActivityInfo) WriteToParcel

func (m *VisibleActivityInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.service.voice.VisibleActivityInfo.writeToParcel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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