public static int GetTrackingStatus(int type) { if (GetHmdVersion() >= API_2_0_0.apiVersion) { return(API_2_0_0.GetDeviceTrackingStatus(type)); } return(0); }
public static int GetTrackingStatus(int type) { if (hmdVersion <= 0) { hmdVersion = API_1_0_0.GetVersionByDeviceType(0); } if (hmdVersion >= API_2_0_0.apiVersion) { return(API_2_0_0.GetDeviceTrackingStatus(type)); } return(0); }