Restore IAP in Android using Prime 31

can someone please guide me how to restore purchases in android using prime 31.

What my basic understating is to get the list skus which player has purchased after he logs in with his account and restore them accordingly.

What I am not getting is how to get that list.

call “GoogleIAB.queryInventory( skus );”//var skus=your IAP keys
and in “queryInventorySucceededEvent” check the purchased non-consumable products as

foreach (GooglePurchase purchase in arg1){//where arg1 is first parameter of method //“queryInventorySucceededEvent”

please tick right if its working for you.