MLKitCommon Framework Reference

  • MLKCustomRemoteModel is a model that is stored on a remote server and downloaded to the device when needed.

  • It can be initialized using initWithRemoteModelSource: providing a MLKRemoteModelSource object.

  • The default init method is unavailable for this class.

MLKCustomRemoteModel


@interface MLKCustomRemoteModel : MLKRemoteModel

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

    Objective-C

    - (nonnull instancetype)initWithRemoteModelSource:
        (nonnull MLKRemoteModelSource *)remoteModelSource;

    Parameters

    remoteModelSource

    The source of the custom remote model.

    Return Value

    A new CustomRemoteModel instance.

  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;