PyzeSocial

@interface PyzeSocial : PyzeCustomEvent

PyzeSocial

Subclass of PyzeCustomEvent class used post details of the events related to Social media.

Since

v1.0.0
  • Post detials of social content shared.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)
    postSocialContentShareForNetworkName:(nonnull NSString *)socialNetworkName
                     forContentReference:(nonnull NSString *)contentReference
                                category:(nonnull NSString *)category
                          withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postContentShare(forNetworkName socialNetworkName: String, forContentReference contentReference: String, category: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    socialNetworkName

    Social network name FB/G+/t

    contentReference

    Content reference URL string shared.

    category

    Category of the content.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post detials of the Social content liked.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postLiked:(nonnull NSString *)socialNetworkName
        forContentReference:(nonnull NSString *)contentReference
                   category:(nonnull NSString *)category
             withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postLiked(_ socialNetworkName: String, forContentReference contentReference: String, category: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    socialNetworkName

    Social network name FB/t/G+

    contentReference

    Content reference URL shared.

    category

    Catefory of the content.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of the social content followed

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postFollowed:(nonnull NSString *)socialNetworkName
        forContentReference:(nonnull NSString *)contentReference
                   category:(nonnull NSString *)category
             withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postFollowed(_ socialNetworkName: String, forContentReference contentReference: String, category: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    socialNetworkName

    Social network name FB/t/G+.

    contentReference

    Content reference.

    category

    Category identifier of the Content.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of the conten subscribed.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postSubscribed:(nonnull NSString *)socialNetworkName
        forContentReference:(nonnull NSString *)contentReference
                   category:(nonnull NSString *)category
             withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postSubscribed(_ socialNetworkName: String, forContentReference contentReference: String, category: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    socialNetworkName

    Social network name FB/t/G+

    contentReference

    Content reference.

    category

    Category identifier of the content.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of friend invite.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postInvitedFriend:(nonnull NSString *)socialNetworkName
               withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postInvitedFriend(_ socialNetworkName: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    socialNetworkName

    Social network name FB/t/G+

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of friend search.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postFoundFriends:(nonnull NSString *)source
              withAtrributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postFoundFriends(_ source: String, withAtrributes attributes: [AnyHashable : Any])

    Parameters

    source

    Source where content searched.

    attributes

    Additional custom attributes app would like to share with server.