add api interface for ios development and android