Merge pull request #2 from TakayukiHoshi1984/AddResumeMethod

Add resume/pause method
Add onRestart method
Merge pull request #1 from takayuki-hoshi/master

Fork merge