topics

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 topics provides Go bindings for android.adservices.topics.

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 EncryptedTopic

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

EncryptedTopic wraps android.adservices.topics.EncryptedTopic.

func NewEncryptedTopic

func NewEncryptedTopic(vm *jni.VM, arg0 *jni.Object, arg1 string, arg2 *jni.Object) (*EncryptedTopic, error)

NewEncryptedTopic creates a new android.adservices.topics.EncryptedTopic instance.

func (*EncryptedTopic) Equals

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

Equals calls android.adservices.topics.EncryptedTopic.equals.

func (*EncryptedTopic) GetEncapsulatedKey

func (m *EncryptedTopic) GetEncapsulatedKey() (*jni.Object, error)

GetEncapsulatedKey calls android.adservices.topics.EncryptedTopic.getEncapsulatedKey.

func (*EncryptedTopic) GetEncryptedTopic

func (m *EncryptedTopic) GetEncryptedTopic() (*jni.Object, error)

GetEncryptedTopic calls android.adservices.topics.EncryptedTopic.getEncryptedTopic.

func (*EncryptedTopic) GetKeyIdentifier

func (m *EncryptedTopic) GetKeyIdentifier() (string, error)

GetKeyIdentifier calls android.adservices.topics.EncryptedTopic.getKeyIdentifier.

func (*EncryptedTopic) HashCode

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

HashCode calls android.adservices.topics.EncryptedTopic.hashCode.

func (*EncryptedTopic) ToString

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

ToString calls android.adservices.topics.EncryptedTopic.toString.

type GetTopicsRequest

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

GetTopicsRequest wraps android.adservices.topics.GetTopicsRequest.

func (*GetTopicsRequest) GetAdsSdkName

func (m *GetTopicsRequest) GetAdsSdkName() (string, error)

GetAdsSdkName calls android.adservices.topics.GetTopicsRequest.getAdsSdkName.

func (*GetTopicsRequest) ShouldRecordObservation

func (m *GetTopicsRequest) ShouldRecordObservation() (bool, error)

ShouldRecordObservation calls android.adservices.topics.GetTopicsRequest.shouldRecordObservation.

type GetTopicsRequestBuilder

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

GetTopicsRequestBuilder wraps android.adservices.topics.GetTopicsRequest$Builder.

func (*GetTopicsRequestBuilder) Build

func (m *GetTopicsRequestBuilder) Build() (*jni.Object, error)

Build calls android.adservices.topics.GetTopicsRequest$Builder.build.

func (*GetTopicsRequestBuilder) SetAdsSdkName

func (m *GetTopicsRequestBuilder) SetAdsSdkName(arg0 string) (*jni.Object, error)

SetAdsSdkName calls android.adservices.topics.GetTopicsRequest$Builder.setAdsSdkName.

func (*GetTopicsRequestBuilder) SetShouldRecordObservation

func (m *GetTopicsRequestBuilder) SetShouldRecordObservation(arg0 bool) (*jni.Object, error)

SetShouldRecordObservation calls android.adservices.topics.GetTopicsRequest$Builder.setShouldRecordObservation.

type GetTopicsResponse

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

GetTopicsResponse wraps android.adservices.topics.GetTopicsResponse.

func (*GetTopicsResponse) Equals

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

Equals calls android.adservices.topics.GetTopicsResponse.equals.

func (*GetTopicsResponse) HashCode

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

HashCode calls android.adservices.topics.GetTopicsResponse.hashCode.

type GetTopicsResponseBuilder

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

GetTopicsResponseBuilder wraps android.adservices.topics.GetTopicsResponse$Builder.

func (*GetTopicsResponseBuilder) Build

func (m *GetTopicsResponseBuilder) Build() (*jni.Object, error)

Build calls android.adservices.topics.GetTopicsResponse$Builder.build.

type Manager

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

Manager wraps android.adservices.topics.TopicsManager.

func (*Manager) Get

func (m *Manager) Get(arg0 *jni.Object) (*jni.Object, error)

Get calls android.adservices.topics.TopicsManager.get.

type Topic

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

Topic wraps android.adservices.topics.Topic.

func NewTopic

func NewTopic(vm *jni.VM, arg0 int64, arg1 int64, arg2 int32) (*Topic, error)

NewTopic creates a new android.adservices.topics.Topic instance.

func (*Topic) Equals

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

Equals calls android.adservices.topics.Topic.equals.

func (*Topic) GetModelVersion

func (m *Topic) GetModelVersion() (int64, error)

GetModelVersion calls android.adservices.topics.Topic.getModelVersion.

func (*Topic) GetTaxonomyVersion

func (m *Topic) GetTaxonomyVersion() (int64, error)

GetTaxonomyVersion calls android.adservices.topics.Topic.getTaxonomyVersion.

func (*Topic) GetTopicId

func (m *Topic) GetTopicId() (int32, error)

GetTopicId calls android.adservices.topics.Topic.getTopicId.

func (*Topic) HashCode

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

HashCode calls android.adservices.topics.Topic.hashCode.

func (*Topic) ToString

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

ToString calls android.adservices.topics.Topic.toString.

Jump to

Keyboard shortcuts

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