Skip to content

Commit

Permalink
docs: add missing types for events properties
Browse files Browse the repository at this point in the history
  • Loading branch information
drauggres authored and sgtcoolguy committed Dec 2, 2019
1 parent b1c0967 commit 5b7732f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apidoc/Titanium/App/App.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ events:
properties:
- name: state
summary: Proximity state value.
type: Boolean
platforms: [iphone, android]
since: {android: "3.3.0"}

Expand All @@ -267,31 +268,41 @@ events:
properties:
- name: message
summary: The error message.
type: String
- name: line
summary: The line where the error occurred.
type: Number
- name: sourceId
summary: A unique identification for the source file.
type: Number
platforms: [iphone, ipad]
- name: type
summary: The type of error.
type: String
platforms: [iphone, ipad]
- name: sourceURL
summary: The URL to the source file.
type: String
platforms: [iphone, ipad]
- name: backtrace
summary: The backtrace of function calls when the error occurred.
type: String
platforms: [iphone, ipad]
- name: title
summary: The title for the error.
type: String
platforms: [android]
- name: sourceName
summary: The name of the source file.
type: String
platforms: [android]
- name: lineSource
summary: The line source reference.
type: String
platforms: [android]
- name: lineOffset
summary: The offset on the line where the error occurred.
type: Number
platforms: [android]
platforms: [android, iphone, ipad]
since: '4.1.0'
Expand Down
1 change: 1 addition & 0 deletions apidoc/Titanium/Geolocation/Geolocation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ events:
properties:
- name: code
summary: If `success` is `false`, the error code is available.
type: Number
platforms: [android, iphone, ipad]

- name: success
Expand Down
1 change: 1 addition & 0 deletions apidoc/Titanium/Media/VideoPlayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ events:
properties:
- name: sourceType
summary: New `sourceType` value.
type: Number
constants: Titanium.Media.VIDEO_SOURCE_TYPE_*
since: '3.0.0'

Expand Down

0 comments on commit 5b7732f

Please sign in to comment.