Class LPMetadataProvider

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class LPMetadataProvider
extends NSObject
Since:
Available in iOS 13.0 and later.
  • Constructor Details

    • LPMetadataProvider

      public LPMetadataProvider()
    • LPMetadataProvider

      protected LPMetadataProvider​(NSObject.Handle h, long handle)
    • LPMetadataProvider

      protected LPMetadataProvider​(NSObject.SkipInit skipInit)
  • Method Details

    • shouldFetchSubresources

      public boolean shouldFetchSubresources()
    • setShouldFetchSubresources

      public void setShouldFetchSubresources​(boolean v)
    • getTimeout

      public double getTimeout()
    • setTimeout

      public void setTimeout​(double v)
    • startFetchingMetadata

      public void startFetchingMetadata​(NSURL URL, VoidBlock2<LPLinkMetadata,​NSError> completionHandler)
    • startFetchingMetadata

      public void startFetchingMetadata​(NSURLRequest request, VoidBlock2<LPLinkMetadata,​NSError> completionHandler)
      Since:
      Available in iOS 15.0 and later.
    • cancel

      public void cancel()