Annotation Type Kroll.getProperty

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.


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.

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