Материал из Module developer
Перейти к: навигация, поиск

In this example the B.GetResolutionType function compares the received value of OS with the value we need. If the condition is satisfied, the function receives the device identifier via the system token and returns the result. In this case - 2 or 1, depending on the device where the module is running (iPad or iPhone). As a result it shows one or another popup.