MediaAttachment

Media attachment class.

new MediaAttachment()
Static Members
withImageUrl(imageUrl)
withVideoUrl(videoUrl)
Instance Members
toJSON()

CustomInviteContent

Class to specify custom invite content.

new CustomInviteContent()
Instance Members
withText(inviteText)
withSubject(inviteSubject)
withMediaAttachment(mediaAttachment)
toJSON()

ReferralData

Class describes Referral Data.

new ReferralData()
Instance Members
token
referrerUserId
referrerChannelId
isFirstMatch
isGuaranteedMatch
isReinstall
referralLinkParams
originalReferralLinksParams

PublicUser

Immutable properties for a public user.

new PublicUser()
Instance Members
userId
displayName
avatarUrl
identities
publicProperties

ReferredUser

Defines ReferredUser class.

new ReferredUser()

Extends PublicUser

Instance Members
installationDate
installationChannel
installPlatform
isReinstall
isInstallSuspicious

InvitesView

Invites view.

new InvitesView()
Instance Members
withCustomWindowTitle(windowTitle)
withCustomInviteContent(customInviteContent)
withInviteUICallback(onComplete, onCancel, onError)
withLinkParams(linkParams)
show()

GetSocial

Main interface of GetSocial plugin.

new GetSocial()
Static Members
init()
initWithAppId(appid)
whenInitialized(onInit)
isInitialized()
getLanguage()
setLanguage(language)
getSdkVersion()
getReferralData()
clearReferralData()
getReferredUsers()

GetSocialUI

GetSocial UI class.

new GetSocialUI()
Static Members
closeView(saveViewState)
restoreView()
createInvitesView()
loadDefaultConfiguration()
loadConfiguration(path)

GetSocialUser

GetSocialUser class.

new GetSocialUser()
Static Members
onUserChanged(onUserChanged)
getUserId()
getDisplayName()
getAvatarUrl()

GetSocialEventEmitter

Event emitter to subscribe GetSocial related events.
Available events:
1. whenInitialized: invoked when SDK finished initialization.
2. onUserChanged: invoked when any property of current user changed.
3. onGlobalError(error): invoked when an unhandled error happened.

GetSocialEventEmitter