protocol - protocol.registerFileProtocol(scheme, handler)

概述

返回 boolean,表示协议是否注册成功(已废弃)。

基本信息

属性
模块 protocol
类型 Method
鸿蒙支持 不支持