DBTEAMLOGFedHandshakeAction
Objective-C
@interface DBTEAMLOGFedHandshakeAction : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGFedHandshakeAction : NSObject, DBSerializable, NSCopying
The FedHandshakeAction
union.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGFedHandshakeActionTag tag;
Swift
var tag: DBTEAMLOGFedHandshakeActionTag { get }
-
Initializes union class with tag state of “accepted_invite”.
Declaration
Objective-C
- (nonnull instancetype)initWithAcceptedInvite;
Swift
init(acceptedInvite: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “canceled_invite”.
Declaration
Objective-C
- (nonnull instancetype)initWithCanceledInvite;
Swift
init(canceledInvite: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “invite_expired”.
Declaration
Objective-C
- (nonnull instancetype)initWithInviteExpired;
Swift
init(inviteExpired: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “invited”.
Declaration
Objective-C
- (nonnull instancetype)initWithInvited;
Swift
init(invited: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “rejected_invite”.
Declaration
Objective-C
- (nonnull instancetype)initWithRejectedInvite;
Swift
init(rejectedInvite: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “removed_team”.
Declaration
Objective-C
- (nonnull instancetype)initWithRemovedTeam;
Swift
init(removedTeam: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “other”.
Declaration
Objective-C
- (nonnull instancetype)initWithOther;
Swift
init(other: ())
Return Value
An initialized instance.
-
Retrieves whether the union’s current tag state has value “accepted_invite”.
Declaration
Objective-C
- (BOOL)isAcceptedInvite;
Swift
func isAcceptedInvite() -> Bool
Return Value
Whether the union’s current tag state has value “accepted_invite”.
-
Retrieves whether the union’s current tag state has value “canceled_invite”.
Declaration
Objective-C
- (BOOL)isCanceledInvite;
Swift
func isCanceledInvite() -> Bool
Return Value
Whether the union’s current tag state has value “canceled_invite”.
-
Retrieves whether the union’s current tag state has value “invite_expired”.
Declaration
Objective-C
- (BOOL)isInviteExpired;
Swift
func isInviteExpired() -> Bool
Return Value
Whether the union’s current tag state has value “invite_expired”.
-
Retrieves whether the union’s current tag state has value “invited”.
Declaration
Objective-C
- (BOOL)isInvited;
Swift
func isInvited() -> Bool
Return Value
Whether the union’s current tag state has value “invited”.
-
Retrieves whether the union’s current tag state has value “rejected_invite”.
Declaration
Objective-C
- (BOOL)isRejectedInvite;
Swift
func isRejectedInvite() -> Bool
Return Value
Whether the union’s current tag state has value “rejected_invite”.
-
Retrieves whether the union’s current tag state has value “removed_team”.
Declaration
Objective-C
- (BOOL)isRemovedTeam;
Swift
func isRemovedTeam() -> Bool
Return Value
Whether the union’s current tag state has value “removed_team”.
-
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;
Swift
func isOther() -> Bool
Return Value
Whether the union’s current tag state has value “other”.
-
Retrieves string value of union’s current tag state.
Declaration
Objective-C
- (nonnull NSString *)tagName;
Swift
func tagName() -> String
Return Value
A human-readable string representing the union’s current tag state.