[TIMOB-12018] FileProxy is not documented in Android module docs
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-07-12T21:46:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Arthur Evans |
Assignee | Eric Merriman |
Created | 2012-12-11T01:51:48.000+0000 |
Updated | 2017-07-12T21:46:54.000+0000 |
Description
The Android module API docs include TiBaseFile, but not FileProxy.
http://builds.appcelerator.com.s3.amazonaws.com/module-apidoc/2.0.0/android/org/appcelerator/titanium/io/TiBaseFile.html
However, to return a file, I believe we need to return FileProxy (as demonstrated in the ModDevGuide), not a TiBaseFile. See:
https://github.com/appcelerator/titanium_modules/blob/master/moddevguide/mobile/android/src/ti/moddevguide/MethodsDemoProxy.java#L243
Can verify this as fixed as FileProxy is now documented here; https://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Architecture