remotecoreml

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package remotecoreml provides Go bindings for the remotecoreml framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorBlock added in v0.5.0

func NewErrorBlock(handler ErrorHandler) (objc.ID, func())

NewErrorBlock wraps a Go ErrorHandler as an Objective-C block. The caller must defer the returned cleanup function.

Used by:

  • [MLNetworkUtilities.SetupListenerStateChangeHandlerUseUDP]

func NewVoidBlock added in v0.5.0

func NewVoidBlock(handler VoidHandler) (objc.ID, func())

NewVoidBlock wraps a Go VoidHandler as an Objective-C block. The caller must defer the returned cleanup function.

Used by:

Types

type CoreMLModelSecurityServiceToClient

type CoreMLModelSecurityServiceToClient struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/CoreMLModelSecurityServiceToClient

func CoreMLModelSecurityServiceToClientFromID

func CoreMLModelSecurityServiceToClientFromID(id objc.ID) CoreMLModelSecurityServiceToClient

CoreMLModelSecurityServiceToClientFromID constructs a CoreMLModelSecurityServiceToClient from an objc.ID.

func NewCoreMLModelSecurityServiceToClient

func NewCoreMLModelSecurityServiceToClient() CoreMLModelSecurityServiceToClient

NewCoreMLModelSecurityServiceToClient creates a new CoreMLModelSecurityServiceToClient instance.

func (CoreMLModelSecurityServiceToClient) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (CoreMLModelSecurityServiceToClient) Init

Init initializes the instance.

func (CoreMLModelSecurityServiceToClient) SetFeatureProviderCount

func (c CoreMLModelSecurityServiceToClient) SetFeatureProviderCount(value foundation.INSCountedSet)

func (CoreMLModelSecurityServiceToClient) SetFeatureProviderMap

func (c CoreMLModelSecurityServiceToClient) SetFeatureProviderMap(value foundation.INSDictionary)

func (CoreMLModelSecurityServiceToClient) SetServiceToClientQueue

func (c CoreMLModelSecurityServiceToClient) SetServiceToClientQueue(value objectivec.Object)

type CoreMLModelSecurityServiceToClientClass

type CoreMLModelSecurityServiceToClientClass struct {
	// contains filtered or unexported fields
}

func GetCoreMLModelSecurityServiceToClientClass

func GetCoreMLModelSecurityServiceToClientClass() CoreMLModelSecurityServiceToClientClass

GetCoreMLModelSecurityServiceToClientClass returns the class object for CoreMLModelSecurityServiceToClient.

func (CoreMLModelSecurityServiceToClientClass) Alloc

Alloc allocates memory for a new instance of the class.

func (CoreMLModelSecurityServiceToClientClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

type CoreMLVersion

type CoreMLVersion struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/CoreMLVersion

func CoreMLVersionFromID

func CoreMLVersionFromID(id objc.ID) CoreMLVersion

CoreMLVersionFromID constructs a CoreMLVersion from an objc.ID.

func NewCoreMLVersion

func NewCoreMLVersion() CoreMLVersion

NewCoreMLVersion creates a new CoreMLVersion instance.

func (CoreMLVersion) Autorelease

func (c CoreMLVersion) Autorelease() CoreMLVersion

Autorelease adds the receiver to the current autorelease pool.

func (CoreMLVersion) Init

func (c CoreMLVersion) Init() CoreMLVersion

Init initializes the instance.

func (CoreMLVersion) SetFrameworkVersionNumber

func (c CoreMLVersion) SetFrameworkVersionNumber(value foundation.NSNumber)

type CoreMLVersionClass

type CoreMLVersionClass struct {
	// contains filtered or unexported fields
}

func GetCoreMLVersionClass

func GetCoreMLVersionClass() CoreMLVersionClass

GetCoreMLVersionClass returns the class object for CoreMLVersion.

func (CoreMLVersionClass) Alloc

func (cc CoreMLVersionClass) Alloc() CoreMLVersion

Alloc allocates memory for a new instance of the class.

func (CoreMLVersionClass) Class added in v0.5.0

func (cc CoreMLVersionClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type ErrorHandler added in v0.5.0

type ErrorHandler = func()

ErrorHandler is the signature for a completion handler block.

Used by:

  • [MLNetworkUtilities.SetupListenerStateChangeHandlerUseUDP]

type ICoreMLModelSecurityServiceToClient

type ICoreMLModelSecurityServiceToClient interface {
	objectivec.IObject

	ClientFeatureNamesWithReply(names objectivec.IObject, reply objectivec.IObject)
	ClientFeatureValueForNameUniqueKeyForProviderWithReply(name objectivec.IObject, provider objectivec.IObject, reply objectivec.IObject)
	FeatureProviderCount() foundation.INSCountedSet
	SetFeatureProviderCount(value foundation.INSCountedSet)
	FeatureProviderMap() foundation.INSDictionary
	SetFeatureProviderMap(value foundation.INSDictionary)
	ServiceToClientQueue() objectivec.Object
	SetServiceToClientQueue(value objectivec.Object)
}

An interface definition for the CoreMLModelSecurityServiceToClient class.

Methods

  • [ICoreMLModelSecurityServiceToClient.ClientFeatureNamesWithReply]
  • [ICoreMLModelSecurityServiceToClient.ClientFeatureValueForNameUniqueKeyForProviderWithReply]
  • [ICoreMLModelSecurityServiceToClient.FeatureProviderCount]
  • [ICoreMLModelSecurityServiceToClient.SetFeatureProviderCount]
  • [ICoreMLModelSecurityServiceToClient.FeatureProviderMap]
  • [ICoreMLModelSecurityServiceToClient.SetFeatureProviderMap]
  • [ICoreMLModelSecurityServiceToClient.ServiceToClientQueue]
  • [ICoreMLModelSecurityServiceToClient.SetServiceToClientQueue]

See: https://developer.apple.com/documentation/RemoteCoreML/CoreMLModelSecurityServiceToClient

type ICoreMLVersion

type ICoreMLVersion interface {
	objectivec.IObject

	FrameworkVersionNumber() foundation.NSNumber
	SetFrameworkVersionNumber(value foundation.NSNumber)
}

An interface definition for the CoreMLVersion class.

Methods

  • [ICoreMLVersion.FrameworkVersionNumber]
  • [ICoreMLVersion.SetFrameworkVersionNumber]

See: https://developer.apple.com/documentation/RemoteCoreML/CoreMLVersion

type IMLLog added in v0.5.0

type IMLLog interface {
	objectivec.IObject
}

An interface definition for the MLLog class.

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog

type IMLNetworkHeaderEncoding added in v0.5.0

type IMLNetworkHeaderEncoding interface {
	objectivec.IObject
}

An interface definition for the MLNetworkHeaderEncoding class.

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding

type IMLNetworkOptions added in v0.5.0

type IMLNetworkOptions interface {
	objectivec.IObject

	Family() uint64
	LocalAddr() string
	LocalPort() string
	NetworkNameIdentifier() string
	NetworkOptions() foundation.INSDictionary
	Port() string
	Psk() string
	ReceiveTimeout() int64
	ReceiveTimeoutValue() int64
	UseAWDL() bool
	UseBonjour() bool
	UseTLS() bool
	UseUDP() bool
	InitWithOptions(options objectivec.IObject) MLNetworkOptions
}

An interface definition for the MLNetworkOptions class.

Methods

  • [IMLNetworkOptions.Family]
  • [IMLNetworkOptions.LocalAddr]
  • [IMLNetworkOptions.LocalPort]
  • [IMLNetworkOptions.NetworkNameIdentifier]
  • [IMLNetworkOptions.NetworkOptions]
  • [IMLNetworkOptions.Port]
  • [IMLNetworkOptions.Psk]
  • [IMLNetworkOptions.ReceiveTimeout]
  • [IMLNetworkOptions.ReceiveTimeoutValue]
  • [IMLNetworkOptions.UseAWDL]
  • [IMLNetworkOptions.UseBonjour]
  • [IMLNetworkOptions.UseTLS]
  • [IMLNetworkOptions.UseUDP]
  • [IMLNetworkOptions.InitWithOptions]

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions

type IMLNetworkPacket added in v0.5.0

type IMLNetworkPacket interface {
	objectivec.IObject

	Buffer() foundation.NSMutableData
	SetBuffer(value foundation.NSMutableData)
	CleanupDoubleBuffer()
	Command() uint64
	SetCommand(value uint64)
	DoubleBuffer() foundation.NSMutableData
	SetDoubleBuffer(value foundation.NSMutableData)
	Reset()
	ResetDoubleBuffer()
	ResetMetadata()
	SizeOfPacket() uint64
	SetSizeOfPacket(value uint64)
}

An interface definition for the MLNetworkPacket class.

Methods

  • [IMLNetworkPacket.Buffer]
  • [IMLNetworkPacket.SetBuffer]
  • [IMLNetworkPacket.CleanupDoubleBuffer]
  • [IMLNetworkPacket.Command]
  • [IMLNetworkPacket.SetCommand]
  • [IMLNetworkPacket.DoubleBuffer]
  • [IMLNetworkPacket.SetDoubleBuffer]
  • [IMLNetworkPacket.Reset]
  • [IMLNetworkPacket.ResetDoubleBuffer]
  • [IMLNetworkPacket.ResetMetadata]
  • [IMLNetworkPacket.SizeOfPacket]
  • [IMLNetworkPacket.SetSizeOfPacket]

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket

type IMLNetworkUtilities added in v0.5.0

type IMLNetworkUtilities interface {
	objectivec.IObject
}

An interface definition for the MLNetworkUtilities class.

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities

type IMLNetworking added in v0.5.0

type IMLNetworking interface {
	objectivec.IObject

	Connection() objectivec.Object
	SetConnection(value objectivec.Object)
	IsClient() bool
	Listener() objectivec.Object
	LogType() objectivec.Object
	NwOptions() *MLNetworkOptions
	Parameters() objectivec.Object
	Protocol_stack() objectivec.Object
	Q() objectivec.Object
	ReceiveLoop(loop VoidHandler)
	RestartConnection()
	SendData(data objectivec.IObject)
	SetListenerReceiveDataCallBack(back VoidHandler)
	SetReceiveDataCallBack(back VoidHandler)
	StartConnection()
	Stop()
	InitConnection(connection objectivec.IObject) MLNetworking
	InitListener(listener objectivec.IObject) MLNetworking
}

An interface definition for the MLNetworking class.

Methods

  • [IMLNetworking.Connection]
  • [IMLNetworking.SetConnection]
  • [IMLNetworking.IsClient]
  • [IMLNetworking.Listener]
  • [IMLNetworking.LogType]
  • [IMLNetworking.NwOptions]
  • [IMLNetworking.Parameters]
  • [IMLNetworking.Protocol_stack]
  • [IMLNetworking.Q]
  • [IMLNetworking.ReceiveLoop]
  • [IMLNetworking.RestartConnection]
  • [IMLNetworking.SendData]
  • [IMLNetworking.SetListenerReceiveDataCallBack]
  • [IMLNetworking.SetReceiveDataCallBack]
  • [IMLNetworking.StartConnection]
  • [IMLNetworking.Stop]
  • [IMLNetworking.InitConnection]
  • [IMLNetworking.InitListener]

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking

type IMLRemoteConnection added in v0.5.0

type IMLRemoteConnection interface {
	objectivec.IObject

	Connection() objectivec.Object
	DoReceiveContextIsCompleteError(receive objectivec.IObject, context objectivec.IObject, complete bool, error_ objectivec.IObject)
	JobCount() uint64
	LoadFromURLOptionsError(url foundation.INSURL, options objectivec.IObject) (bool, error)
	NwObj() *MLNetworking
	NwOptions() *MLNetworkOptions
	OutputResult() foundation.NSMutableData
	SetOutputResult(value foundation.NSMutableData)
	Packet() *MLNetworkPacket
	PredictionFromURLFeaturesOutputOptionsError(url foundation.INSURL, features objectivec.IObject, output objectivec.IObject, options objectivec.IObject) (bool, error)
	Q() objectivec.Object
	Semaphore() objectivec.Object
	SendOptions(send objectivec.IObject, options objectivec.IObject)
	SendDataAndWaitForAcknowledgementOrTimeout(timeout objectivec.IObject) bool
	UnloadFromURLOptionsError(url foundation.INSURL, options objectivec.IObject) (bool, error)
	InitWithOptions(options objectivec.IObject) MLRemoteConnection
}

An interface definition for the MLRemoteConnection class.

Methods

  • [IMLRemoteConnection.Connection]
  • [IMLRemoteConnection.DoReceiveContextIsCompleteError]
  • [IMLRemoteConnection.JobCount]
  • [IMLRemoteConnection.LoadFromURLOptionsError]
  • [IMLRemoteConnection.NwObj]
  • [IMLRemoteConnection.NwOptions]
  • [IMLRemoteConnection.OutputResult]
  • [IMLRemoteConnection.SetOutputResult]
  • [IMLRemoteConnection.Packet]
  • [IMLRemoteConnection.PredictionFromURLFeaturesOutputOptionsError]
  • [IMLRemoteConnection.Q]
  • [IMLRemoteConnection.Semaphore]
  • [IMLRemoteConnection.SendOptions]
  • [IMLRemoteConnection.SendDataAndWaitForAcknowledgementOrTimeout]
  • [IMLRemoteConnection.UnloadFromURLOptionsError]
  • [IMLRemoteConnection.InitWithOptions]

See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection

type IMLRemoteCoreMLErrors added in v0.5.0

type IMLRemoteCoreMLErrors interface {
	objectivec.IObject
}

An interface definition for the MLRemoteCoreMLErrors class.

See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteCoreMLErrors

type IMLServer added in v0.5.0

type IMLServer interface {
	objectivec.IObject

	DoReceiveContextIsCompleteError(receive objectivec.IObject, context objectivec.IObject, complete bool, error_ objectivec.IObject)
	NwObj() *MLNetworking
	NwOptions() *MLNetworkOptions
	Packet() *MLNetworkPacket
	Q() objectivec.Object
	SetLoadCommand(command VoidHandler)
	SetLoadFunction(function VoidHandler)
	SetPredictCommand(command VoidHandler)
	SetPredictFunction(function VoidHandler)
	SetTextCommand(command VoidHandler)
	SetTextFunction(function VoidHandler)
	SetUnLoadCommand(command VoidHandler)
	SetUnLoadFunction(function VoidHandler)
	Start()
	Stop()
	InitWithOptions(options objectivec.IObject) MLServer
}

An interface definition for the MLServer class.

Methods

  • [IMLServer.DoReceiveContextIsCompleteError]
  • [IMLServer.NwObj]
  • [IMLServer.NwOptions]
  • [IMLServer.Packet]
  • [IMLServer.Q]
  • [IMLServer.SetLoadCommand]
  • [IMLServer.SetLoadFunction]
  • [IMLServer.SetPredictCommand]
  • [IMLServer.SetPredictFunction]
  • [IMLServer.SetTextCommand]
  • [IMLServer.SetTextFunction]
  • [IMLServer.SetUnLoadCommand]
  • [IMLServer.SetUnLoadFunction]
  • [IMLServer.Start]
  • [IMLServer.Stop]
  • [IMLServer.InitWithOptions]

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer

type MLLog added in v0.5.0

type MLLog struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog

func MLLogFromID added in v0.5.0

func MLLogFromID(id objc.ID) MLLog

MLLogFromID constructs a MLLog from an objc.ID.

func NewMLLog added in v0.5.0

func NewMLLog() MLLog

NewMLLog creates a new MLLog instance.

func (MLLog) Autorelease added in v0.5.0

func (m MLLog) Autorelease() MLLog

Autorelease adds the receiver to the current autorelease pool.

func (MLLog) Init added in v0.5.0

func (m MLLog) Init() MLLog

Init initializes the instance.

type MLLogClass added in v0.5.0

type MLLogClass struct {
	// contains filtered or unexported fields
}

func GetMLLogClass added in v0.5.0

func GetMLLogClass() MLLogClass

GetMLLogClass returns the class object for _MLLog.

func (MLLogClass) Alloc added in v0.5.0

func (mc MLLogClass) Alloc() MLLog

Alloc allocates memory for a new instance of the class.

func (MLLogClass) Class added in v0.5.0

func (mc MLLogClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (MLLogClass) ClientFramework added in v0.5.0

func (_MLLogClass MLLogClass) ClientFramework() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog/clientFramework

func (MLLogClass) Common added in v0.5.0

func (_MLLogClass MLLogClass) Common() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog/common

func (MLLogClass) Daemon added in v0.5.0

func (_MLLogClass MLLogClass) Daemon() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog/daemon

func (MLLogClass) ServerFramework added in v0.5.0

func (_MLLogClass MLLogClass) ServerFramework() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog/serverFramework

func (MLLogClass) Tool added in v0.5.0

func (_MLLogClass MLLogClass) Tool() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLLog/tool

type MLNetworkHeaderEncoding added in v0.5.0

type MLNetworkHeaderEncoding struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding

func MLNetworkHeaderEncodingFromID added in v0.5.0

func MLNetworkHeaderEncodingFromID(id objc.ID) MLNetworkHeaderEncoding

MLNetworkHeaderEncodingFromID constructs a MLNetworkHeaderEncoding from an objc.ID.

func NewMLNetworkHeaderEncoding added in v0.5.0

func NewMLNetworkHeaderEncoding() MLNetworkHeaderEncoding

NewMLNetworkHeaderEncoding creates a new MLNetworkHeaderEncoding instance.

func (MLNetworkHeaderEncoding) Autorelease added in v0.5.0

Autorelease adds the receiver to the current autorelease pool.

func (MLNetworkHeaderEncoding) Init added in v0.5.0

Init initializes the instance.

type MLNetworkHeaderEncodingClass added in v0.5.0

type MLNetworkHeaderEncodingClass struct {
	// contains filtered or unexported fields
}

func GetMLNetworkHeaderEncodingClass added in v0.5.0

func GetMLNetworkHeaderEncodingClass() MLNetworkHeaderEncodingClass

GetMLNetworkHeaderEncodingClass returns the class object for _MLNetworkHeaderEncoding.

func (MLNetworkHeaderEncodingClass) AcknowledgeFailData added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) AcknowledgeFailData() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/acknowledgeFailData

func (MLNetworkHeaderEncodingClass) AcknowledgeSucessData added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) AcknowledgeSucessData() objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/acknowledgeSucessData

func (MLNetworkHeaderEncodingClass) Alloc added in v0.5.0

Alloc allocates memory for a new instance of the class.

func (MLNetworkHeaderEncodingClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

func (MLNetworkHeaderEncodingClass) ConstructDataPacketHeaderEncoding added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) ConstructDataPacketHeaderEncoding(packet objectivec.IObject, encoding uint64) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/constructDataPacket:HeaderEncoding:

func (MLNetworkHeaderEncodingClass) Custom added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) Custom(custom objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/custom:

func (MLNetworkHeaderEncodingClass) GetHeaderDataSize added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderDataSize(size objectivec.IObject) uint64

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/getHeaderDataSize:

func (MLNetworkHeaderEncodingClass) GetHeaderDataStart added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderDataStart(start objectivec.IObject) unsafe.Pointer

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/getHeaderDataStart:

func (MLNetworkHeaderEncodingClass) GetHeaderEncoding added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderEncoding(encoding objectivec.IObject) uint64

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/getHeaderEncoding:

func (MLNetworkHeaderEncodingClass) GetHeaderEnd added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderEnd(end objectivec.IObject) unsafe.Pointer

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/getHeaderEnd:

func (MLNetworkHeaderEncodingClass) GetHeaderSize added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderSize() uint64

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/getHeaderSize

func (MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeFailData added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeFailData(data uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderAcknowledgeFailData:

func (MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeSucessData added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeSucessData(data uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderAcknowledgeSucessData:

func (MLNetworkHeaderEncodingClass) IsHeaderCustom added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderCustom(custom uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderCustom:

func (MLNetworkHeaderEncodingClass) IsHeaderError added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderError(error_ uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderError:

func (MLNetworkHeaderEncodingClass) IsHeaderIncomingData added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderIncomingData(data uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderIncomingData:

func (MLNetworkHeaderEncodingClass) IsHeaderLoad added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderLoad(load uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderLoad:

func (MLNetworkHeaderEncodingClass) IsHeaderPredictFeature added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderPredictFeature(feature uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderPredictFeature:

func (MLNetworkHeaderEncodingClass) IsHeaderText added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderText(text uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderText:

func (MLNetworkHeaderEncodingClass) IsHeaderUnLoad added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderUnLoad(load uint64) bool

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/isHeaderUnLoad:

func (MLNetworkHeaderEncodingClass) LoadModel added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) LoadModel(model objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/loadModel:

func (MLNetworkHeaderEncodingClass) PredictFeature added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) PredictFeature(feature objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/predictFeature:

func (MLNetworkHeaderEncodingClass) TextDebug added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) TextDebug(debug objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/textDebug:

func (MLNetworkHeaderEncodingClass) UnLoadModel added in v0.5.0

func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) UnLoadModel(model objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkHeaderEncoding/unLoadModel:

type MLNetworkOptions added in v0.5.0

type MLNetworkOptions struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions

func MLNetworkOptionsFromID added in v0.5.0

func MLNetworkOptionsFromID(id objc.ID) MLNetworkOptions

MLNetworkOptionsFromID constructs a MLNetworkOptions from an objc.ID.

func NewMLNetworkOptions added in v0.5.0

func NewMLNetworkOptions() MLNetworkOptions

NewMLNetworkOptions creates a new MLNetworkOptions instance.

func (MLNetworkOptions) Autorelease added in v0.5.0

func (m MLNetworkOptions) Autorelease() MLNetworkOptions

Autorelease adds the receiver to the current autorelease pool.

func (MLNetworkOptions) Init added in v0.5.0

Init initializes the instance.

type MLNetworkOptionsClass added in v0.5.0

type MLNetworkOptionsClass struct {
	// contains filtered or unexported fields
}

func GetMLNetworkOptionsClass added in v0.5.0

func GetMLNetworkOptionsClass() MLNetworkOptionsClass

GetMLNetworkOptionsClass returns the class object for _MLNetworkOptions.

func (MLNetworkOptionsClass) Alloc added in v0.5.0

Alloc allocates memory for a new instance of the class.

func (MLNetworkOptionsClass) Class added in v0.5.0

func (mc MLNetworkOptionsClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type MLNetworkPacket added in v0.5.0

type MLNetworkPacket struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket

func MLNetworkPacketFromID added in v0.5.0

func MLNetworkPacketFromID(id objc.ID) MLNetworkPacket

MLNetworkPacketFromID constructs a MLNetworkPacket from an objc.ID.

func NewMLNetworkPacket added in v0.5.0

func NewMLNetworkPacket() MLNetworkPacket

NewMLNetworkPacket creates a new MLNetworkPacket instance.

func (MLNetworkPacket) Autorelease added in v0.5.0

func (m MLNetworkPacket) Autorelease() MLNetworkPacket

Autorelease adds the receiver to the current autorelease pool.

func (MLNetworkPacket) Init added in v0.5.0

Init initializes the instance.

func (MLNetworkPacket) Reset added in v0.5.0

func (m MLNetworkPacket) Reset()

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/reset

func (MLNetworkPacket) SetBuffer added in v0.5.0

func (m MLNetworkPacket) SetBuffer(value foundation.NSMutableData)

func (MLNetworkPacket) SetCommand added in v0.5.0

func (m MLNetworkPacket) SetCommand(value uint64)

func (MLNetworkPacket) SetDoubleBuffer added in v0.5.0

func (m MLNetworkPacket) SetDoubleBuffer(value foundation.NSMutableData)

func (MLNetworkPacket) SetSizeOfPacket added in v0.5.0

func (m MLNetworkPacket) SetSizeOfPacket(value uint64)

type MLNetworkPacketClass added in v0.5.0

type MLNetworkPacketClass struct {
	// contains filtered or unexported fields
}

func GetMLNetworkPacketClass added in v0.5.0

func GetMLNetworkPacketClass() MLNetworkPacketClass

GetMLNetworkPacketClass returns the class object for _MLNetworkPacket.

func (MLNetworkPacketClass) Alloc added in v0.5.0

Alloc allocates memory for a new instance of the class.

func (MLNetworkPacketClass) Class added in v0.5.0

func (mc MLNetworkPacketClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type MLNetworkUtilities added in v0.5.0

type MLNetworkUtilities struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities

func MLNetworkUtilitiesFromID added in v0.5.0

func MLNetworkUtilitiesFromID(id objc.ID) MLNetworkUtilities

MLNetworkUtilitiesFromID constructs a MLNetworkUtilities from an objc.ID.

func NewMLNetworkUtilities added in v0.5.0

func NewMLNetworkUtilities() MLNetworkUtilities

NewMLNetworkUtilities creates a new MLNetworkUtilities instance.

func (MLNetworkUtilities) Autorelease added in v0.5.0

func (m MLNetworkUtilities) Autorelease() MLNetworkUtilities

Autorelease adds the receiver to the current autorelease pool.

func (MLNetworkUtilities) Init added in v0.5.0

Init initializes the instance.

type MLNetworkUtilitiesClass added in v0.5.0

type MLNetworkUtilitiesClass struct {
	// contains filtered or unexported fields
}

func GetMLNetworkUtilitiesClass added in v0.5.0

func GetMLNetworkUtilitiesClass() MLNetworkUtilitiesClass

GetMLNetworkUtilitiesClass returns the class object for _MLNetworkUtilities.

func (MLNetworkUtilitiesClass) Alloc added in v0.5.0

Alloc allocates memory for a new instance of the class.

func (MLNetworkUtilitiesClass) BindEndPointsLocalAddrLocalPort added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) BindEndPointsLocalAddrLocalPort(points objectivec.IObject, addr string, port string)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/bindEndPoints:localAddr:localPort:

func (MLNetworkUtilitiesClass) Class added in v0.5.0

func (mc MLNetworkUtilitiesClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (MLNetworkUtilitiesClass) ConfigureTLS added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) ConfigureTLS(tls objectivec.IObject)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/configureTLS:

func (MLNetworkUtilitiesClass) CreateSecureConnectionParameterUseUDP added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) CreateSecureConnectionParameterUseUDP(parameter VoidHandler, udp bool) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/createSecureConnectionParameter:useUDP:

func (MLNetworkUtilitiesClass) DoInitNetwork added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) DoInitNetwork(network objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/doInitNetwork:

func (MLNetworkUtilitiesClass) SetAWDLUseAWDL added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetAWDLUseAWDL(awdl objectivec.IObject, awdl2 bool)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/setAWDL:useAWDL:

func (MLNetworkUtilitiesClass) SetProtocolStackFamily added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetProtocolStackFamily(stack objectivec.IObject, family uint64) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/setProtocolStack:family:

func (MLNetworkUtilitiesClass) SetupBonjourNameUseBonjourUseUDP added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetupBonjourNameUseBonjourUseUDP(bonjour objectivec.IObject, name string, bonjour2 bool, udp bool)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/setupBonjour:name:useBonjour:useUDP:

func (MLNetworkUtilitiesClass) SetupListenerStateChangeHandlerUseUDP added in v0.5.0

func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetupListenerStateChangeHandlerUseUDP(handler ErrorHandler, udp bool)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkUtilities/setupListenerStateChangeHandler:useUDP:

type MLNetworking added in v0.5.0

type MLNetworking struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking

func MLNetworkingFromID added in v0.5.0

func MLNetworkingFromID(id objc.ID) MLNetworking

MLNetworkingFromID constructs a MLNetworking from an objc.ID.

func NewMLNetworking added in v0.5.0

func NewMLNetworking() MLNetworking

NewMLNetworking creates a new MLNetworking instance.

func (MLNetworking) Autorelease added in v0.5.0

func (m MLNetworking) Autorelease() MLNetworking

Autorelease adds the receiver to the current autorelease pool.

func (MLNetworking) Init added in v0.5.0

func (m MLNetworking) Init() MLNetworking

Init initializes the instance.

func (MLNetworking) ReceiveLoopSync added in v0.5.0

func (m MLNetworking) ReceiveLoopSync(ctx context.Context) error

ReceiveLoopSync is a synchronous wrapper around MLNetworking.ReceiveLoop. It blocks until the completion handler fires or the context is cancelled.

func (MLNetworking) SetConnection added in v0.5.0

func (m MLNetworking) SetConnection(value objectivec.Object)

func (MLNetworking) SetListenerReceiveDataCallBackSync added in v0.5.0

func (m MLNetworking) SetListenerReceiveDataCallBackSync(ctx context.Context) error

SetListenerReceiveDataCallBackSync is a synchronous wrapper around MLNetworking.SetListenerReceiveDataCallBack. It blocks until the completion handler fires or the context is cancelled.

func (MLNetworking) SetReceiveDataCallBackSync added in v0.5.0

func (m MLNetworking) SetReceiveDataCallBackSync(ctx context.Context) error

SetReceiveDataCallBackSync is a synchronous wrapper around MLNetworking.SetReceiveDataCallBack. It blocks until the completion handler fires or the context is cancelled.

func (MLNetworking) Stop added in v0.5.0

func (m MLNetworking) Stop()

See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/stop

type MLNetworkingClass added in v0.5.0

type MLNetworkingClass struct {
	// contains filtered or unexported fields
}

func GetMLNetworkingClass added in v0.5.0

func GetMLNetworkingClass() MLNetworkingClass

GetMLNetworkingClass returns the class object for _MLNetworking.

func (MLNetworkingClass) Alloc added in v0.5.0

func (mc MLNetworkingClass) Alloc() MLNetworking

Alloc allocates memory for a new instance of the class.

func (MLNetworkingClass) Class added in v0.5.0

func (mc MLNetworkingClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type MLRemoteConnection added in v0.5.0

type MLRemoteConnection struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection

func MLRemoteConnectionFromID added in v0.5.0

func MLRemoteConnectionFromID(id objc.ID) MLRemoteConnection

MLRemoteConnectionFromID constructs a MLRemoteConnection from an objc.ID.

func NewMLRemoteConnection added in v0.5.0

func NewMLRemoteConnection() MLRemoteConnection

NewMLRemoteConnection creates a new MLRemoteConnection instance.

func (MLRemoteConnection) Autorelease added in v0.5.0

func (m MLRemoteConnection) Autorelease() MLRemoteConnection

Autorelease adds the receiver to the current autorelease pool.

func (MLRemoteConnection) Init added in v0.5.0

Init initializes the instance.

func (MLRemoteConnection) SetOutputResult added in v0.5.0

func (m MLRemoteConnection) SetOutputResult(value foundation.NSMutableData)

type MLRemoteConnectionClass added in v0.5.0

type MLRemoteConnectionClass struct {
	// contains filtered or unexported fields
}

func GetMLRemoteConnectionClass added in v0.5.0

func GetMLRemoteConnectionClass() MLRemoteConnectionClass

GetMLRemoteConnectionClass returns the class object for _MLRemoteConnection.

func (MLRemoteConnectionClass) Alloc added in v0.5.0

Alloc allocates memory for a new instance of the class.

func (MLRemoteConnectionClass) Class added in v0.5.0

func (mc MLRemoteConnectionClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type MLRemoteCoreMLErrors added in v0.5.0

type MLRemoteCoreMLErrors struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteCoreMLErrors

func MLRemoteCoreMLErrorsFromID added in v0.5.0

func MLRemoteCoreMLErrorsFromID(id objc.ID) MLRemoteCoreMLErrors

MLRemoteCoreMLErrorsFromID constructs a MLRemoteCoreMLErrors from an objc.ID.

func NewMLRemoteCoreMLErrors added in v0.5.0

func NewMLRemoteCoreMLErrors() MLRemoteCoreMLErrors

NewMLRemoteCoreMLErrors creates a new MLRemoteCoreMLErrors instance.

func (MLRemoteCoreMLErrors) Autorelease added in v0.5.0

Autorelease adds the receiver to the current autorelease pool.

func (MLRemoteCoreMLErrors) Init added in v0.5.0

Init initializes the instance.

type MLRemoteCoreMLErrorsClass added in v0.5.0

type MLRemoteCoreMLErrorsClass struct {
	// contains filtered or unexported fields
}

func GetMLRemoteCoreMLErrorsClass added in v0.5.0

func GetMLRemoteCoreMLErrorsClass() MLRemoteCoreMLErrorsClass

GetMLRemoteCoreMLErrorsClass returns the class object for _MLRemoteCoreMLErrors.

func (MLRemoteCoreMLErrorsClass) Alloc added in v0.5.0

Alloc allocates memory for a new instance of the class.

func (MLRemoteCoreMLErrorsClass) Class added in v0.5.0

Class returns the underlying Objective-C class pointer.

func (MLRemoteCoreMLErrorsClass) ClientTimeoutErrorForMethod added in v0.5.0

func (_MLRemoteCoreMLErrorsClass MLRemoteCoreMLErrorsClass) ClientTimeoutErrorForMethod(method objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteCoreMLErrors/clientTimeoutErrorForMethod:

func (MLRemoteCoreMLErrorsClass) CreateErrorWithCodeDescription added in v0.5.0

func (_MLRemoteCoreMLErrorsClass MLRemoteCoreMLErrorsClass) CreateErrorWithCodeDescription(code int64, description objectivec.IObject) objectivec.IObject

See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteCoreMLErrors/createErrorWithCode:description:

type MLServer added in v0.5.0

type MLServer struct {
	objectivec.Object
}

Methods

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer

func MLServerFromID added in v0.5.0

func MLServerFromID(id objc.ID) MLServer

MLServerFromID constructs a MLServer from an objc.ID.

func NewMLServer added in v0.5.0

func NewMLServer() MLServer

NewMLServer creates a new MLServer instance.

func (MLServer) Autorelease added in v0.5.0

func (m MLServer) Autorelease() MLServer

Autorelease adds the receiver to the current autorelease pool.

func (MLServer) Init added in v0.5.0

func (m MLServer) Init() MLServer

Init initializes the instance.

func (MLServer) SetLoadCommand added in v0.5.0

func (m MLServer) SetLoadCommand(command VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setLoadCommand:

func (MLServer) SetLoadCommandSync added in v0.5.0

func (m MLServer) SetLoadCommandSync(ctx context.Context) error

SetLoadCommandSync is a synchronous wrapper around MLServer.SetLoadCommand. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetLoadFunction added in v0.5.0

func (m MLServer) SetLoadFunction(function VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setLoadFunction:

func (MLServer) SetLoadFunctionSync added in v0.5.0

func (m MLServer) SetLoadFunctionSync(ctx context.Context) error

SetLoadFunctionSync is a synchronous wrapper around MLServer.SetLoadFunction. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetPredictCommand added in v0.5.0

func (m MLServer) SetPredictCommand(command VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setPredictCommand:

func (MLServer) SetPredictCommandSync added in v0.5.0

func (m MLServer) SetPredictCommandSync(ctx context.Context) error

SetPredictCommandSync is a synchronous wrapper around MLServer.SetPredictCommand. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetPredictFunction added in v0.5.0

func (m MLServer) SetPredictFunction(function VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setPredictFunction:

func (MLServer) SetPredictFunctionSync added in v0.5.0

func (m MLServer) SetPredictFunctionSync(ctx context.Context) error

SetPredictFunctionSync is a synchronous wrapper around MLServer.SetPredictFunction. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetTextCommand added in v0.5.0

func (m MLServer) SetTextCommand(command VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setTextCommand:

func (MLServer) SetTextCommandSync added in v0.5.0

func (m MLServer) SetTextCommandSync(ctx context.Context) error

SetTextCommandSync is a synchronous wrapper around MLServer.SetTextCommand. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetTextFunction added in v0.5.0

func (m MLServer) SetTextFunction(function VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setTextFunction:

func (MLServer) SetTextFunctionSync added in v0.5.0

func (m MLServer) SetTextFunctionSync(ctx context.Context) error

SetTextFunctionSync is a synchronous wrapper around MLServer.SetTextFunction. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetUnLoadCommand added in v0.5.0

func (m MLServer) SetUnLoadCommand(command VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setUnLoadCommand:

func (MLServer) SetUnLoadCommandSync added in v0.5.0

func (m MLServer) SetUnLoadCommandSync(ctx context.Context) error

SetUnLoadCommandSync is a synchronous wrapper around MLServer.SetUnLoadCommand. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) SetUnLoadFunction added in v0.5.0

func (m MLServer) SetUnLoadFunction(function VoidHandler)

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/setUnLoadFunction:

func (MLServer) SetUnLoadFunctionSync added in v0.5.0

func (m MLServer) SetUnLoadFunctionSync(ctx context.Context) error

SetUnLoadFunctionSync is a synchronous wrapper around MLServer.SetUnLoadFunction. It blocks until the completion handler fires or the context is cancelled.

func (MLServer) Start added in v0.5.0

func (m MLServer) Start()

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/start

func (MLServer) Stop added in v0.5.0

func (m MLServer) Stop()

See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/stop

type MLServerClass added in v0.5.0

type MLServerClass struct {
	// contains filtered or unexported fields
}

func GetMLServerClass added in v0.5.0

func GetMLServerClass() MLServerClass

GetMLServerClass returns the class object for _MLServer.

func (MLServerClass) Alloc added in v0.5.0

func (mc MLServerClass) Alloc() MLServer

Alloc allocates memory for a new instance of the class.

func (MLServerClass) Class added in v0.5.0

func (mc MLServerClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

Jump to

Keyboard shortcuts

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