Magnetic Field Toolkit

Is it possible to define absolute device orientation with the magnetometer combined with accelerometer/gravity readings, so that pitch, yaw, and roll are defined with respect to magnetic north and the earth’s gravitational field? If so, would you be willing to add a blueprint variable that contains the rotation vector of the absolute device orientation? Also, how quickly do the magnetometer readings usually respond? Thanks!