{"id":3629,"date":"2024-12-08T15:00:49","date_gmt":"2024-12-08T07:00:49","guid":{"rendered":"https:\/\/support.foxitsoftware.cn\/?p=3629"},"modified":"2024-12-30T15:55:30","modified_gmt":"2024-12-30T07:55:30","slug":"%e4%bd%bf%e7%94%a8%e5%ae%89%e5%8d%93sdk9-0ink%e6%b3%a8%e9%87%8a%e6%97%b6%ef%bc%8c%e7%9b%ae%e5%89%8d%e5%8f%aa%e6%9c%89%e5%9c%a8%e5%88%87%e6%8d%a2%e6%b3%a8%e9%87%8a%e6%97%b6%e6%89%8d%e8%83%bd%e7%94%9f","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=3629","title":{"rendered":"\u4f7f\u7528\u5b89\u5353SDK9.0ink\u6ce8\u91ca\u65f6\uff0c\u76ee\u524d\u53ea\u6709\u5728\u5207\u6362\u6ce8\u91ca\u65f6\u624d\u80fd\u751f\u6210\u4e00\u4e2a\u5b8c\u6574\u6ce8\u91ca\uff0c\u5982\u4f55\u4e0d\u5207\u6362\u65f6\u7acb\u5373\u751f\u6210\u6ce8\u91ca\uff1f"},"content":{"rendered":"\n<p>\u76ee\u524d\u8bbe\u8ba1\u7684\u63a5\u53e3\uff1a<\/p>\n\n\n\n<p>\u5f53\u8bbe\u7f6e\u65f6\u95f4 &gt; 0 \u7684\u65f6\u5019\uff0c\u8d85\u65f6\u65f6\u95f4\u4f1a\u751f\u6548\uff0c \u5982\u679c\u8bbe\u7f6e &lt;= 0 \uff0c\u5219\u4e0d\u4f1a\u81ea\u52a8\u751f\u6210<\/p>\n\n\n\n<p>\u4f7f\u7528\uff1a&nbsp;UIExtensionsManager#setInkDrawingTimeout\uff08long timeoutMillis\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code has-body-font-family has-medium-font-size\"><code>\/**\n * Sets a timeout for Ink drawing. If the drawing action stops and exceeds the timeout,\n * an Ink annotation will be automatically created.\n * &lt;P&gt;\n * The default value is -1, which disables the timeout. If the timeout value is less than or equal to 0, the timeout feature is disabled.\n *\n * @param timeoutMillis The timeout duration in milliseconds. Default is -1 to disable.\n *\/\npublic void setInkDrawingTimeout(long timeoutMillis) {\n    mInkTimeOut = timeoutMillis;\n}\n\n\/**\n *  Gets the current timeout value for Ink drawing.\n * &lt;P&gt;\n * The default value is -1, which disables the timeout. If the timeout value is less than or equal to 0, the timeout feature is disabled.\n *\n * @return The timeout duration in milliseconds. Default is -1 to disable.\n *\/\npublic long getInkDrawingTimeout() {\n    return mInkTimeOut;\n} <\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u524d\u8bbe\u8ba1\u7684\u63a5\u53e3\uff1a \u5f53\u8bbe\u7f6e\u65f6\u95f4 &gt; 0 \u7684\u65f6\u5019\uff0c\u8d85\u65f6\u65f6\u95f4\u4f1a\u751f\u6548\uff0c \u5982\u679c\u8bbe\u7f6e &lt;= 0 \uff0c\u5219\u4e0d\u4f1a\u81ea\u52a8\u751f [&hellip;]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[],"class_list":["post-3629","post","type-post","status-publish","format-standard","hentry","category-gsdk"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","_links":{"self":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/3629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3629"}],"version-history":[{"count":2,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/3629\/revisions"}],"predecessor-version":[{"id":3735,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/3629\/revisions\/3735"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}