AirshipSDK.AirshipContact Class Reference
Airship contact. More...
Public Member Functions | |
| void | Identify (string namedUserId) |
| Identifies the contact with a named user Id. | |
| void | Reset () |
| Resets the contact. | |
| void | NotifyRemoteLogin () |
| Notifies Airship of a remote login, prompting it to refresh the contact's data. | |
| IEnumerator | GetNamedUserId (Action< string > onComplete, Action< Exception > onError=null) |
| Gets the named user Id asynchronously using a coroutine. | |
| TagGroupEditor | EditTagGroups () |
| Returns an editor for contact tag groups. | |
| AttributeEditor | EditAttributes () |
| Returns an editor for contact attributes. | |
| IEnumerator | GetSubscriptionLists (Action< Dictionary< string, IEnumerable< string > > > onComplete, Action< Exception > onError=null) |
| Gets the contact's subscription lists asynchronously using a coroutine. | |
| ScopedSubscriptionListEditor | EditSubscriptionLists () |
| Returns an editor for contact subscription lists. | |
Detailed Description
Airship contact.
Member Function Documentation
◆ EditAttributes()
|
inline |
Returns an editor for contact attributes.
- Returns
- A AttributeEditor for contact attributes.
◆ EditSubscriptionLists()
|
inline |
Returns an editor for contact subscription lists.
- Returns
- A SubscriptionListEditor.
◆ EditTagGroups()
|
inline |
Returns an editor for contact tag groups.
- Returns
- A TagGroupEditor for contact tag groups.
◆ GetNamedUserId()
|
inline |
Gets the named user Id asynchronously using a coroutine.
This method does not block Unity's main thread.
- Parameters
-
onComplete Callback invoked with the named user Id when the operation completes. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
◆ GetSubscriptionLists()
|
inline |
Gets the contact's subscription lists asynchronously using a coroutine.
This method does not block Unity's main thread.
- Parameters
-
onComplete Callback invoked with the subscription lists when the operation completes. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
◆ Identify()
Identifies the contact with a named user Id.
- Parameters
-
namedUserId The named user Id.
◆ NotifyRemoteLogin()
|
inline |
Notifies Airship of a remote login, prompting it to refresh the contact's data.
◆ Reset()
|
inline |
Resets the contact.
1.9.8