MLKitCommon Framework Reference

  • CustomRemoteModel is a class representing a custom model stored on a server and downloaded for local use.

  • It can be initialized with a MLKRemoteModelSource to specify the model's remote location.

  • Default initialization for CustomRemoteModel is unavailable.

CustomRemoteModel

class CustomRemoteModel : RemoteModel

A custom model that is stored remotely on the server and downloaded to the device.

  • Creates a new instance with the given remote model source.

    Declaration

    Swift

    init(remoteModelSource: MLKRemoteModelSource)

    Parameters

    remoteModelSource

    The source of the custom remote model.

    Return Value

    A new CustomRemoteModel instance.

  • Unavailable.