Swift SDK Version

AppEventName

publicenumAppEventName
Represents a name of the Facebook Analytics application event. Could either be one of built-in names or a custom String.
Seealso
AppEvent
Seealso
AppEventLoggable
  • Name of the event that indicates that the user has completed a registration.

    Declaration

    Swift
    casecompletedRegistration
  • Name of the event that indicates that the user has completed a tutorial.

    Declaration

    Swift
    casecompletedTutorial
  • Name of the event that indicates that the user has viewed a content.

    Declaration

    Swift
    caseviewedContent
  • Name of the event that indicates that the user has performed search within the application.

    Declaration

    Swift
    casesearched
  • Name of the event that indicates that the user has has rated an item in the app.

    Declaration

    Swift
    caserated
  • Name of the event that indicates that the user has purchased something in the application.

    Declaration

    Swift
    casepurchased
  • Name of the event that indicates that the user has added an item to the cart.

    Declaration

    Swift
    caseaddedToCart
  • Name of the event that indicates that the user has added an item to the wishlist.

    Declaration

    Swift
    caseaddedToWishlist
  • Name of the event that indicates that the user has added payment information.

    Declaration

    Swift
    caseaddedPaymentInfo
  • Name of the event that indicates that the user has initiated a checkout.

    Declaration

    Swift
    caseinitiatedCheckout
  • Custom name of the event that is represented by a string.

    Declaration

    Swift
    casecustom(String)
  • Create an AppEventName from String.

    Declaration

    Swift
    publicinit(_string:String)

    Parameters

    string
    String to create an app event name from.
  • Create an AppEventName from String.

    Declaration

    Swift
    publicinit?(rawValue:String)

    Parameters

    rawValue
    String to create an app event name from.
  • The corresponding String value.

    Declaration

    Swift
    publicvarrawValue:String{get}
  • The hash value.

    Declaration

    Swift
    publicvarhashValue:Int{get}
  • Compare two AppEventNames for equality.

    Declaration

    Swift
    publicstaticfunc==(lhs:AppEventName,rhs:AppEventName)->Bool

    Parameters

    lhs
    The first app event name to compare.
    rhs
    The second app event name to compare.

    Return Value

    Whether or not the app event names are equal.