RRAbstractLargeObjectDataProvider

Objective-C

@interface RRAbstractLargeObjectDataProvider : NSObject

Swift

class RRAbstractLargeObjectDataProvider : NSObject

The abstract base class, used to provide Files to the PictofitCore framework.

  • This function returns a byte buffer for a given key

    Declaration

    Objective-C

    - (NSData *_Nullable)getByteBuffer:(nonnull NSString *)key
                      didFailWithError:(NSError *_Nullable *_Nullable)error;

    Swift

    func getByteBuffer(_ key: String) throws -> Data

    Parameters

    key

    A key identifying a specific File

    error

    An optional pointer to an NSError pointer. When this method fails, it will set an NSError instance to this pointer if provided.

    Return Value

    The byte buffer containing the file data. This method returns nil if an error occurs.