private async Task InitR2() { CanInitR2 = false; R2Device = await R2.DetectR2Device(); if (R2Device != null) { IsR2Initialized = true; //Begin listening if desired BeginR2ListenAndSync(); } else { IsR2Initialized = false; CanInitR2 = true; } }
private async Task InitR2() { CanInitR2 = false; R2Device = await R2.DetectR2Device(); if (R2Device != null) { IsR2Initialized = true; //Begin listening if desired BeginR2ListenAndSync(); } else { IsR2Initialized = false; CanInitR2 = true; } }