org.appcelerator.kroll.annotations
Annotation Type Kroll.getProperty


@Documented
@Retention
@Target
public static @interface Kroll.getProperty

Declares a method as a property getter of this Kroll.proxy or Kroll.module.

Getter methods must return a value, and may optionally have a KrollInvocation as the first argument, and optional arguments when they are also exposed as methods

See Also:
name(), runOnUiThread(), KrollInvocation, @Kroll.method, Kroll.argument.optional()

Optional Element Summary
 String name
          The name of this property in the API.
 

name

public abstract String name
The name of this property in the API.

Default Value:
The method name stripped of "get", and lower-camel-cased or the method name itself.
Default:
"__default_name__"


Copyright © 2010-2012 Appcelerator, Inc. Licensed under the Apache License 2.0