Skip to content

Commit

Permalink
fix(android): restore Sound is* boolean query methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Apr 8, 2021
1 parent 478acc0 commit c35cc4a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public void setAudioType(int val)
}

@Kroll.getProperty
@Kroll.method
public boolean isPlaying()
{
TiSound s = getSound();
Expand All @@ -155,6 +156,7 @@ public boolean isPlaying()
}

@Kroll.getProperty
@Kroll.method
public boolean isPaused()
{
TiSound s = getSound();
Expand All @@ -165,6 +167,7 @@ public boolean isPaused()
}

@Kroll.getProperty
@Kroll.method
public boolean isLooping()
{
TiSound s = getSound();
Expand Down

0 comments on commit c35cc4a

Please sign in to comment.