Enumerations

The following enumerations are available globally.

  • How the colors in the GIF should be computed.

    See more

    Declaration

    Objective-C

    enum MCLGIFColorTable {}

    Swift

    enum MCLGIFColorTable : Int32
  • What type of data should be prioritized when sharing

    See more

    Declaration

    Objective-C

    enum MCLSharingStrategy {}

    Swift

    enum MCLSharingStrategy : UInt
  • An overflow strategy determines how a recording will handle new frames when the total surpasses the configured MCLRecordingConfig.maxFrames.

    See more

    Declaration

    Objective-C

    enum MCLOverflowStrategy {}

    Swift

    enum MCLOverflowStrategy : UInt
  • Declaration

    Objective-C

    NS_OPTIONS(unsigned long, MCLFeature) {
        // clang-format off
        kMCLFeatureNone           = 0,
        kMCLFeatureGifs           = 1 << 0,
        kMCLFeatureAnalytics      = 1 << 1,
        kMCLFeatureGifUpload      = 1 << 2,
        kMCLFeatureGifPersistency = 1 << 3,
        kMCLFeatureShareNoCopyGif = 1 << 4,
        kMCLFeatureShareCopyLink  = 1 << 5,
        // clang-format on
    }

    Swift

    struct MCLFeature : OptionSet
  • How screen captures are performed.

    See more

    Declaration

    Objective-C

    enum MCLCaptureMethod {}

    Swift

    enum MCLCaptureMethod : UInt
  • Different states a share can be in. All shares start as sent, becomes clicked when it has had at least one link click, and then becomes either opened or installed.

    Note that the state only moves in one direction, towards the best outcome that has come from it. Thus a share that receives several link clicks where some lead to re-engagements (opened) and some to an install, once the first install happens the state will never change from installed.

    To keep more granualar track of how many installs or re-engagements a share has generated you need to listen to the {@link SentShareOpenedEvent} and keep count yourself.

    See more

    Declaration

    Objective-C

    enum MCLShareState {}

    Swift

    enum MCLShareState : Int