May return true if the caller is the only owner. Ensures that all previous owner's actions are complete.
()
| 857 | * <p>Ensures that all previous owner's actions are complete.</p> |
| 858 | */ |
| 859 | public boolean isUnique() { |
| 860 | try { |
| 861 | Stats.onNativeCall(); |
| 862 | return _nUnique(_ptr); |
| 863 | } finally { |
| 864 | Reference.reachabilityFence(this); |
| 865 | } |
| 866 | } |
| 867 | |
| 868 | @ApiStatus.Internal |
| 869 | public Surface(long ptr) { |