Documentation
¶
Overview ¶
Package remotecoreml provides Go bindings for the remotecoreml framework.
Key Types ¶
- MLNetworkHeaderEncoding
- MLNetworking
- MLRemoteConnection
- MLServer
- MLNetworkOptions
- MLNetworkPacket
- CoreMLModelSecurityServiceToClient
- MLNetworkUtilities
- MLLog
- CoreMLVersion
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func NewErrorBlock(handler ErrorHandler) (objc.ID, func())
- func NewVoidBlock(handler VoidHandler) (objc.ID, func())
- type CoreMLModelSecurityServiceToClient
- func (c CoreMLModelSecurityServiceToClient) Autorelease() CoreMLModelSecurityServiceToClient
- func (c CoreMLModelSecurityServiceToClient) ClientFeatureNamesWithReply(names objectivec.IObject, reply objectivec.IObject)
- func (c CoreMLModelSecurityServiceToClient) ClientFeatureValueForNameUniqueKeyForProviderWithReply(name objectivec.IObject, provider objectivec.IObject, reply objectivec.IObject)
- func (c CoreMLModelSecurityServiceToClient) FeatureProviderCount() foundation.INSCountedSet
- func (c CoreMLModelSecurityServiceToClient) FeatureProviderMap() foundation.INSDictionary
- func (c CoreMLModelSecurityServiceToClient) Init() CoreMLModelSecurityServiceToClient
- func (c CoreMLModelSecurityServiceToClient) ServiceToClientQueue() objectivec.Object
- func (c CoreMLModelSecurityServiceToClient) SetFeatureProviderCount(value foundation.INSCountedSet)
- func (c CoreMLModelSecurityServiceToClient) SetFeatureProviderMap(value foundation.INSDictionary)
- func (c CoreMLModelSecurityServiceToClient) SetServiceToClientQueue(value objectivec.Object)
- type CoreMLModelSecurityServiceToClientClass
- type CoreMLVersion
- type CoreMLVersionClass
- type ErrorHandler
- type ICoreMLModelSecurityServiceToClient
- type ICoreMLVersion
- type IMLLog
- type IMLNetworkHeaderEncoding
- type IMLNetworkOptions
- type IMLNetworkPacket
- type IMLNetworkUtilities
- type IMLNetworking
- type IMLRemoteConnection
- type IMLRemoteCoreMLErrors
- type IMLServer
- type MLLog
- type MLLogClass
- func (mc MLLogClass) Alloc() MLLog
- func (mc MLLogClass) Class() objc.Class
- func (_MLLogClass MLLogClass) ClientFramework() objectivec.IObject
- func (_MLLogClass MLLogClass) Common() objectivec.IObject
- func (_MLLogClass MLLogClass) Daemon() objectivec.IObject
- func (_MLLogClass MLLogClass) ServerFramework() objectivec.IObject
- func (_MLLogClass MLLogClass) Tool() objectivec.IObject
- type MLNetworkHeaderEncoding
- type MLNetworkHeaderEncodingClass
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) AcknowledgeFailData() objectivec.IObject
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) AcknowledgeSucessData() objectivec.IObject
- func (mc MLNetworkHeaderEncodingClass) Alloc() MLNetworkHeaderEncoding
- func (mc MLNetworkHeaderEncodingClass) Class() objc.Class
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) ConstructDataPacketHeaderEncoding(packet objectivec.IObject, encoding uint64) objectivec.IObject
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) Custom(custom objectivec.IObject) objectivec.IObject
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderDataSize(size objectivec.IObject) uint64
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderDataStart(start objectivec.IObject) unsafe.Pointer
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderEncoding(encoding objectivec.IObject) uint64
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderEnd(end objectivec.IObject) unsafe.Pointer
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) GetHeaderSize() uint64
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeFailData(data uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeSucessData(data uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderCustom(custom uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderError(error_ uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderIncomingData(data uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderLoad(load uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderPredictFeature(feature uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderText(text uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderUnLoad(load uint64) bool
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) LoadModel(model objectivec.IObject) objectivec.IObject
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) PredictFeature(feature objectivec.IObject) objectivec.IObject
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) TextDebug(debug objectivec.IObject) objectivec.IObject
- func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) UnLoadModel(model objectivec.IObject) objectivec.IObject
- type MLNetworkOptions
- func (m MLNetworkOptions) Autorelease() MLNetworkOptions
- func (m MLNetworkOptions) Family() uint64
- func (m MLNetworkOptions) Init() MLNetworkOptions
- func (m MLNetworkOptions) InitWithOptions(options objectivec.IObject) MLNetworkOptions
- func (m MLNetworkOptions) LocalAddr() string
- func (m MLNetworkOptions) LocalPort() string
- func (m MLNetworkOptions) NetworkNameIdentifier() string
- func (m MLNetworkOptions) NetworkOptions() foundation.INSDictionary
- func (m MLNetworkOptions) Port() string
- func (m MLNetworkOptions) Psk() string
- func (m MLNetworkOptions) ReceiveTimeout() int64
- func (m MLNetworkOptions) ReceiveTimeoutValue() int64
- func (m MLNetworkOptions) UseAWDL() bool
- func (m MLNetworkOptions) UseBonjour() bool
- func (m MLNetworkOptions) UseTLS() bool
- func (m MLNetworkOptions) UseUDP() bool
- type MLNetworkOptionsClass
- type MLNetworkPacket
- func (m MLNetworkPacket) Autorelease() MLNetworkPacket
- func (m MLNetworkPacket) Buffer() foundation.NSMutableData
- func (m MLNetworkPacket) CleanupDoubleBuffer()
- func (m MLNetworkPacket) Command() uint64
- func (m MLNetworkPacket) DoubleBuffer() foundation.NSMutableData
- func (m MLNetworkPacket) Init() MLNetworkPacket
- func (m MLNetworkPacket) Reset()
- func (m MLNetworkPacket) ResetDoubleBuffer()
- func (m MLNetworkPacket) ResetMetadata()
- func (m MLNetworkPacket) SetBuffer(value foundation.NSMutableData)
- func (m MLNetworkPacket) SetCommand(value uint64)
- func (m MLNetworkPacket) SetDoubleBuffer(value foundation.NSMutableData)
- func (m MLNetworkPacket) SetSizeOfPacket(value uint64)
- func (m MLNetworkPacket) SizeOfPacket() uint64
- type MLNetworkPacketClass
- type MLNetworkUtilities
- type MLNetworkUtilitiesClass
- func (mc MLNetworkUtilitiesClass) Alloc() MLNetworkUtilities
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) BindEndPointsLocalAddrLocalPort(points objectivec.IObject, addr string, port string)
- func (mc MLNetworkUtilitiesClass) Class() objc.Class
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) ConfigureTLS(tls objectivec.IObject)
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) CreateSecureConnectionParameterUseUDP(parameter VoidHandler, udp bool) objectivec.IObject
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) DoInitNetwork(network objectivec.IObject) objectivec.IObject
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetAWDLUseAWDL(awdl objectivec.IObject, awdl2 bool)
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetProtocolStackFamily(stack objectivec.IObject, family uint64) objectivec.IObject
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetupBonjourNameUseBonjourUseUDP(bonjour objectivec.IObject, name string, bonjour2 bool, udp bool)
- func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetupListenerStateChangeHandlerUseUDP(handler ErrorHandler, udp bool)
- type MLNetworking
- func (m MLNetworking) Autorelease() MLNetworking
- func (m MLNetworking) Connection() objectivec.Object
- func (m MLNetworking) Init() MLNetworking
- func (m MLNetworking) InitConnection(connection objectivec.IObject) MLNetworking
- func (m MLNetworking) InitListener(listener objectivec.IObject) MLNetworking
- func (m MLNetworking) IsClient() bool
- func (m MLNetworking) Listener() objectivec.Object
- func (m MLNetworking) LogType() objectivec.Object
- func (m MLNetworking) NwOptions() *MLNetworkOptions
- func (m MLNetworking) Parameters() objectivec.Object
- func (m MLNetworking) Protocol_stack() objectivec.Object
- func (m MLNetworking) Q() objectivec.Object
- func (m MLNetworking) ReceiveLoop(loop VoidHandler)
- func (m MLNetworking) ReceiveLoopSync(ctx context.Context) error
- func (m MLNetworking) RestartConnection()
- func (m MLNetworking) SendData(data objectivec.IObject)
- func (m MLNetworking) SetConnection(value objectivec.Object)
- func (m MLNetworking) SetListenerReceiveDataCallBack(back VoidHandler)
- func (m MLNetworking) SetListenerReceiveDataCallBackSync(ctx context.Context) error
- func (m MLNetworking) SetReceiveDataCallBack(back VoidHandler)
- func (m MLNetworking) SetReceiveDataCallBackSync(ctx context.Context) error
- func (m MLNetworking) StartConnection()
- func (m MLNetworking) Stop()
- type MLNetworkingClass
- type MLRemoteConnection
- func (m MLRemoteConnection) Autorelease() MLRemoteConnection
- func (m MLRemoteConnection) Connection() objectivec.Object
- func (m MLRemoteConnection) DoReceiveContextIsCompleteError(receive objectivec.IObject, context objectivec.IObject, complete bool, ...)
- func (m MLRemoteConnection) Init() MLRemoteConnection
- func (m MLRemoteConnection) InitWithOptions(options objectivec.IObject) MLRemoteConnection
- func (m MLRemoteConnection) JobCount() uint64
- func (m MLRemoteConnection) LoadFromURLOptionsError(url foundation.INSURL, options objectivec.IObject) (bool, error)
- func (m MLRemoteConnection) NwObj() *MLNetworking
- func (m MLRemoteConnection) NwOptions() *MLNetworkOptions
- func (m MLRemoteConnection) OutputResult() foundation.NSMutableData
- func (m MLRemoteConnection) Packet() *MLNetworkPacket
- func (m MLRemoteConnection) PredictionFromURLFeaturesOutputOptionsError(url foundation.INSURL, features objectivec.IObject, output objectivec.IObject, ...) (bool, error)
- func (m MLRemoteConnection) Q() objectivec.Object
- func (m MLRemoteConnection) Semaphore() objectivec.Object
- func (m MLRemoteConnection) SendDataAndWaitForAcknowledgementOrTimeout(timeout objectivec.IObject) bool
- func (m MLRemoteConnection) SendOptions(send objectivec.IObject, options objectivec.IObject)
- func (m MLRemoteConnection) SetOutputResult(value foundation.NSMutableData)
- func (m MLRemoteConnection) UnloadFromURLOptionsError(url foundation.INSURL, options objectivec.IObject) (bool, error)
- type MLRemoteConnectionClass
- type MLRemoteCoreMLErrors
- type MLRemoteCoreMLErrorsClass
- func (mc MLRemoteCoreMLErrorsClass) Alloc() MLRemoteCoreMLErrors
- func (mc MLRemoteCoreMLErrorsClass) Class() objc.Class
- func (_MLRemoteCoreMLErrorsClass MLRemoteCoreMLErrorsClass) ClientTimeoutErrorForMethod(method objectivec.IObject) objectivec.IObject
- func (_MLRemoteCoreMLErrorsClass MLRemoteCoreMLErrorsClass) CreateErrorWithCodeDescription(code int64, description objectivec.IObject) objectivec.IObject
- type MLServer
- func (m MLServer) Autorelease() MLServer
- func (m MLServer) DoReceiveContextIsCompleteError(receive objectivec.IObject, context objectivec.IObject, complete bool, ...)
- func (m MLServer) Init() MLServer
- func (m MLServer) InitWithOptions(options objectivec.IObject) MLServer
- func (m MLServer) NwObj() *MLNetworking
- func (m MLServer) NwOptions() *MLNetworkOptions
- func (m MLServer) Packet() *MLNetworkPacket
- func (m MLServer) Q() objectivec.Object
- func (m MLServer) SetLoadCommand(command VoidHandler)
- func (m MLServer) SetLoadCommandSync(ctx context.Context) error
- func (m MLServer) SetLoadFunction(function VoidHandler)
- func (m MLServer) SetLoadFunctionSync(ctx context.Context) error
- func (m MLServer) SetPredictCommand(command VoidHandler)
- func (m MLServer) SetPredictCommandSync(ctx context.Context) error
- func (m MLServer) SetPredictFunction(function VoidHandler)
- func (m MLServer) SetPredictFunctionSync(ctx context.Context) error
- func (m MLServer) SetTextCommand(command VoidHandler)
- func (m MLServer) SetTextCommandSync(ctx context.Context) error
- func (m MLServer) SetTextFunction(function VoidHandler)
- func (m MLServer) SetTextFunctionSync(ctx context.Context) error
- func (m MLServer) SetUnLoadCommand(command VoidHandler)
- func (m MLServer) SetUnLoadCommandSync(ctx context.Context) error
- func (m MLServer) SetUnLoadFunction(function VoidHandler)
- func (m MLServer) SetUnLoadFunctionSync(ctx context.Context) error
- func (m MLServer) Start()
- func (m MLServer) Stop()
- type MLServerClass
- type VoidHandler
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:
- [MLNetworkUtilities.CreateSecureConnectionParameterUseUDP]
- MLNetworking.ReceiveLoop
- MLNetworking.SetListenerReceiveDataCallBack
- MLNetworking.SetReceiveDataCallBack
- MLServer.SetLoadCommand
- MLServer.SetLoadFunction
- MLServer.SetPredictCommand
- MLServer.SetPredictFunction
- MLServer.SetTextCommand
- MLServer.SetTextFunction
- MLServer.SetUnLoadCommand
- MLServer.SetUnLoadFunction
Types ¶
type CoreMLModelSecurityServiceToClient ¶
type CoreMLModelSecurityServiceToClient struct {
objectivec.Object
}
Methods ¶
- CoreMLModelSecurityServiceToClient.ClientFeatureNamesWithReply
- CoreMLModelSecurityServiceToClient.ClientFeatureValueForNameUniqueKeyForProviderWithReply
- CoreMLModelSecurityServiceToClient.FeatureProviderCount
- CoreMLModelSecurityServiceToClient.SetFeatureProviderCount
- CoreMLModelSecurityServiceToClient.FeatureProviderMap
- CoreMLModelSecurityServiceToClient.SetFeatureProviderMap
- CoreMLModelSecurityServiceToClient.ServiceToClientQueue
- CoreMLModelSecurityServiceToClient.SetServiceToClientQueue
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 ¶
func (c CoreMLModelSecurityServiceToClient) Autorelease() CoreMLModelSecurityServiceToClient
Autorelease adds the receiver to the current autorelease pool.
func (CoreMLModelSecurityServiceToClient) ClientFeatureNamesWithReply ¶
func (c CoreMLModelSecurityServiceToClient) ClientFeatureNamesWithReply(names objectivec.IObject, reply objectivec.IObject)
func (CoreMLModelSecurityServiceToClient) ClientFeatureValueForNameUniqueKeyForProviderWithReply ¶
func (c CoreMLModelSecurityServiceToClient) ClientFeatureValueForNameUniqueKeyForProviderWithReply(name objectivec.IObject, provider objectivec.IObject, reply objectivec.IObject)
func (CoreMLModelSecurityServiceToClient) FeatureProviderCount ¶
func (c CoreMLModelSecurityServiceToClient) FeatureProviderCount() foundation.INSCountedSet
func (CoreMLModelSecurityServiceToClient) FeatureProviderMap ¶
func (c CoreMLModelSecurityServiceToClient) FeatureProviderMap() foundation.INSDictionary
func (CoreMLModelSecurityServiceToClient) Init ¶
func (c CoreMLModelSecurityServiceToClient) Init() CoreMLModelSecurityServiceToClient
Init initializes the instance.
func (CoreMLModelSecurityServiceToClient) ServiceToClientQueue ¶
func (c CoreMLModelSecurityServiceToClient) ServiceToClientQueue() objectivec.Object
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 ¶
func (cc CoreMLModelSecurityServiceToClientClass) Alloc() CoreMLModelSecurityServiceToClient
Alloc allocates memory for a new instance of the class.
func (CoreMLModelSecurityServiceToClientClass) Class ¶ added in v0.5.0
func (cc CoreMLModelSecurityServiceToClientClass) Class() objc.Class
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) FrameworkVersionNumber ¶
func (c CoreMLVersion) FrameworkVersionNumber() foundation.NSNumber
See: https://developer.apple.com/documentation/RemoteCoreML/CoreMLVersion/frameworkVersionNumber
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.
func (CoreMLVersionClass) GetInternalFrameworkVersion ¶
func (_CoreMLVersionClass CoreMLVersionClass) GetInternalFrameworkVersion() objectivec.IObject
See: https://developer.apple.com/documentation/RemoteCoreML/CoreMLVersion/getInternalFrameworkVersion
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
MLLogFromID constructs a MLLog from an objc.ID.
func (MLLog) Autorelease ¶ added in v0.5.0
Autorelease adds the receiver to the current autorelease pool.
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
func (m MLNetworkHeaderEncoding) Autorelease() MLNetworkHeaderEncoding
Autorelease adds the receiver to the current autorelease pool.
func (MLNetworkHeaderEncoding) Init ¶ added in v0.5.0
func (m MLNetworkHeaderEncoding) Init() MLNetworkHeaderEncoding
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
func (MLNetworkHeaderEncodingClass) Alloc ¶ added in v0.5.0
func (mc MLNetworkHeaderEncodingClass) Alloc() MLNetworkHeaderEncoding
Alloc allocates memory for a new instance of the class.
func (MLNetworkHeaderEncodingClass) Class ¶ added in v0.5.0
func (mc MLNetworkHeaderEncodingClass) Class() objc.Class
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
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
func (MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeSucessData ¶ added in v0.5.0
func (_MLNetworkHeaderEncodingClass MLNetworkHeaderEncodingClass) IsHeaderAcknowledgeSucessData(data uint64) bool
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
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 ¶
- MLNetworkOptions.Family
- MLNetworkOptions.LocalAddr
- MLNetworkOptions.LocalPort
- MLNetworkOptions.NetworkNameIdentifier
- MLNetworkOptions.NetworkOptions
- MLNetworkOptions.Port
- MLNetworkOptions.Psk
- MLNetworkOptions.ReceiveTimeout
- MLNetworkOptions.ReceiveTimeoutValue
- MLNetworkOptions.UseAWDL
- MLNetworkOptions.UseBonjour
- MLNetworkOptions.UseTLS
- MLNetworkOptions.UseUDP
- MLNetworkOptions.InitWithOptions
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 NewMLNetworkOptionsWithOptions ¶ added in v0.5.0
func NewMLNetworkOptionsWithOptions(options objectivec.IObject) MLNetworkOptions
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/initWithOptions:
func (MLNetworkOptions) Autorelease ¶ added in v0.5.0
func (m MLNetworkOptions) Autorelease() MLNetworkOptions
Autorelease adds the receiver to the current autorelease pool.
func (MLNetworkOptions) Family ¶ added in v0.5.0
func (m MLNetworkOptions) Family() uint64
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/family
func (MLNetworkOptions) Init ¶ added in v0.5.0
func (m MLNetworkOptions) Init() MLNetworkOptions
Init initializes the instance.
func (MLNetworkOptions) InitWithOptions ¶ added in v0.5.0
func (m MLNetworkOptions) InitWithOptions(options objectivec.IObject) MLNetworkOptions
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/initWithOptions:
func (MLNetworkOptions) LocalAddr ¶ added in v0.5.0
func (m MLNetworkOptions) LocalAddr() string
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/localAddr
func (MLNetworkOptions) LocalPort ¶ added in v0.5.0
func (m MLNetworkOptions) LocalPort() string
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/localPort
func (MLNetworkOptions) NetworkNameIdentifier ¶ added in v0.5.0
func (m MLNetworkOptions) NetworkNameIdentifier() string
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/networkNameIdentifier
func (MLNetworkOptions) NetworkOptions ¶ added in v0.5.0
func (m MLNetworkOptions) NetworkOptions() foundation.INSDictionary
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/networkOptions
func (MLNetworkOptions) Port ¶ added in v0.5.0
func (m MLNetworkOptions) Port() string
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/port
func (MLNetworkOptions) Psk ¶ added in v0.5.0
func (m MLNetworkOptions) Psk() string
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/psk
func (MLNetworkOptions) ReceiveTimeout ¶ added in v0.5.0
func (m MLNetworkOptions) ReceiveTimeout() int64
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/receiveTimeout
func (MLNetworkOptions) ReceiveTimeoutValue ¶ added in v0.5.0
func (m MLNetworkOptions) ReceiveTimeoutValue() int64
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/receiveTimeoutValue
func (MLNetworkOptions) UseAWDL ¶ added in v0.5.0
func (m MLNetworkOptions) UseAWDL() bool
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/useAWDL
func (MLNetworkOptions) UseBonjour ¶ added in v0.5.0
func (m MLNetworkOptions) UseBonjour() bool
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/useBonjour
func (MLNetworkOptions) UseTLS ¶ added in v0.5.0
func (m MLNetworkOptions) UseTLS() bool
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/useTLS
func (MLNetworkOptions) UseUDP ¶ added in v0.5.0
func (m MLNetworkOptions) UseUDP() bool
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkOptions/useUDP
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
func (mc MLNetworkOptionsClass) Alloc() MLNetworkOptions
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 ¶
- MLNetworkPacket.Buffer
- MLNetworkPacket.SetBuffer
- MLNetworkPacket.CleanupDoubleBuffer
- MLNetworkPacket.Command
- MLNetworkPacket.SetCommand
- MLNetworkPacket.DoubleBuffer
- MLNetworkPacket.SetDoubleBuffer
- MLNetworkPacket.Reset
- MLNetworkPacket.ResetDoubleBuffer
- MLNetworkPacket.ResetMetadata
- MLNetworkPacket.SizeOfPacket
- MLNetworkPacket.SetSizeOfPacket
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) Buffer ¶ added in v0.5.0
func (m MLNetworkPacket) Buffer() foundation.NSMutableData
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/buffer
func (MLNetworkPacket) CleanupDoubleBuffer ¶ added in v0.5.0
func (m MLNetworkPacket) CleanupDoubleBuffer()
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/cleanupDoubleBuffer
func (MLNetworkPacket) Command ¶ added in v0.5.0
func (m MLNetworkPacket) Command() uint64
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/command
func (MLNetworkPacket) DoubleBuffer ¶ added in v0.5.0
func (m MLNetworkPacket) DoubleBuffer() foundation.NSMutableData
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/doubleBuffer
func (MLNetworkPacket) Init ¶ added in v0.5.0
func (m MLNetworkPacket) Init() MLNetworkPacket
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) ResetDoubleBuffer ¶ added in v0.5.0
func (m MLNetworkPacket) ResetDoubleBuffer()
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/resetDoubleBuffer
func (MLNetworkPacket) ResetMetadata ¶ added in v0.5.0
func (m MLNetworkPacket) ResetMetadata()
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/resetMetadata
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)
func (MLNetworkPacket) SizeOfPacket ¶ added in v0.5.0
func (m MLNetworkPacket) SizeOfPacket() uint64
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworkPacket/sizeOfPacket
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
func (mc MLNetworkPacketClass) Alloc() MLNetworkPacket
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
func (m MLNetworkUtilities) Init() MLNetworkUtilities
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
func (mc MLNetworkUtilitiesClass) Alloc() MLNetworkUtilities
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)
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
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)
func (MLNetworkUtilitiesClass) SetupListenerStateChangeHandlerUseUDP ¶ added in v0.5.0
func (_MLNetworkUtilitiesClass MLNetworkUtilitiesClass) SetupListenerStateChangeHandlerUseUDP(handler ErrorHandler, udp bool)
type MLNetworking ¶ added in v0.5.0
type MLNetworking struct {
objectivec.Object
}
Methods ¶
- MLNetworking.Connection
- MLNetworking.SetConnection
- MLNetworking.IsClient
- MLNetworking.Listener
- MLNetworking.LogType
- MLNetworking.NwOptions
- MLNetworking.Parameters
- MLNetworking.Protocol_stack
- MLNetworking.Q
- MLNetworking.ReceiveLoop
- MLNetworking.RestartConnection
- MLNetworking.SendData
- MLNetworking.SetListenerReceiveDataCallBack
- MLNetworking.SetReceiveDataCallBack
- MLNetworking.StartConnection
- MLNetworking.Stop
- MLNetworking.InitConnection
- MLNetworking.InitListener
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 NewMLNetworkingConnection ¶ added in v0.5.0
func NewMLNetworkingConnection(connection objectivec.IObject) MLNetworking
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/initConnection:
func NewMLNetworkingListener ¶ added in v0.5.0
func NewMLNetworkingListener(listener objectivec.IObject) MLNetworking
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/initListener:
func (MLNetworking) Autorelease ¶ added in v0.5.0
func (m MLNetworking) Autorelease() MLNetworking
Autorelease adds the receiver to the current autorelease pool.
func (MLNetworking) Connection ¶ added in v0.5.0
func (m MLNetworking) Connection() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/connection
func (MLNetworking) Init ¶ added in v0.5.0
func (m MLNetworking) Init() MLNetworking
Init initializes the instance.
func (MLNetworking) InitConnection ¶ added in v0.5.0
func (m MLNetworking) InitConnection(connection objectivec.IObject) MLNetworking
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/initConnection:
func (MLNetworking) InitListener ¶ added in v0.5.0
func (m MLNetworking) InitListener(listener objectivec.IObject) MLNetworking
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/initListener:
func (MLNetworking) IsClient ¶ added in v0.5.0
func (m MLNetworking) IsClient() bool
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/isClient
func (MLNetworking) Listener ¶ added in v0.5.0
func (m MLNetworking) Listener() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/listener
func (MLNetworking) LogType ¶ added in v0.5.0
func (m MLNetworking) LogType() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/logType
func (MLNetworking) NwOptions ¶ added in v0.5.0
func (m MLNetworking) NwOptions() *MLNetworkOptions
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/nwOptions
func (MLNetworking) Parameters ¶ added in v0.5.0
func (m MLNetworking) Parameters() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/parameters
func (MLNetworking) Protocol_stack ¶ added in v0.5.0
func (m MLNetworking) Protocol_stack() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/protocol_stack
func (MLNetworking) Q ¶ added in v0.5.0
func (m MLNetworking) Q() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/q
func (MLNetworking) ReceiveLoop ¶ added in v0.5.0
func (m MLNetworking) ReceiveLoop(loop VoidHandler)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/receiveLoop:
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) RestartConnection ¶ added in v0.5.0
func (m MLNetworking) RestartConnection()
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/restartConnection
func (MLNetworking) SendData ¶ added in v0.5.0
func (m MLNetworking) SendData(data objectivec.IObject)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/sendData:
func (MLNetworking) SetConnection ¶ added in v0.5.0
func (m MLNetworking) SetConnection(value objectivec.Object)
func (MLNetworking) SetListenerReceiveDataCallBack ¶ added in v0.5.0
func (m MLNetworking) SetListenerReceiveDataCallBack(back VoidHandler)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/setListenerReceiveDataCallBack:
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) SetReceiveDataCallBack ¶ added in v0.5.0
func (m MLNetworking) SetReceiveDataCallBack(back VoidHandler)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/setReceiveDataCallBack:
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) StartConnection ¶ added in v0.5.0
func (m MLNetworking) StartConnection()
See: https://developer.apple.com/documentation/RemoteCoreML/_MLNetworking/startConnection
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 ¶
- MLRemoteConnection.Connection
- MLRemoteConnection.DoReceiveContextIsCompleteError
- MLRemoteConnection.JobCount
- MLRemoteConnection.LoadFromURLOptionsError
- MLRemoteConnection.NwObj
- MLRemoteConnection.NwOptions
- MLRemoteConnection.OutputResult
- MLRemoteConnection.SetOutputResult
- MLRemoteConnection.Packet
- MLRemoteConnection.PredictionFromURLFeaturesOutputOptionsError
- MLRemoteConnection.Q
- MLRemoteConnection.Semaphore
- MLRemoteConnection.SendOptions
- MLRemoteConnection.SendDataAndWaitForAcknowledgementOrTimeout
- MLRemoteConnection.UnloadFromURLOptionsError
- MLRemoteConnection.InitWithOptions
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 NewMLRemoteConnectionWithOptions ¶ added in v0.5.0
func NewMLRemoteConnectionWithOptions(options objectivec.IObject) MLRemoteConnection
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/initWithOptions:
func (MLRemoteConnection) Autorelease ¶ added in v0.5.0
func (m MLRemoteConnection) Autorelease() MLRemoteConnection
Autorelease adds the receiver to the current autorelease pool.
func (MLRemoteConnection) Connection ¶ added in v0.5.0
func (m MLRemoteConnection) Connection() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/connection
func (MLRemoteConnection) DoReceiveContextIsCompleteError ¶ added in v0.5.0
func (m MLRemoteConnection) DoReceiveContextIsCompleteError(receive objectivec.IObject, context objectivec.IObject, complete bool, error_ objectivec.IObject)
func (MLRemoteConnection) Init ¶ added in v0.5.0
func (m MLRemoteConnection) Init() MLRemoteConnection
Init initializes the instance.
func (MLRemoteConnection) InitWithOptions ¶ added in v0.5.0
func (m MLRemoteConnection) InitWithOptions(options objectivec.IObject) MLRemoteConnection
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/initWithOptions:
func (MLRemoteConnection) JobCount ¶ added in v0.5.0
func (m MLRemoteConnection) JobCount() uint64
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/jobCount
func (MLRemoteConnection) LoadFromURLOptionsError ¶ added in v0.5.0
func (m MLRemoteConnection) LoadFromURLOptionsError(url foundation.INSURL, options objectivec.IObject) (bool, error)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/loadFromURL:options:error:
func (MLRemoteConnection) NwObj ¶ added in v0.5.0
func (m MLRemoteConnection) NwObj() *MLNetworking
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/nwObj
func (MLRemoteConnection) NwOptions ¶ added in v0.5.0
func (m MLRemoteConnection) NwOptions() *MLNetworkOptions
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/nwOptions
func (MLRemoteConnection) OutputResult ¶ added in v0.5.0
func (m MLRemoteConnection) OutputResult() foundation.NSMutableData
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/outputResult
func (MLRemoteConnection) Packet ¶ added in v0.5.0
func (m MLRemoteConnection) Packet() *MLNetworkPacket
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/packet
func (MLRemoteConnection) PredictionFromURLFeaturesOutputOptionsError ¶ added in v0.5.0
func (m MLRemoteConnection) PredictionFromURLFeaturesOutputOptionsError(url foundation.INSURL, features objectivec.IObject, output objectivec.IObject, options objectivec.IObject) (bool, error)
func (MLRemoteConnection) Q ¶ added in v0.5.0
func (m MLRemoteConnection) Q() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/q
func (MLRemoteConnection) Semaphore ¶ added in v0.5.0
func (m MLRemoteConnection) Semaphore() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/semaphore
func (MLRemoteConnection) SendDataAndWaitForAcknowledgementOrTimeout ¶ added in v0.5.0
func (m MLRemoteConnection) SendDataAndWaitForAcknowledgementOrTimeout(timeout objectivec.IObject) bool
func (MLRemoteConnection) SendOptions ¶ added in v0.5.0
func (m MLRemoteConnection) SendOptions(send objectivec.IObject, options objectivec.IObject)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLRemoteConnection/send:options:
func (MLRemoteConnection) SetOutputResult ¶ added in v0.5.0
func (m MLRemoteConnection) SetOutputResult(value foundation.NSMutableData)
func (MLRemoteConnection) UnloadFromURLOptionsError ¶ added in v0.5.0
func (m MLRemoteConnection) UnloadFromURLOptionsError(url foundation.INSURL, options objectivec.IObject) (bool, error)
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
func (mc MLRemoteConnectionClass) Alloc() MLRemoteConnection
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
func (m MLRemoteCoreMLErrors) Autorelease() MLRemoteCoreMLErrors
Autorelease adds the receiver to the current autorelease pool.
func (MLRemoteCoreMLErrors) Init ¶ added in v0.5.0
func (m MLRemoteCoreMLErrors) Init() MLRemoteCoreMLErrors
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
func (mc MLRemoteCoreMLErrorsClass) Alloc() MLRemoteCoreMLErrors
Alloc allocates memory for a new instance of the class.
func (MLRemoteCoreMLErrorsClass) Class ¶ added in v0.5.0
func (mc MLRemoteCoreMLErrorsClass) Class() objc.Class
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
func (MLRemoteCoreMLErrorsClass) CreateErrorWithCodeDescription ¶ added in v0.5.0
func (_MLRemoteCoreMLErrorsClass MLRemoteCoreMLErrorsClass) CreateErrorWithCodeDescription(code int64, description objectivec.IObject) objectivec.IObject
type MLServer ¶ added in v0.5.0
type MLServer struct {
objectivec.Object
}
Methods ¶
- MLServer.DoReceiveContextIsCompleteError
- MLServer.NwObj
- MLServer.NwOptions
- MLServer.Packet
- MLServer.Q
- MLServer.SetLoadCommand
- MLServer.SetLoadFunction
- MLServer.SetPredictCommand
- MLServer.SetPredictFunction
- MLServer.SetTextCommand
- MLServer.SetTextFunction
- MLServer.SetUnLoadCommand
- MLServer.SetUnLoadFunction
- MLServer.Start
- MLServer.Stop
- MLServer.InitWithOptions
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer
func MLServerFromID ¶ added in v0.5.0
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 NewMLServerWithOptions ¶ added in v0.5.0
func NewMLServerWithOptions(options objectivec.IObject) MLServer
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/initWithOptions:
func (MLServer) Autorelease ¶ added in v0.5.0
Autorelease adds the receiver to the current autorelease pool.
func (MLServer) DoReceiveContextIsCompleteError ¶ added in v0.5.0
func (m MLServer) DoReceiveContextIsCompleteError(receive objectivec.IObject, context objectivec.IObject, complete bool, error_ objectivec.IObject)
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/doReceive:context:isComplete:error:
func (MLServer) InitWithOptions ¶ added in v0.5.0
func (m MLServer) InitWithOptions(options objectivec.IObject) MLServer
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/initWithOptions:
func (MLServer) NwObj ¶ added in v0.5.0
func (m MLServer) NwObj() *MLNetworking
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/nwObj
func (MLServer) NwOptions ¶ added in v0.5.0
func (m MLServer) NwOptions() *MLNetworkOptions
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/nwOptions
func (MLServer) Packet ¶ added in v0.5.0
func (m MLServer) Packet() *MLNetworkPacket
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/packet
func (MLServer) Q ¶ added in v0.5.0
func (m MLServer) Q() objectivec.Object
See: https://developer.apple.com/documentation/RemoteCoreML/_MLServer/q
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
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
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
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
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
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
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
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
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.
type VoidHandler ¶ added in v0.5.0
type VoidHandler = func()
VoidHandler is the signature for a completion handler block.
Used by:
- [MLNetworkUtilities.CreateSecureConnectionParameterUseUDP]
- MLNetworking.ReceiveLoop
- MLNetworking.SetListenerReceiveDataCallBack
- MLNetworking.SetReceiveDataCallBack
- MLServer.SetLoadCommand
- MLServer.SetLoadFunction
- MLServer.SetPredictCommand
- MLServer.SetPredictFunction
- MLServer.SetTextCommand
- MLServer.SetTextFunction
- MLServer.SetUnLoadCommand
- MLServer.SetUnLoadFunction
Source Files
¶
- blocks.gen.go
- core_ml_model_security_service_to_client.gen.go
- core_ml_version.gen.go
- doc.gen.go
- functions.gen.go
- generate.go
- ml_log.gen.go
- ml_network_header_encoding.gen.go
- ml_network_options.gen.go
- ml_network_packet.gen.go
- ml_network_utilities.gen.go
- ml_networking.gen.go
- ml_remote_connection.gen.go
- ml_remote_core_ml_errors.gen.go
- ml_server.gen.go
- types.gen.go
- undefined_types.gen.go