SCSDKUserDataQueryBuilder

Objective-C

@interface SCSDKUserDataQueryBuilder : NSObject

Swift

class SCSDKUserDataQueryBuilder : NSObject

SCSDKUserDataQueryBuilder builds a user data query to fetch user data

  • For fetching a user’s display name

    Declaration

    Objective-C

    - (nonnull instancetype)withDisplayName;

    Swift

    func withDisplayName() -> Self
  • For fetching a user’s external ID

    Declaration

    Objective-C

    - (nonnull instancetype)withExternalId;

    Swift

    func withExternalId() -> Self
  • For fetching OpenID Connect ID token

    Declaration

    Objective-C

    - (nonnull instancetype)withIdToken;

    Swift

    func withIdToken() -> Self
  • For fetching a user’s Bitmoji avatar ID

    Declaration

    Objective-C

    - (nonnull instancetype)withBitmojiAvatarID;

    Swift

    func withBitmojiAvatarID() -> Self
  • For fetching a user’s 2D Bitmoji Avatar URL

    Declaration

    Objective-C

    - (nonnull instancetype)withBitmojiTwoDAvatarUrl;

    Swift

    func withBitmojiTwoDAvatarUrl() -> Self
  • For fetching a Snap Star User’s profile URL (restricted)

    Declaration

    Objective-C

    - (nonnull instancetype)withProfileLink;

    Swift

    func withProfileLink() -> Self
  • Builds the SCSDKUserDataQuery object

    Declaration

    Objective-C

    - (nonnull SCSDKUserDataQuery *)build;

    Swift

    func build() -> SCSDKUserDataQuery