PSPDFLinkAnnotationType

Objective-C

NS_CLOSED_ENUM(UInt8, PSPDFLinkAnnotationType) {
    PSPDFLinkAnnotationPage = 0,
    PSPDFLinkAnnotationWebURL,
    PSPDFLinkAnnotationDocument,
    PSPDFLinkAnnotationVideo,
    /// This is a placeholder for both YouTube and Vimeo
    PSPDFLinkAnnotationYouTube,
    PSPDFLinkAnnotationAudio,
    PSPDFLinkAnnotationImage,
    PSPDFLinkAnnotationBrowser,
    /// Any annotation format that is not recognized is custom. (e.g. tel://)
    PSPDFLinkAnnotationCustom,
}

Swift

@frozen enum Kind : UInt8

Undocumented

  • Undocumented

    Declaration

    Objective-C

    PSPDFLinkAnnotationPage = 0

    Swift

    case page = 0
  • Undocumented

    Declaration

    Objective-C

    PSPDFLinkAnnotationWebURL

    Swift

    case webURL = 1
  • Undocumented

    Declaration

    Objective-C

    PSPDFLinkAnnotationDocument

    Swift

    case document = 2
  • Undocumented

    Declaration

    Objective-C

    PSPDFLinkAnnotationVideo

    Swift

    case video = 3
  • This is a placeholder for both YouTube and Vimeo

    Declaration

    Objective-C

    PSPDFLinkAnnotationYouTube

    Swift

    case youTube = 4
  • This is a placeholder for both YouTube and Vimeo

    Declaration

    Objective-C

    PSPDFLinkAnnotationAudio

    Swift

    case audio = 5
  • This is a placeholder for both YouTube and Vimeo

    Declaration

    Objective-C

    PSPDFLinkAnnotationImage

    Swift

    case image = 6
  • This is a placeholder for both YouTube and Vimeo

    Declaration

    Objective-C

    PSPDFLinkAnnotationBrowser

    Swift

    case browser = 7
  • Any annotation format that is not recognized is custom. (e.g. tel://)

    Declaration

    Objective-C

    PSPDFLinkAnnotationCustom

    Swift

    case custom = 8