You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.d.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -128,14 +128,14 @@ declare class Sound {
128
128
/**
129
129
* Return the loop count of the audio player.
130
130
* The default is 0 which means to play the sound once.
131
-
* A positive number specifies the number of times to return to the start and play again.
132
-
* A negative number indicates an indefinite loop.
131
+
* On iOS a positive number specifies the number of times to return to the start and play again, a negative number indicates an indefinite loop.
132
+
* On Android any non-zero value indicates an indefinite loop.
133
133
*/
134
134
getNumberOfLoops(): number
135
135
136
136
/**
137
137
* Set the loop count
138
-
* @param value - 0 means to play the sound once. A positive number specifies the number of times to return to the start and play again (iOS only). A negative number indicates an indefinite loop (iOS and Android).
138
+
* @param value - iOS: 0 means to play the sound once, a positive number specifies the number of times to return to the start and play again, a negative number indicates an indefinite loop. Android: 0 means to play the sound once, other numbers indicate an indefinite loop.
0 commit comments