sdksandbox

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 sdksandbox provides Go bindings for android.app.sdksandbox.

Index

Constants

View Source
const (
	ExtraDisplayId      = consts.ExtraDisplayId
	ExtraHeightInPixels = consts.ExtraHeightInPixels
	ExtraHostToken      = consts.ExtraHostToken
	ExtraSurfacePackage = consts.ExtraSurfacePackage
	ExtraWidthInPixels  = consts.ExtraWidthInPixels
	SdkSandboxService   = consts.SdkSandboxService
)
View Source
const (
	LoadSdkAlreadyLoaded                   = consts.LoadSdkAlreadyLoaded
	LoadSdkInternalError                   = consts.LoadSdkInternalError
	LoadSdkNotFound                        = consts.LoadSdkNotFound
	LoadSdkSdkDefinedError                 = consts.LoadSdkSdkDefinedError
	LoadSdkSdkSandboxDisabled              = consts.LoadSdkSdkSandboxDisabled
	RequestSurfacePackageInternalError     = consts.RequestSurfacePackageInternalError
	RequestSurfacePackageSdkNotLoaded      = consts.RequestSurfacePackageSdkNotLoaded
	SdkSandboxProcessNotAvailable          = consts.SdkSandboxProcessNotAvailable
	SdkSandboxStateDisabled                = consts.SdkSandboxStateDisabled
	SdkSandboxStateEnabledProcessIsolation = consts.SdkSandboxStateEnabledProcessIsolation
	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 AppOwnedSdkSandboxInterface

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

AppOwnedSdkSandboxInterface wraps android.app.sdksandbox.AppOwnedSdkSandboxInterface.

func NewAppOwnedSdkSandboxInterface

func NewAppOwnedSdkSandboxInterface(vm *jni.VM, arg0 string, arg1 int64, arg2 *jni.Object) (*AppOwnedSdkSandboxInterface, error)

NewAppOwnedSdkSandboxInterface creates a new android.app.sdksandbox.AppOwnedSdkSandboxInterface instance.

func (*AppOwnedSdkSandboxInterface) DescribeContents

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

DescribeContents calls android.app.sdksandbox.AppOwnedSdkSandboxInterface.describeContents.

func (*AppOwnedSdkSandboxInterface) GetInterface

func (m *AppOwnedSdkSandboxInterface) GetInterface() (*jni.Object, error)

GetInterface calls android.app.sdksandbox.AppOwnedSdkSandboxInterface.getInterface.

func (*AppOwnedSdkSandboxInterface) GetName

func (m *AppOwnedSdkSandboxInterface) GetName() (string, error)

GetName calls android.app.sdksandbox.AppOwnedSdkSandboxInterface.getName.

func (*AppOwnedSdkSandboxInterface) GetVersion

func (m *AppOwnedSdkSandboxInterface) GetVersion() (int64, error)

GetVersion calls android.app.sdksandbox.AppOwnedSdkSandboxInterface.getVersion.

func (*AppOwnedSdkSandboxInterface) WriteToParcel

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

WriteToParcel calls android.app.sdksandbox.AppOwnedSdkSandboxInterface.writeToParcel.

type LoadSdkException

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

LoadSdkException wraps android.app.sdksandbox.LoadSdkException.

func NewLoadSdkException

func NewLoadSdkException(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*LoadSdkException, error)

NewLoadSdkException creates a new android.app.sdksandbox.LoadSdkException instance.

func (*LoadSdkException) DescribeContents

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

DescribeContents calls android.app.sdksandbox.LoadSdkException.describeContents.

func (*LoadSdkException) GetExtraInformation

func (m *LoadSdkException) GetExtraInformation() (*jni.Object, error)

GetExtraInformation calls android.app.sdksandbox.LoadSdkException.getExtraInformation.

func (*LoadSdkException) GetLoadSdkErrorCode

func (m *LoadSdkException) GetLoadSdkErrorCode() (int32, error)

GetLoadSdkErrorCode calls android.app.sdksandbox.LoadSdkException.getLoadSdkErrorCode.

func (*LoadSdkException) WriteToParcel

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

WriteToParcel calls android.app.sdksandbox.LoadSdkException.writeToParcel.

type RequestSurfacePackageException

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

RequestSurfacePackageException wraps android.app.sdksandbox.RequestSurfacePackageException.

func NewRequestSurfacePackageException

func NewRequestSurfacePackageException(vm *jni.VM, arg0 int32, arg1 string) (*RequestSurfacePackageException, error)

NewRequestSurfacePackageException creates a new android.app.sdksandbox.RequestSurfacePackageException instance.

func (*RequestSurfacePackageException) GetExtraErrorInformation

func (m *RequestSurfacePackageException) GetExtraErrorInformation() (*jni.Object, error)

GetExtraErrorInformation calls android.app.sdksandbox.RequestSurfacePackageException.getExtraErrorInformation.

func (*RequestSurfacePackageException) GetRequestSurfacePackageErrorCode

func (m *RequestSurfacePackageException) GetRequestSurfacePackageErrorCode() (int32, error)

GetRequestSurfacePackageErrorCode calls android.app.sdksandbox.RequestSurfacePackageException.getRequestSurfacePackageErrorCode.

type SandboxedSdk

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

SandboxedSdk wraps android.app.sdksandbox.SandboxedSdk.

func NewSandboxedSdk

func NewSandboxedSdk(vm *jni.VM, arg0 *jni.Object) (*SandboxedSdk, error)

NewSandboxedSdk creates a new android.app.sdksandbox.SandboxedSdk instance.

func (*SandboxedSdk) DescribeContents

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

DescribeContents calls android.app.sdksandbox.SandboxedSdk.describeContents.

func (*SandboxedSdk) GetInterface

func (m *SandboxedSdk) GetInterface() (*jni.Object, error)

GetInterface calls android.app.sdksandbox.SandboxedSdk.getInterface.

func (*SandboxedSdk) GetSharedLibraryInfo

func (m *SandboxedSdk) GetSharedLibraryInfo() (*jni.Object, error)

GetSharedLibraryInfo calls android.app.sdksandbox.SandboxedSdk.getSharedLibraryInfo.

func (*SandboxedSdk) WriteToParcel

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

WriteToParcel calls android.app.sdksandbox.SandboxedSdk.writeToParcel.

type SandboxedSdkProvider

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

SandboxedSdkProvider wraps android.app.sdksandbox.SandboxedSdkProvider.

func (*SandboxedSdkProvider) AttachContext

func (m *SandboxedSdkProvider) AttachContext(arg0 *jni.Object) error

AttachContext calls android.app.sdksandbox.SandboxedSdkProvider.attachContext.

func (*SandboxedSdkProvider) BeforeUnloadSdk

func (m *SandboxedSdkProvider) BeforeUnloadSdk() error

BeforeUnloadSdk calls android.app.sdksandbox.SandboxedSdkProvider.beforeUnloadSdk.

func (*SandboxedSdkProvider) GetContext

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

GetContext calls android.app.sdksandbox.SandboxedSdkProvider.getContext.

func (*SandboxedSdkProvider) GetView

func (m *SandboxedSdkProvider) GetView(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) (*jni.Object, error)

GetView calls android.app.sdksandbox.SandboxedSdkProvider.getView.

func (*SandboxedSdkProvider) OnLoadSdk

func (m *SandboxedSdkProvider) OnLoadSdk(arg0 *jni.Object) (*jni.Object, error)

OnLoadSdk calls android.app.sdksandbox.SandboxedSdkProvider.onLoadSdk.

type SdkSandboxManager

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

SdkSandboxManager wraps android.app.sdksandbox.SdkSandboxManager.

func (*SdkSandboxManager) AddSdkSandboxProcessDeathCallback

func (m *SdkSandboxManager) AddSdkSandboxProcessDeathCallback(arg0 *jni.Object, arg1 *jni.Object) error

AddSdkSandboxProcessDeathCallback calls android.app.sdksandbox.SdkSandboxManager.addSdkSandboxProcessDeathCallback.

func (*SdkSandboxManager) GetSdkSandboxState

func (m *SdkSandboxManager) GetSdkSandboxState() (int32, error)

GetSdkSandboxState calls android.app.sdksandbox.SdkSandboxManager.getSdkSandboxState.

func (*SdkSandboxManager) RegisterAppOwnedSdkSandboxInterface

func (m *SdkSandboxManager) RegisterAppOwnedSdkSandboxInterface(arg0 *jni.Object) error

RegisterAppOwnedSdkSandboxInterface calls android.app.sdksandbox.SdkSandboxManager.registerAppOwnedSdkSandboxInterface.

func (*SdkSandboxManager) RemoveSdkSandboxProcessDeathCallback

func (m *SdkSandboxManager) RemoveSdkSandboxProcessDeathCallback(arg0 *jni.Object) error

RemoveSdkSandboxProcessDeathCallback calls android.app.sdksandbox.SdkSandboxManager.removeSdkSandboxProcessDeathCallback.

func (*SdkSandboxManager) StartSdkSandboxActivity

func (m *SdkSandboxManager) StartSdkSandboxActivity(arg0 *jni.Object, arg1 *jni.Object) error

StartSdkSandboxActivity calls android.app.sdksandbox.SdkSandboxManager.startSdkSandboxActivity.

func (*SdkSandboxManager) UnloadSdk

func (m *SdkSandboxManager) UnloadSdk(arg0 string) error

UnloadSdk calls android.app.sdksandbox.SdkSandboxManager.unloadSdk.

func (*SdkSandboxManager) UnregisterAppOwnedSdkSandboxInterface

func (m *SdkSandboxManager) UnregisterAppOwnedSdkSandboxInterface(arg0 string) error

UnregisterAppOwnedSdkSandboxInterface calls android.app.sdksandbox.SdkSandboxManager.unregisterAppOwnedSdkSandboxInterface.

type SdkSandboxManagerSdkSandboxProcessDeathCallback

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

SdkSandboxManagerSdkSandboxProcessDeathCallback wraps android.app.sdksandbox.SdkSandboxManager$SdkSandboxProcessDeathCallback.

func (*SdkSandboxManagerSdkSandboxProcessDeathCallback) OnSdkSandboxDied

OnSdkSandboxDied calls android.app.sdksandbox.SdkSandboxManager$SdkSandboxProcessDeathCallback.onSdkSandboxDied.

Directories

Path Synopsis
Package sdkprovider provides Go bindings for android.app.sdksandbox.sdkprovider.
Package sdkprovider provides Go bindings for android.app.sdksandbox.sdkprovider.

Jump to

Keyboard shortcuts

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