All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.appium.manager.DeviceSingleton Maven / Gradle / Ivy

There is a newer version: 14.0.4
Show newest version
package com.appium.manager;

/**
 * Created by saikrisv on 18/05/17.
 */
public class DeviceSingleton {

    private static DeviceSingleton instance;
    private static DeviceAllocationManager deviceID = null;

    public static DeviceSingleton getInstance() throws Exception {
        if (instance == null) {
            instance = new DeviceSingleton();
            deviceID = DeviceAllocationManager.getInstance();
        }
        return instance;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy