简体   繁体   English

在 Android 中从外部关闭 chrome 自定义选项卡

[英]Close chrome custom tabs from external in Android

Is it possible to close chrome custom tabs from the calling app using a timeout?是否可以使用超时从调用应用程序关闭 Chrome 自定义选项卡?

Scenario is the user being in a session which times out after 5 minutes.场景是用户在 5 分钟后超时的会话中。 At this (variable) point in time I'd like to close the chrome custom tab (if it is open) no matter what state it is in.在这个(可变)时间点,无论处于什么状态,我都想关闭 chrome 自定义选项卡(如果它已打开)。

Developing for android.为安卓开发。

目前,自定义选项卡 API 不允许宿主应用程序以编程方式关闭它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM