Documentation
¶
Overview ¶
Package inspector provides Go bindings for android.view.inspector.
Index ¶
- func Init(env *jni.Env) error
- type InspectionCompanion
- type InspectionCompanionProvider
- type InspectionCompanionUninitializedPropertyMapException
- type IntFlagMapping
- type PropertyMapper
- func (m *PropertyMapper) MapBoolean(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapByte(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapChar(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapColor(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapDouble(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapFloat(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapGravity(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapInt(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapLong(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapObject(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapResourceId(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) MapShort(arg0 string, arg1 int32) (int32, error)
- func (m *PropertyMapper) ToString() (string, error)
- type PropertyMapperPropertyConflictException
- type PropertyReader
- func (m *PropertyReader) ReadBoolean(arg0 int32, arg1 bool) error
- func (m *PropertyReader) ReadByteValue(arg0 int32, arg1 int8) error
- func (m *PropertyReader) ReadChar(arg0 int32, arg1 uint16) error
- func (m *PropertyReader) ReadColor2(arg0 int32, arg1 *jni.Object) error
- func (m *PropertyReader) ReadColor2_1(arg0 int32, arg1 int32) error
- func (m *PropertyReader) ReadColor2_2(arg0 int32, arg1 int64) error
- func (m *PropertyReader) ReadDouble(arg0 int32, arg1 float64) error
- func (m *PropertyReader) ReadFloat(arg0 int32, arg1 float32) error
- func (m *PropertyReader) ReadGravity(arg0 int32, arg1 int32) error
- func (m *PropertyReader) ReadInt(arg0 int32, arg1 int32) error
- func (m *PropertyReader) ReadIntEnum(arg0 int32, arg1 int32) error
- func (m *PropertyReader) ReadIntFlag(arg0 int32, arg1 int32) error
- func (m *PropertyReader) ReadLong(arg0 int32, arg1 int64) error
- func (m *PropertyReader) ReadObject(arg0 int32, arg1 *jni.Object) error
- func (m *PropertyReader) ReadResourceId(arg0 int32, arg1 int32) error
- func (m *PropertyReader) ReadShort(arg0 int32, arg1 int16) error
- func (m *PropertyReader) ToString() (string, error)
- type PropertyReaderPropertyTypeMismatchException
- type StaticInspectionCompanionProvider
- type WindowInspector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InspectionCompanion ¶
InspectionCompanion wraps android.view.inspector.InspectionCompanion.
func (*InspectionCompanion) MapProperties ¶
func (m *InspectionCompanion) MapProperties(arg0 *jni.Object) error
MapProperties calls android.view.inspector.InspectionCompanion.mapProperties.
func (*InspectionCompanion) ToString ¶ added in v0.0.8
func (m *InspectionCompanion) ToString() (string, error)
ToString calls android.view.inspector.InspectionCompanion.toString.
type InspectionCompanionProvider ¶ added in v0.0.8
InspectionCompanionProvider wraps android.view.inspector.InspectionCompanionProvider.
func (*InspectionCompanionProvider) ToString ¶ added in v0.0.8
func (m *InspectionCompanionProvider) ToString() (string, error)
ToString calls android.view.inspector.InspectionCompanionProvider.toString.
type InspectionCompanionUninitializedPropertyMapException ¶ added in v0.0.8
InspectionCompanionUninitializedPropertyMapException wraps android.view.inspector.InspectionCompanion$UninitializedPropertyMapException.
func (*InspectionCompanionUninitializedPropertyMapException) ToString ¶ added in v0.0.8
func (m *InspectionCompanionUninitializedPropertyMapException) ToString() (string, error)
ToString calls android.view.inspector.InspectionCompanion$UninitializedPropertyMapException.toString.
type IntFlagMapping ¶
IntFlagMapping wraps android.view.inspector.IntFlagMapping.
func NewIntFlagMapping ¶
func NewIntFlagMapping(vm *jni.VM) (*IntFlagMapping, error)
NewIntFlagMapping creates a new android.view.inspector.IntFlagMapping instance.
func (*IntFlagMapping) Add ¶
func (m *IntFlagMapping) Add( arg0 int32, arg1 int32, arg2 string, ) error
Add calls android.view.inspector.IntFlagMapping.add.
func (*IntFlagMapping) Get ¶ added in v0.0.8
func (m *IntFlagMapping) Get(arg0 int32) (*jni.Object, error)
Get calls android.view.inspector.IntFlagMapping.get.
func (*IntFlagMapping) ToString ¶ added in v0.0.8
func (m *IntFlagMapping) ToString() (string, error)
ToString calls android.view.inspector.IntFlagMapping.toString.
type PropertyMapper ¶
PropertyMapper wraps android.view.inspector.PropertyMapper.
func (*PropertyMapper) MapBoolean ¶
func (m *PropertyMapper) MapBoolean(arg0 string, arg1 int32) (int32, error)
MapBoolean calls android.view.inspector.PropertyMapper.mapBoolean.
func (*PropertyMapper) MapByte ¶
func (m *PropertyMapper) MapByte(arg0 string, arg1 int32) (int32, error)
MapByte calls android.view.inspector.PropertyMapper.mapByte.
func (*PropertyMapper) MapChar ¶
func (m *PropertyMapper) MapChar(arg0 string, arg1 int32) (int32, error)
MapChar calls android.view.inspector.PropertyMapper.mapChar.
func (*PropertyMapper) MapColor ¶
func (m *PropertyMapper) MapColor(arg0 string, arg1 int32) (int32, error)
MapColor calls android.view.inspector.PropertyMapper.mapColor.
func (*PropertyMapper) MapDouble ¶
func (m *PropertyMapper) MapDouble(arg0 string, arg1 int32) (int32, error)
MapDouble calls android.view.inspector.PropertyMapper.mapDouble.
func (*PropertyMapper) MapFloat ¶
func (m *PropertyMapper) MapFloat(arg0 string, arg1 int32) (int32, error)
MapFloat calls android.view.inspector.PropertyMapper.mapFloat.
func (*PropertyMapper) MapGravity ¶
func (m *PropertyMapper) MapGravity(arg0 string, arg1 int32) (int32, error)
MapGravity calls android.view.inspector.PropertyMapper.mapGravity.
func (*PropertyMapper) MapInt ¶
func (m *PropertyMapper) MapInt(arg0 string, arg1 int32) (int32, error)
MapInt calls android.view.inspector.PropertyMapper.mapInt.
func (*PropertyMapper) MapLong ¶
func (m *PropertyMapper) MapLong(arg0 string, arg1 int32) (int32, error)
MapLong calls android.view.inspector.PropertyMapper.mapLong.
func (*PropertyMapper) MapObject ¶
func (m *PropertyMapper) MapObject(arg0 string, arg1 int32) (int32, error)
MapObject calls android.view.inspector.PropertyMapper.mapObject.
func (*PropertyMapper) MapResourceId ¶
func (m *PropertyMapper) MapResourceId(arg0 string, arg1 int32) (int32, error)
MapResourceId calls android.view.inspector.PropertyMapper.mapResourceId.
func (*PropertyMapper) MapShort ¶
func (m *PropertyMapper) MapShort(arg0 string, arg1 int32) (int32, error)
MapShort calls android.view.inspector.PropertyMapper.mapShort.
func (*PropertyMapper) ToString ¶ added in v0.0.8
func (m *PropertyMapper) ToString() (string, error)
ToString calls android.view.inspector.PropertyMapper.toString.
type PropertyMapperPropertyConflictException ¶ added in v0.0.8
PropertyMapperPropertyConflictException wraps android.view.inspector.PropertyMapper$PropertyConflictException.
func (*PropertyMapperPropertyConflictException) ToString ¶ added in v0.0.8
func (m *PropertyMapperPropertyConflictException) ToString() (string, error)
ToString calls android.view.inspector.PropertyMapper$PropertyConflictException.toString.
type PropertyReader ¶
PropertyReader wraps android.view.inspector.PropertyReader.
func (*PropertyReader) ReadBoolean ¶
func (m *PropertyReader) ReadBoolean(arg0 int32, arg1 bool) error
ReadBoolean calls android.view.inspector.PropertyReader.readBoolean.
func (*PropertyReader) ReadByteValue ¶
func (m *PropertyReader) ReadByteValue(arg0 int32, arg1 int8) error
ReadByteValue calls android.view.inspector.PropertyReader.readByte.
func (*PropertyReader) ReadChar ¶
func (m *PropertyReader) ReadChar(arg0 int32, arg1 uint16) error
ReadChar calls android.view.inspector.PropertyReader.readChar.
func (*PropertyReader) ReadColor2 ¶
func (m *PropertyReader) ReadColor2(arg0 int32, arg1 *jni.Object) error
ReadColor2 calls android.view.inspector.PropertyReader.readColor.
func (*PropertyReader) ReadColor2_1 ¶
func (m *PropertyReader) ReadColor2_1(arg0 int32, arg1 int32) error
ReadColor2_1 calls android.view.inspector.PropertyReader.readColor.
func (*PropertyReader) ReadColor2_2 ¶
func (m *PropertyReader) ReadColor2_2(arg0 int32, arg1 int64) error
ReadColor2_2 calls android.view.inspector.PropertyReader.readColor.
func (*PropertyReader) ReadDouble ¶
func (m *PropertyReader) ReadDouble(arg0 int32, arg1 float64) error
ReadDouble calls android.view.inspector.PropertyReader.readDouble.
func (*PropertyReader) ReadFloat ¶
func (m *PropertyReader) ReadFloat(arg0 int32, arg1 float32) error
ReadFloat calls android.view.inspector.PropertyReader.readFloat.
func (*PropertyReader) ReadGravity ¶
func (m *PropertyReader) ReadGravity(arg0 int32, arg1 int32) error
ReadGravity calls android.view.inspector.PropertyReader.readGravity.
func (*PropertyReader) ReadInt ¶
func (m *PropertyReader) ReadInt(arg0 int32, arg1 int32) error
ReadInt calls android.view.inspector.PropertyReader.readInt.
func (*PropertyReader) ReadIntEnum ¶
func (m *PropertyReader) ReadIntEnum(arg0 int32, arg1 int32) error
ReadIntEnum calls android.view.inspector.PropertyReader.readIntEnum.
func (*PropertyReader) ReadIntFlag ¶
func (m *PropertyReader) ReadIntFlag(arg0 int32, arg1 int32) error
ReadIntFlag calls android.view.inspector.PropertyReader.readIntFlag.
func (*PropertyReader) ReadLong ¶
func (m *PropertyReader) ReadLong(arg0 int32, arg1 int64) error
ReadLong calls android.view.inspector.PropertyReader.readLong.
func (*PropertyReader) ReadObject ¶
func (m *PropertyReader) ReadObject(arg0 int32, arg1 *jni.Object) error
ReadObject calls android.view.inspector.PropertyReader.readObject.
func (*PropertyReader) ReadResourceId ¶
func (m *PropertyReader) ReadResourceId(arg0 int32, arg1 int32) error
ReadResourceId calls android.view.inspector.PropertyReader.readResourceId.
func (*PropertyReader) ReadShort ¶
func (m *PropertyReader) ReadShort(arg0 int32, arg1 int16) error
ReadShort calls android.view.inspector.PropertyReader.readShort.
func (*PropertyReader) ToString ¶ added in v0.0.8
func (m *PropertyReader) ToString() (string, error)
ToString calls android.view.inspector.PropertyReader.toString.
type PropertyReaderPropertyTypeMismatchException ¶ added in v0.0.8
PropertyReaderPropertyTypeMismatchException wraps android.view.inspector.PropertyReader$PropertyTypeMismatchException.
func (*PropertyReaderPropertyTypeMismatchException) ToString ¶ added in v0.0.8
func (m *PropertyReaderPropertyTypeMismatchException) ToString() (string, error)
ToString calls android.view.inspector.PropertyReader$PropertyTypeMismatchException.toString.
type StaticInspectionCompanionProvider ¶
StaticInspectionCompanionProvider wraps android.view.inspector.StaticInspectionCompanionProvider.
func NewStaticInspectionCompanionProvider ¶
func NewStaticInspectionCompanionProvider(vm *jni.VM) (*StaticInspectionCompanionProvider, error)
NewStaticInspectionCompanionProvider creates a new android.view.inspector.StaticInspectionCompanionProvider instance.
func (*StaticInspectionCompanionProvider) ToString ¶ added in v0.0.8
func (m *StaticInspectionCompanionProvider) ToString() (string, error)
ToString calls android.view.inspector.StaticInspectionCompanionProvider.toString.
type WindowInspector ¶ added in v0.0.8
WindowInspector wraps android.view.inspector.WindowInspector.
func (*WindowInspector) GetGlobalWindowViews ¶ added in v0.0.8
func (m *WindowInspector) GetGlobalWindowViews() (*jni.Object, error)
GetGlobalWindowViews calls android.view.inspector.WindowInspector.getGlobalWindowViews.
func (*WindowInspector) ToString ¶ added in v0.0.8
func (m *WindowInspector) ToString() (string, error)
ToString calls android.view.inspector.WindowInspector.toString.
Source Files
¶
- doc.go
- init.go
- inspection_companion.go
- inspection_companion_provider.go
- inspection_companion_uninitialized_property_map_exception.go
- int_flag_mapping.go
- property_mapper.go
- property_mapper_property_conflict_exception.go
- property_reader.go
- property_reader_property_type_mismatch_exception.go
- static_inspection_companion_provider.go
- window_inspector.go