PCAudio

Version 1.5 - Updated on 10/20/2016

Superclass: PCFile
Declared In: PCAudio.h Introduction

Contents

 

 

Introduction

This class stores the metadata information of audio files.

Methods

initWithDBResourceID

- (id)initWithDBResourceID:(NSManagedObjectID *)managedObjectID;
  • Discussion
    Creates a PCAudio using a managedObjectID. managedObjectID is mapped with coredata object and a PCAudio is created out of the values copied from the coredata object.

Properties

album

@property (nonatomic, readonly, copy) NSString *album;
  • Discussion
    Maps to the ID3 album field for MP3 files.

artist

@property (nonatomic, readonly, copy) NSString *artist;
  • Discussion
    Maps to the ID3 artist field for MP3 files.

duration

@property (nonatomic, readonly, strong) NSNumber *duration;
  • Discussion
    The duration of an audio file.

genre

@property (nonatomic, readonly, copy) NSString *genre;
  • Discussion Maps to the ID3 genre field for MP3 files.

title

@property (nonatomic, readonly, copy) NSString *title;
  • Discussion
    Maps to the ID3 title field for MP3 files.

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