Skip to main content
API Reference com.nianticspatial.nsdk NsdkSessionDataSource

latestCompassSample

Returns the most recent compass/magnetometer reading, or null if unavailable.

Declaration

fun latestCompassSample(): Compass?

Summary

Returns the most recent compass/magnetometer reading, or null if unavailable.