I am able to set the inAppUpdatePriority to 5, but I am not getting UpdateAvailability.UPDATE_AVAILABLE I followed the below link
https://developer.android.com/guide