ActivityData

public final class ActivityData

Class packages information used to display UI blocker.

  • Create information package used to display UI blocker.

    Appropriate NVActivityIndicatorView.DEFAULT_* values are used for omitted params.

    Declaration

    Swift

    public init(size: CGSize? = nil,
                message: String? = nil,
                messageFont: UIFont? = nil,
                messageSpacing: CGFloat? = nil,
                type: NVActivityIndicatorType? = nil,
                color: UIColor? = nil,
                padding: CGFloat? = nil,
                displayTimeThreshold: Int? = nil,
                minimumDisplayTime: Int? = nil,
                backgroundColor: UIColor? = nil,
                textColor: UIColor? = nil)

    Parameters

    size

    size of activity indicator view.

    message

    message displayed under activity indicator view.

    messageFont

    font of message displayed under activity indicator view.

    messageSpacing

    message spacing to activity indicator view.

    type

    animation type.

    color

    color of activity indicator view.

    padding

    padding of activity indicator view.

    displayTimeThreshold

    display time threshold to actually display UI blocker.

    minimumDisplayTime

    minimum display time of UI blocker.

    textColor

    color of the text below the activity indicator view. Will match color parameter if not set, otherwise DEFAULT_TEXT_COLOR if color is not set.

    Return Value

    The information package used to display UI blocker.