CPDFSoundAnnotation.h 862 B

12345678910111213141516171819202122232425
  1. //
  2. // CPDFSoundAnnotation.h
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <ComPDFKit/CPDFAnnotation.h>
  13. /**
  14. * A CPDFSoundAnnotation object shall analogous to a text annotation except that instead of a text note, it contains sound recorded from the computer’s microphone or imported from a file.
  15. */
  16. @interface CPDFSoundAnnotation : CPDFAnnotation
  17. @property (nonatomic,assign) BOOL isPlaying;
  18. - (NSString *)mediaPath;
  19. - (BOOL)setMediaPath:(NSString *)path;
  20. @end