Skip to content

Commit

Permalink
Consumed playing audio keystrokes in sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamporus committed Jun 12, 2019
1 parent 067e4d2 commit d26e623
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sample/src/main/java/com/prush/sample/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ protected void onCreate( Bundle savedInstanceState )
typedTextView.randomizeTypingSpeed( true );
typedTextView.randomizeTypeSeed( 75 );

//Play keystrokes audio
typedTextView.playKeyStrokesAudio( true );

//Set text to be typed
typedTextView.setTypedText( "Once there lived a monkey in a jamun tree by a river. The monkey was alone. He had no friends, no family, but he was happy and content." );

Expand Down

0 comments on commit d26e623

Please sign in to comment.