Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9161] Ti API: Blob.type is exposed as property, but type values are not exposed as constants

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T20:50:36.000+0000
Affected Version/sRelease 1.7.5, Release 2.0.1
Fix Version/sn/a
ComponentsTiAPI
Labelscore
ReporterArthur Evans
AssigneeEric Merriman
Created2012-05-16T17:57:49.000+0000
Updated2017-06-07T20:50:36.000+0000

Description

Near as I can tell, both Android and iOS expose the Blob.type property, but not the constants for the type values (TYPE_IMAGE, TYPE_DATA, etc.) At present, type is not documented in Blob.yml because it's not terribly useful without the constants. I think we should either expose the constants or not expose the 'type' property.

Comments

  1. Arthur Evans 2012-05-16

    Not actually a parity issue, as far as I can see--I don't think the constants are exposed on any platform.
  2. Lee Morris 2017-06-07

    Closing ticket due to time passed and lack of progress in the past 5 years.

JSON Source