Package apple.coreml

Class MLModelCollection

  • All Implemented Interfaces:
    NSObject

    public class MLModelCollection
    extends NSObject
    MLModelCollection A collection of models managed as part of Core ML Model Deployment.
    • Constructor Detail

      • MLModelCollection

        protected MLModelCollection​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • beginAccessingModelCollectionWithIdentifierCompletionHandler

        public static NSProgress beginAccessingModelCollectionWithIdentifierCompletionHandler​(java.lang.String identifier,
                                                                                              MLModelCollection.Block_beginAccessingModelCollectionWithIdentifierCompletionHandler completionHandler)
        Request access to a model collection. If the collection is not downloaded on the device, it is requested from Core ML Model Deployment. When called, this method downloads the model collection if it is not already on the device. Once all models are downloaded, an MLModelCollection instance is made available for use with the completion handler.
        Parameters:
        identifier - The model collection identifier, as managed in Core ML Model Deployment.
        completionHandler - The completion handler, invoked with a valid MLModelCollection instance on success or NSError on failure.
        Returns:
        NSProgress for updates during setup and download of the model collection
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • deploymentID

        public java.lang.String deploymentID()
        The identifier for the currently downloaded deployment, corresponding to a recent deployment on the Core ML Model Deployment dashboard.
      • description_static

        public static java.lang.String description_static()
      • endAccessingModelCollectionWithIdentifierCompletionHandler

        public static void endAccessingModelCollectionWithIdentifierCompletionHandler​(java.lang.String identifier,
                                                                                      MLModelCollection.Block_endAccessingModelCollectionWithIdentifierCompletionHandler completionHandler)
        End access to a model collection. This informs the system you have finished accessing the models within the collection. Call this method as soon as you have finished using the models in this collection.
        Parameters:
        identifier - The model collection identifier, as managed in Core ML Model Deployment.
        completionHandler - The completion handler, invoked with YES on success or NSError on failure.
      • entries

        public NSDictionary<java.lang.String,​? extends MLModelCollectionEntry> entries()
        Information about the models downloaded in the collection, or an empty dictionary if the collection has not been downloaded.
      • hash_static

        public static long hash_static()
      • identifier

        public java.lang.String identifier()
        The identifier of the model collection you want to access, as configured in the Core ML Model Deployment dashboard.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()