PCFile

Version 1.8 - Updated on 02/14/2017

Superclass: PCResourceItem
Declared In: PCFile.h

Contents

Introduction

This class stores the metadata information of a file.

Methods

initWithDBResourceID

- (id)initWithDBResourceID:(NSManagedObjectID *)managedObjectID;
  • Discussion
    Call this methods to create a PCFile using a managedObjectID. managedObjectID is mapped with coredata object and a PCResource is created out of the values copied from the coredata object.

Properties

creationDate

@property (nonatomic,
    readonly,
    strong) NSDate *creationDate; 
  • Discussion
    The date, in UTC format, when the file was created on the client system. For example, if a desktop client uploads a photo originally taken on a camera, Cre-ation-Date will differ from Capture-Date, while on a camera phone the two attributes are likely to match.

file

@property (nonatomic,
    readonly,
    strong) NSNumber *file; 
  • Discussion
    If true, the resource is a file.

locationCountry

@property (nonatomic,
    readonly,
    copy) NSString *locationCountry; 
  • Discussion
    The country.

locationLocality

@property (nonatomic,
    readonly,
    copy) NSString *locationLocality;
  • Discussion
    The city, town, village, or general locality.

mimeType

@property (nonatomic,
    readonly,
    copy) NSString *mimeType; 
  • Discussion
    Specifies the content type of the file.

timelineDate

@property (nonatomic,
    readonly,
    strong) NSDate *timelineDate; 
  • Discussion
    Specifies where a media file should appear in a time-line view on a client application.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.