Documentation
¶
Overview ¶
Package assist provides Go bindings for android.app.assist.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type Content
- func (m *Content) DescribeContents() (int32, error)
- func (m *Content) GetClipData() (*jni.Object, error)
- func (m *Content) GetExtras() (*jni.Object, error)
- func (m *Content) GetIntent() (*jni.Object, error)
- func (m *Content) GetSessionTransferUri() (*jni.Object, error)
- func (m *Content) GetStructuredData() (string, error)
- func (m *Content) GetWebUri() (*jni.Object, error)
- func (m *Content) IsAppProvidedIntent() (bool, error)
- func (m *Content) IsAppProvidedWebUri() (bool, error)
- func (m *Content) SetClipData(arg0 *jni.Object) error
- func (m *Content) SetIntent(arg0 *jni.Object) error
- func (m *Content) SetSessionTransferUri(arg0 *jni.Object) error
- func (m *Content) SetStructuredData(arg0 string) error
- func (m *Content) SetWebUri(arg0 *jni.Object) error
- func (m *Content) ToString() (string, error)
- func (m *Content) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type Structure
- func (m *Structure) DescribeContents() (int32, error)
- func (m *Structure) GetAcquisitionEndTime() (int64, error)
- func (m *Structure) GetAcquisitionStartTime() (int64, error)
- func (m *Structure) GetActivityComponent() (*jni.Object, error)
- func (m *Structure) GetWindowNodeAt(arg0 int32) (*jni.Object, error)
- func (m *Structure) GetWindowNodeCount() (int32, error)
- func (m *Structure) IsHomeActivity() (bool, error)
- func (m *Structure) ToString() (string, error)
- func (m *Structure) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type StructureViewNode
- func (m *StructureViewNode) GetAlpha() (float32, error)
- func (m *StructureViewNode) GetAutofillHints() (*jni.Object, error)
- func (m *StructureViewNode) GetAutofillId() (*jni.Object, error)
- func (m *StructureViewNode) GetAutofillOptions() (*jni.Object, error)
- func (m *StructureViewNode) GetAutofillType() (int32, error)
- func (m *StructureViewNode) GetAutofillValue() (*jni.Object, error)
- func (m *StructureViewNode) GetChildAt(arg0 int32) (*jni.Object, error)
- func (m *StructureViewNode) GetChildCount() (int32, error)
- func (m *StructureViewNode) GetClassName() (string, error)
- func (m *StructureViewNode) GetContentDescription() (*jni.Object, error)
- func (m *StructureViewNode) GetElevation() (float32, error)
- func (m *StructureViewNode) GetExtras() (*jni.Object, error)
- func (m *StructureViewNode) GetHeight() (int32, error)
- func (m *StructureViewNode) GetHint() (string, error)
- func (m *StructureViewNode) GetHintIdEntry() (string, error)
- func (m *StructureViewNode) GetHtmlInfo() (*jni.Object, error)
- func (m *StructureViewNode) GetId() (int32, error)
- func (m *StructureViewNode) GetIdEntry() (string, error)
- func (m *StructureViewNode) GetIdPackage() (string, error)
- func (m *StructureViewNode) GetIdType() (string, error)
- func (m *StructureViewNode) GetImportantForAutofill() (int32, error)
- func (m *StructureViewNode) GetInputType() (int32, error)
- func (m *StructureViewNode) GetLeft() (int32, error)
- func (m *StructureViewNode) GetLocaleList() (*jni.Object, error)
- func (m *StructureViewNode) GetMaxTextEms() (int32, error)
- func (m *StructureViewNode) GetMaxTextLength() (int32, error)
- func (m *StructureViewNode) GetMinTextEms() (int32, error)
- func (m *StructureViewNode) GetReceiveContentMimeTypes() (*jni.Object, error)
- func (m *StructureViewNode) GetScrollX() (int32, error)
- func (m *StructureViewNode) GetScrollY() (int32, error)
- func (m *StructureViewNode) GetText() (*jni.Object, error)
- func (m *StructureViewNode) GetTextBackgroundColor() (int32, error)
- func (m *StructureViewNode) GetTextColor() (int32, error)
- func (m *StructureViewNode) GetTextIdEntry() (string, error)
- func (m *StructureViewNode) GetTextLineBaselines() (*jni.Object, error)
- func (m *StructureViewNode) GetTextLineCharOffsets() (*jni.Object, error)
- func (m *StructureViewNode) GetTextSelectionEnd() (int32, error)
- func (m *StructureViewNode) GetTextSelectionStart() (int32, error)
- func (m *StructureViewNode) GetTextSize() (float32, error)
- func (m *StructureViewNode) GetTextStyle() (int32, error)
- func (m *StructureViewNode) GetTop() (int32, error)
- func (m *StructureViewNode) GetTransformation() (*jni.Object, error)
- func (m *StructureViewNode) GetVisibility() (int32, error)
- func (m *StructureViewNode) GetWebDomain() (string, error)
- func (m *StructureViewNode) GetWebScheme() (string, error)
- func (m *StructureViewNode) GetWidth() (int32, error)
- func (m *StructureViewNode) IsAccessibilityFocused() (bool, error)
- func (m *StructureViewNode) IsActivated() (bool, error)
- func (m *StructureViewNode) IsAssistBlocked() (bool, error)
- func (m *StructureViewNode) IsCheckable() (bool, error)
- func (m *StructureViewNode) IsChecked() (bool, error)
- func (m *StructureViewNode) IsClickable() (bool, error)
- func (m *StructureViewNode) IsContextClickable() (bool, error)
- func (m *StructureViewNode) IsEnabled() (bool, error)
- func (m *StructureViewNode) IsFocusable() (bool, error)
- func (m *StructureViewNode) IsFocused() (bool, error)
- func (m *StructureViewNode) IsLongClickable() (bool, error)
- func (m *StructureViewNode) IsOpaque() (bool, error)
- func (m *StructureViewNode) IsSelected() (bool, error)
- func (m *StructureViewNode) ToString() (string, error)
- type StructureWindowNode
- func (m *StructureWindowNode) GetDisplayId() (int32, error)
- func (m *StructureWindowNode) GetHeight() (int32, error)
- func (m *StructureWindowNode) GetLeft() (int32, error)
- func (m *StructureWindowNode) GetRootViewNode() (*jni.Object, error)
- func (m *StructureWindowNode) GetTitle() (*jni.Object, error)
- func (m *StructureWindowNode) GetTop() (int32, error)
- func (m *StructureWindowNode) GetWidth() (int32, error)
- func (m *StructureWindowNode) ToString() (string, error)
Constants ¶
const ( Creator = consts.Creator TextColorUndefined = consts.TextColorUndefined TextStyleBold = consts.TextStyleBold TextStyleItalic = consts.TextStyleItalic TextStyleStrikeThru = consts.TextStyleStrikeThru TextStyleUnderline = consts.TextStyleUnderline )
const (
ExtraAppFunctionData = consts.ExtraAppFunctionData
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Content ¶
Content wraps android.app.assist.AssistContent.
func NewContent ¶
NewContent creates a new android.app.assist.AssistContent instance.
func (*Content) DescribeContents ¶
DescribeContents calls android.app.assist.AssistContent.describeContents.
func (*Content) GetClipData ¶
GetClipData calls android.app.assist.AssistContent.getClipData.
func (*Content) GetSessionTransferUri ¶
GetSessionTransferUri calls android.app.assist.AssistContent.getSessionTransferUri.
func (*Content) GetStructuredData ¶
GetStructuredData calls android.app.assist.AssistContent.getStructuredData.
func (*Content) IsAppProvidedIntent ¶
IsAppProvidedIntent calls android.app.assist.AssistContent.isAppProvidedIntent.
func (*Content) IsAppProvidedWebUri ¶
IsAppProvidedWebUri calls android.app.assist.AssistContent.isAppProvidedWebUri.
func (*Content) SetClipData ¶
SetClipData calls android.app.assist.AssistContent.setClipData.
func (*Content) SetSessionTransferUri ¶
SetSessionTransferUri calls android.app.assist.AssistContent.setSessionTransferUri.
func (*Content) SetStructuredData ¶
SetStructuredData calls android.app.assist.AssistContent.setStructuredData.
type Structure ¶
Structure wraps android.app.assist.AssistStructure.
func NewStructure ¶
NewStructure creates a new android.app.assist.AssistStructure instance.
func (*Structure) DescribeContents ¶
DescribeContents calls android.app.assist.AssistStructure.describeContents.
func (*Structure) GetAcquisitionEndTime ¶
GetAcquisitionEndTime calls android.app.assist.AssistStructure.getAcquisitionEndTime.
func (*Structure) GetAcquisitionStartTime ¶
GetAcquisitionStartTime calls android.app.assist.AssistStructure.getAcquisitionStartTime.
func (*Structure) GetActivityComponent ¶
GetActivityComponent calls android.app.assist.AssistStructure.getActivityComponent.
func (*Structure) GetWindowNodeAt ¶
GetWindowNodeAt calls android.app.assist.AssistStructure.getWindowNodeAt.
func (*Structure) GetWindowNodeCount ¶
GetWindowNodeCount calls android.app.assist.AssistStructure.getWindowNodeCount.
func (*Structure) IsHomeActivity ¶
IsHomeActivity calls android.app.assist.AssistStructure.isHomeActivity.
type StructureViewNode ¶
StructureViewNode wraps android.app.assist.AssistStructure$ViewNode.
func (*StructureViewNode) GetAlpha ¶
func (m *StructureViewNode) GetAlpha() (float32, error)
GetAlpha calls android.app.assist.AssistStructure$ViewNode.getAlpha.
func (*StructureViewNode) GetAutofillHints ¶
func (m *StructureViewNode) GetAutofillHints() (*jni.Object, error)
GetAutofillHints calls android.app.assist.AssistStructure$ViewNode.getAutofillHints.
func (*StructureViewNode) GetAutofillId ¶
func (m *StructureViewNode) GetAutofillId() (*jni.Object, error)
GetAutofillId calls android.app.assist.AssistStructure$ViewNode.getAutofillId.
func (*StructureViewNode) GetAutofillOptions ¶
func (m *StructureViewNode) GetAutofillOptions() (*jni.Object, error)
GetAutofillOptions calls android.app.assist.AssistStructure$ViewNode.getAutofillOptions.
func (*StructureViewNode) GetAutofillType ¶
func (m *StructureViewNode) GetAutofillType() (int32, error)
GetAutofillType calls android.app.assist.AssistStructure$ViewNode.getAutofillType.
func (*StructureViewNode) GetAutofillValue ¶
func (m *StructureViewNode) GetAutofillValue() (*jni.Object, error)
GetAutofillValue calls android.app.assist.AssistStructure$ViewNode.getAutofillValue.
func (*StructureViewNode) GetChildAt ¶
func (m *StructureViewNode) GetChildAt(arg0 int32) (*jni.Object, error)
GetChildAt calls android.app.assist.AssistStructure$ViewNode.getChildAt.
func (*StructureViewNode) GetChildCount ¶
func (m *StructureViewNode) GetChildCount() (int32, error)
GetChildCount calls android.app.assist.AssistStructure$ViewNode.getChildCount.
func (*StructureViewNode) GetClassName ¶
func (m *StructureViewNode) GetClassName() (string, error)
GetClassName calls android.app.assist.AssistStructure$ViewNode.getClassName.
func (*StructureViewNode) GetContentDescription ¶
func (m *StructureViewNode) GetContentDescription() (*jni.Object, error)
GetContentDescription calls android.app.assist.AssistStructure$ViewNode.getContentDescription.
func (*StructureViewNode) GetElevation ¶
func (m *StructureViewNode) GetElevation() (float32, error)
GetElevation calls android.app.assist.AssistStructure$ViewNode.getElevation.
func (*StructureViewNode) GetExtras ¶
func (m *StructureViewNode) GetExtras() (*jni.Object, error)
GetExtras calls android.app.assist.AssistStructure$ViewNode.getExtras.
func (*StructureViewNode) GetHeight ¶
func (m *StructureViewNode) GetHeight() (int32, error)
GetHeight calls android.app.assist.AssistStructure$ViewNode.getHeight.
func (*StructureViewNode) GetHint ¶
func (m *StructureViewNode) GetHint() (string, error)
GetHint calls android.app.assist.AssistStructure$ViewNode.getHint.
func (*StructureViewNode) GetHintIdEntry ¶
func (m *StructureViewNode) GetHintIdEntry() (string, error)
GetHintIdEntry calls android.app.assist.AssistStructure$ViewNode.getHintIdEntry.
func (*StructureViewNode) GetHtmlInfo ¶
func (m *StructureViewNode) GetHtmlInfo() (*jni.Object, error)
GetHtmlInfo calls android.app.assist.AssistStructure$ViewNode.getHtmlInfo.
func (*StructureViewNode) GetId ¶
func (m *StructureViewNode) GetId() (int32, error)
GetId calls android.app.assist.AssistStructure$ViewNode.getId.
func (*StructureViewNode) GetIdEntry ¶
func (m *StructureViewNode) GetIdEntry() (string, error)
GetIdEntry calls android.app.assist.AssistStructure$ViewNode.getIdEntry.
func (*StructureViewNode) GetIdPackage ¶
func (m *StructureViewNode) GetIdPackage() (string, error)
GetIdPackage calls android.app.assist.AssistStructure$ViewNode.getIdPackage.
func (*StructureViewNode) GetIdType ¶
func (m *StructureViewNode) GetIdType() (string, error)
GetIdType calls android.app.assist.AssistStructure$ViewNode.getIdType.
func (*StructureViewNode) GetImportantForAutofill ¶
func (m *StructureViewNode) GetImportantForAutofill() (int32, error)
GetImportantForAutofill calls android.app.assist.AssistStructure$ViewNode.getImportantForAutofill.
func (*StructureViewNode) GetInputType ¶
func (m *StructureViewNode) GetInputType() (int32, error)
GetInputType calls android.app.assist.AssistStructure$ViewNode.getInputType.
func (*StructureViewNode) GetLeft ¶
func (m *StructureViewNode) GetLeft() (int32, error)
GetLeft calls android.app.assist.AssistStructure$ViewNode.getLeft.
func (*StructureViewNode) GetLocaleList ¶
func (m *StructureViewNode) GetLocaleList() (*jni.Object, error)
GetLocaleList calls android.app.assist.AssistStructure$ViewNode.getLocaleList.
func (*StructureViewNode) GetMaxTextEms ¶
func (m *StructureViewNode) GetMaxTextEms() (int32, error)
GetMaxTextEms calls android.app.assist.AssistStructure$ViewNode.getMaxTextEms.
func (*StructureViewNode) GetMaxTextLength ¶
func (m *StructureViewNode) GetMaxTextLength() (int32, error)
GetMaxTextLength calls android.app.assist.AssistStructure$ViewNode.getMaxTextLength.
func (*StructureViewNode) GetMinTextEms ¶
func (m *StructureViewNode) GetMinTextEms() (int32, error)
GetMinTextEms calls android.app.assist.AssistStructure$ViewNode.getMinTextEms.
func (*StructureViewNode) GetReceiveContentMimeTypes ¶
func (m *StructureViewNode) GetReceiveContentMimeTypes() (*jni.Object, error)
GetReceiveContentMimeTypes calls android.app.assist.AssistStructure$ViewNode.getReceiveContentMimeTypes.
func (*StructureViewNode) GetScrollX ¶
func (m *StructureViewNode) GetScrollX() (int32, error)
GetScrollX calls android.app.assist.AssistStructure$ViewNode.getScrollX.
func (*StructureViewNode) GetScrollY ¶
func (m *StructureViewNode) GetScrollY() (int32, error)
GetScrollY calls android.app.assist.AssistStructure$ViewNode.getScrollY.
func (*StructureViewNode) GetText ¶
func (m *StructureViewNode) GetText() (*jni.Object, error)
GetText calls android.app.assist.AssistStructure$ViewNode.getText.
func (*StructureViewNode) GetTextBackgroundColor ¶
func (m *StructureViewNode) GetTextBackgroundColor() (int32, error)
GetTextBackgroundColor calls android.app.assist.AssistStructure$ViewNode.getTextBackgroundColor.
func (*StructureViewNode) GetTextColor ¶
func (m *StructureViewNode) GetTextColor() (int32, error)
GetTextColor calls android.app.assist.AssistStructure$ViewNode.getTextColor.
func (*StructureViewNode) GetTextIdEntry ¶
func (m *StructureViewNode) GetTextIdEntry() (string, error)
GetTextIdEntry calls android.app.assist.AssistStructure$ViewNode.getTextIdEntry.
func (*StructureViewNode) GetTextLineBaselines ¶
func (m *StructureViewNode) GetTextLineBaselines() (*jni.Object, error)
GetTextLineBaselines calls android.app.assist.AssistStructure$ViewNode.getTextLineBaselines.
func (*StructureViewNode) GetTextLineCharOffsets ¶
func (m *StructureViewNode) GetTextLineCharOffsets() (*jni.Object, error)
GetTextLineCharOffsets calls android.app.assist.AssistStructure$ViewNode.getTextLineCharOffsets.
func (*StructureViewNode) GetTextSelectionEnd ¶
func (m *StructureViewNode) GetTextSelectionEnd() (int32, error)
GetTextSelectionEnd calls android.app.assist.AssistStructure$ViewNode.getTextSelectionEnd.
func (*StructureViewNode) GetTextSelectionStart ¶
func (m *StructureViewNode) GetTextSelectionStart() (int32, error)
GetTextSelectionStart calls android.app.assist.AssistStructure$ViewNode.getTextSelectionStart.
func (*StructureViewNode) GetTextSize ¶
func (m *StructureViewNode) GetTextSize() (float32, error)
GetTextSize calls android.app.assist.AssistStructure$ViewNode.getTextSize.
func (*StructureViewNode) GetTextStyle ¶
func (m *StructureViewNode) GetTextStyle() (int32, error)
GetTextStyle calls android.app.assist.AssistStructure$ViewNode.getTextStyle.
func (*StructureViewNode) GetTop ¶
func (m *StructureViewNode) GetTop() (int32, error)
GetTop calls android.app.assist.AssistStructure$ViewNode.getTop.
func (*StructureViewNode) GetTransformation ¶
func (m *StructureViewNode) GetTransformation() (*jni.Object, error)
GetTransformation calls android.app.assist.AssistStructure$ViewNode.getTransformation.
func (*StructureViewNode) GetVisibility ¶
func (m *StructureViewNode) GetVisibility() (int32, error)
GetVisibility calls android.app.assist.AssistStructure$ViewNode.getVisibility.
func (*StructureViewNode) GetWebDomain ¶
func (m *StructureViewNode) GetWebDomain() (string, error)
GetWebDomain calls android.app.assist.AssistStructure$ViewNode.getWebDomain.
func (*StructureViewNode) GetWebScheme ¶
func (m *StructureViewNode) GetWebScheme() (string, error)
GetWebScheme calls android.app.assist.AssistStructure$ViewNode.getWebScheme.
func (*StructureViewNode) GetWidth ¶
func (m *StructureViewNode) GetWidth() (int32, error)
GetWidth calls android.app.assist.AssistStructure$ViewNode.getWidth.
func (*StructureViewNode) IsAccessibilityFocused ¶
func (m *StructureViewNode) IsAccessibilityFocused() (bool, error)
IsAccessibilityFocused calls android.app.assist.AssistStructure$ViewNode.isAccessibilityFocused.
func (*StructureViewNode) IsActivated ¶
func (m *StructureViewNode) IsActivated() (bool, error)
IsActivated calls android.app.assist.AssistStructure$ViewNode.isActivated.
func (*StructureViewNode) IsAssistBlocked ¶
func (m *StructureViewNode) IsAssistBlocked() (bool, error)
IsAssistBlocked calls android.app.assist.AssistStructure$ViewNode.isAssistBlocked.
func (*StructureViewNode) IsCheckable ¶
func (m *StructureViewNode) IsCheckable() (bool, error)
IsCheckable calls android.app.assist.AssistStructure$ViewNode.isCheckable.
func (*StructureViewNode) IsChecked ¶
func (m *StructureViewNode) IsChecked() (bool, error)
IsChecked calls android.app.assist.AssistStructure$ViewNode.isChecked.
func (*StructureViewNode) IsClickable ¶
func (m *StructureViewNode) IsClickable() (bool, error)
IsClickable calls android.app.assist.AssistStructure$ViewNode.isClickable.
func (*StructureViewNode) IsContextClickable ¶
func (m *StructureViewNode) IsContextClickable() (bool, error)
IsContextClickable calls android.app.assist.AssistStructure$ViewNode.isContextClickable.
func (*StructureViewNode) IsEnabled ¶
func (m *StructureViewNode) IsEnabled() (bool, error)
IsEnabled calls android.app.assist.AssistStructure$ViewNode.isEnabled.
func (*StructureViewNode) IsFocusable ¶
func (m *StructureViewNode) IsFocusable() (bool, error)
IsFocusable calls android.app.assist.AssistStructure$ViewNode.isFocusable.
func (*StructureViewNode) IsFocused ¶
func (m *StructureViewNode) IsFocused() (bool, error)
IsFocused calls android.app.assist.AssistStructure$ViewNode.isFocused.
func (*StructureViewNode) IsLongClickable ¶
func (m *StructureViewNode) IsLongClickable() (bool, error)
IsLongClickable calls android.app.assist.AssistStructure$ViewNode.isLongClickable.
func (*StructureViewNode) IsOpaque ¶
func (m *StructureViewNode) IsOpaque() (bool, error)
IsOpaque calls android.app.assist.AssistStructure$ViewNode.isOpaque.
func (*StructureViewNode) IsSelected ¶
func (m *StructureViewNode) IsSelected() (bool, error)
IsSelected calls android.app.assist.AssistStructure$ViewNode.isSelected.
func (*StructureViewNode) ToString ¶ added in v0.0.8
func (m *StructureViewNode) ToString() (string, error)
ToString calls android.app.assist.AssistStructure$ViewNode.toString.
type StructureWindowNode ¶
StructureWindowNode wraps android.app.assist.AssistStructure$WindowNode.
func (*StructureWindowNode) GetDisplayId ¶
func (m *StructureWindowNode) GetDisplayId() (int32, error)
GetDisplayId calls android.app.assist.AssistStructure$WindowNode.getDisplayId.
func (*StructureWindowNode) GetHeight ¶
func (m *StructureWindowNode) GetHeight() (int32, error)
GetHeight calls android.app.assist.AssistStructure$WindowNode.getHeight.
func (*StructureWindowNode) GetLeft ¶
func (m *StructureWindowNode) GetLeft() (int32, error)
GetLeft calls android.app.assist.AssistStructure$WindowNode.getLeft.
func (*StructureWindowNode) GetRootViewNode ¶
func (m *StructureWindowNode) GetRootViewNode() (*jni.Object, error)
GetRootViewNode calls android.app.assist.AssistStructure$WindowNode.getRootViewNode.
func (*StructureWindowNode) GetTitle ¶
func (m *StructureWindowNode) GetTitle() (*jni.Object, error)
GetTitle calls android.app.assist.AssistStructure$WindowNode.getTitle.
func (*StructureWindowNode) GetTop ¶
func (m *StructureWindowNode) GetTop() (int32, error)
GetTop calls android.app.assist.AssistStructure$WindowNode.getTop.
func (*StructureWindowNode) GetWidth ¶
func (m *StructureWindowNode) GetWidth() (int32, error)
GetWidth calls android.app.assist.AssistStructure$WindowNode.getWidth.
func (*StructureWindowNode) ToString ¶ added in v0.0.8
func (m *StructureWindowNode) ToString() (string, error)
ToString calls android.app.assist.AssistStructure$WindowNode.toString.