Airship Unity Plugin 10.0.0
  • AirshipSDK
  • AttributeEditor
Public Member Functions | List of all members
AirshipSDK.AttributeEditor Class Reference

An editor for channel attributes. More...

Public Member Functions

AttributeEditor SetAttribute (string key, string value)
 Sets a string attribute.
 
AttributeEditor SetAttribute (string key, int value)
 Sets an integer number attribute.
 
AttributeEditor SetAttribute (string key, long value)
 Sets an long number attribute.
 
AttributeEditor SetAttribute (string key, float value)
 Sets a float number attribute.
 
AttributeEditor SetAttribute (string key, double value)
 Sets a double number attribute.
 
AttributeEditor SetAttribute (string key, DateTime value)
 Sets a date attribute.
 
AttributeEditor RemoveAttribute (string key)
 Removes an attribute.
 
void Apply ()
 Applies pending changes.
 

Detailed Description

An editor for channel attributes.

Member Function Documentation

◆ Apply()

void AirshipSDK.AttributeEditor.Apply ( )
inline

Applies pending changes.

References AirshipSDK.List.

◆ RemoveAttribute()

AttributeEditor AirshipSDK.AttributeEditor.RemoveAttribute ( string  key)
inline

Removes an attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.

References AirshipSDK.List.

◆ SetAttribute() [1/6]

AttributeEditor AirshipSDK.AttributeEditor.SetAttribute ( string  key,
DateTime  value 
)
inline

Sets a date attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.
valueThe date attribute value.

References AirshipSDK.List.

◆ SetAttribute() [2/6]

AttributeEditor AirshipSDK.AttributeEditor.SetAttribute ( string  key,
double  value 
)
inline

Sets a double number attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.
valueThe number attribute.

References AirshipSDK.List.

◆ SetAttribute() [3/6]

AttributeEditor AirshipSDK.AttributeEditor.SetAttribute ( string  key,
float  value 
)
inline

Sets a float number attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.
valueThe number attribute.

References AirshipSDK.List.

◆ SetAttribute() [4/6]

AttributeEditor AirshipSDK.AttributeEditor.SetAttribute ( string  key,
int  value 
)
inline

Sets an integer number attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.
valueThe number attribute.

References AirshipSDK.List.

◆ SetAttribute() [5/6]

AttributeEditor AirshipSDK.AttributeEditor.SetAttribute ( string  key,
long  value 
)
inline

Sets an long number attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.
valueThe number attribute.

References AirshipSDK.List.

◆ SetAttribute() [6/6]

AttributeEditor AirshipSDK.AttributeEditor.SetAttribute ( string  key,
string  value 
)
inline

Sets a string attribute.

Returns
The AttributeEditor
Parameters
keyThe attribute key greater than one character and less than 1024 characters in length.
valueThe attribute string greater than one character and less than 1024 characters in length.

References AirshipSDK.List.


Generated on Wed Sep 2 2026 21:27:03 for Airship Unity Plugin by   doxygen 1.9.8