API reference
API reference
Select your platform
No SDKs available
No versions available

LongAttribute Class

Modifiers: final
An attribute that stores a Long value.
XML Usage Example:
<component name="Identifier">
  <LongAttribute name="userId" defaultValue="0" />
</component>

Signature

class LongAttribute(keyString: String, key: Int, component: ComponentBase, initialValue: Long) : TypedAbstractAttribute<Long> 

Constructors

LongAttribute ( keyString , key , component , initialValue )
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Long)
Parameters
keyString: String
  The string key for this attribute
key: Int
  The integer key for this attribute
component: ComponentBase
  The component this attribute belongs to
initialValue: Long
  The initial value for this attribute

Properties

value : Long
[Get][Set]
Signature
var value: Long

Functions

checkIfComponentIsOld ()
Signature
fun checkIfComponentIsOld()
checkIfComponentIsRecycled ()
Signature
fun checkIfComponentIsRecycled()
get ()
Signature
open override fun get(): Any
Returns
Any
getValue ( thisRef , property )
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): Long
Parameters
thisRef: Any?
property: KProperty
Returns
Long
keyName ()
Signature
fun keyName(): String
Returns
String
set ( value )
Signature
open override fun set(value: Any)
Parameters
value: Any
setValue ( thisRef , property , value )
Signature
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Long)
Parameters
thisRef: Any?
property: KProperty
value: Long
Did you find this page helpful?