PostActivityTarget
@objcMembers
@objc(GetSocialPostActivityTarget)
public final class PostActivityTarget : NSObject
Describe post activity target.
-
Target is a specific topic.
Declaration
Swift
@objc(topicWithId:) public static func topic(_ id: String) -> PostActivityTarget
Return Value
PostActivityTarget
instance. -
Target is current user’s timeline.
Declaration
Swift
@objc(timeline) public static func timeline() -> PostActivityTarget
Return Value
PostActivityTarget
instance. -
Target is a specific group.
Declaration
Swift
@objc(groupWithId:) public static func group(_ id: String) -> PostActivityTarget
Return Value
PostActivityTarget
instance. -
Target is a specific activity.
Declaration
Swift
public static func comment(to activityId: String) -> PostActivityTarget
Return Value
PostActivityTarget
instance. -
Target type.
Declaration
Swift
public func type() -> CommunitiesEntityType
Return Value
CommunityEntityType
instance. -
Target id.
Declaration
Swift
public func targetId() -> String
Return Value
Id of target.
-
Description.
Declaration
Swift
public override var description: String { get }