Urban Airship Unity Plugin
  • UrbanAirship
  • AttributeEditor
Public Member Functions | List of all members
UrbanAirship.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 UrbanAirship.AttributeEditor.Apply ( )
inline

Applies pending changes.

◆ RemoveAttribute()

AttributeEditor UrbanAirship.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.

◆ SetAttribute() [1/6]

AttributeEditor UrbanAirship.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.

◆ SetAttribute() [2/6]

AttributeEditor UrbanAirship.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.

◆ SetAttribute() [3/6]

AttributeEditor UrbanAirship.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.

◆ SetAttribute() [4/6]

AttributeEditor UrbanAirship.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.

◆ SetAttribute() [5/6]

AttributeEditor UrbanAirship.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.

◆ SetAttribute() [6/6]

AttributeEditor UrbanAirship.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.

Generated on Thu Mar 14 2024 16:06:38 for Urban Airship Unity Plugin by   doxygen 1.9.8