Skip to content

Commit 63ce35f

Browse files
committed
Add availability annotation
1 parent 87c3862 commit 63ce35f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/AndroidHardware/Sensor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public extension Sensor {
8282
}
8383

8484
/// The hardware sensor handle, unique within a device.
85+
@available(Android 29, *)
8586
var handle: Int32 {
8687
ASensor_getHandle(pointer)
8788
}

0 commit comments

Comments
 (0)