How to make the Android Mobile vibrate in cocos 3.0

@zhangxm Will you please explain how to do vibrate functionality in ios and android both while using cocos2d-x 3.2 . I really don’t get any help on this .