cdma

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: 5 Imported by: 0

Documentation

Overview

Package cdma provides Go bindings for android.telephony.cdma.

Index

Constants

This section is empty.

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 CellLocation

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

CellLocation wraps android.telephony.cdma.CdmaCellLocation.

func NewCellLocation

func NewCellLocation(vm *jni.VM) (*CellLocation, error)

NewCellLocation creates a new android.telephony.cdma.CdmaCellLocation instance.

func (*CellLocation) ConvertQuartSecToDecDegrees

func (m *CellLocation) ConvertQuartSecToDecDegrees(arg0 int32) (float64, error)

ConvertQuartSecToDecDegrees calls android.telephony.cdma.CdmaCellLocation.convertQuartSecToDecDegrees.

func (*CellLocation) Equals

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

Equals calls android.telephony.cdma.CdmaCellLocation.equals.

func (*CellLocation) FillInNotifierBundle

func (m *CellLocation) FillInNotifierBundle(arg0 *jni.Object) error

FillInNotifierBundle calls android.telephony.cdma.CdmaCellLocation.fillInNotifierBundle.

func (*CellLocation) GetBaseStationId

func (m *CellLocation) GetBaseStationId() (int32, error)

GetBaseStationId calls android.telephony.cdma.CdmaCellLocation.getBaseStationId.

func (*CellLocation) GetBaseStationLatitude

func (m *CellLocation) GetBaseStationLatitude() (int32, error)

GetBaseStationLatitude calls android.telephony.cdma.CdmaCellLocation.getBaseStationLatitude.

func (*CellLocation) GetBaseStationLongitude

func (m *CellLocation) GetBaseStationLongitude() (int32, error)

GetBaseStationLongitude calls android.telephony.cdma.CdmaCellLocation.getBaseStationLongitude.

func (*CellLocation) GetNetworkId

func (m *CellLocation) GetNetworkId() (int32, error)

GetNetworkId calls android.telephony.cdma.CdmaCellLocation.getNetworkId.

func (*CellLocation) GetSystemId

func (m *CellLocation) GetSystemId() (int32, error)

GetSystemId calls android.telephony.cdma.CdmaCellLocation.getSystemId.

func (*CellLocation) HashCode

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

HashCode calls android.telephony.cdma.CdmaCellLocation.hashCode.

func (*CellLocation) SetCellLocationData3

func (m *CellLocation) SetCellLocationData3(
	arg0 int32,
	arg1 int32,
	arg2 int32,
) error

SetCellLocationData3 calls android.telephony.cdma.CdmaCellLocation.setCellLocationData.

func (*CellLocation) SetCellLocationData5_1

func (m *CellLocation) SetCellLocationData5_1(
	arg0 int32,
	arg1 int32,
	arg2 int32,
	arg3 int32,
	arg4 int32,
) error

SetCellLocationData5_1 calls android.telephony.cdma.CdmaCellLocation.setCellLocationData.

func (*CellLocation) SetStateInvalid

func (m *CellLocation) SetStateInvalid() error

SetStateInvalid calls android.telephony.cdma.CdmaCellLocation.setStateInvalid.

func (*CellLocation) ToString

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

ToString calls android.telephony.cdma.CdmaCellLocation.toString.

Jump to

Keyboard shortcuts

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