Does anyone know if you can use an inground pool alarm with an above ground pool?

Thanks