다음을 통해 공유


SensorDirectChannel.Close Method

Definition

Close sensor direct channel.

[Android.Runtime.Register("close", "()V", "", ApiSince=26)]
public void Close ();
[<Android.Runtime.Register("close", "()V", "", ApiSince=26)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

Close sensor direct channel.

Stop all active sensor in the channel and free sensor system resource related to channel. Shared memory used for creating the direct channel need to be closed or freed separately.

Java documentation for android.hardware.SensorDirectChannel.close().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to