close

open override fun close()

Release resources associated with the Tray and the underlying Spokestack instance. Note that spokestack.close()/.stop() are not called automatically because in the normal case, we want Spokestack to continue listening even if the fragment is killed (i.e., on device rotation).

Note: This method is not for visually sliding the tray's UI closed; use setOpen for that. This method's name is inherited from AutoCloseable.