ConnectedDevicesPlatformSettings 类

  • java.lang.Object
    • NativeBase
      • com.microsoft.connecteddevices.ConnectedDevicesPlatformSettings

public class ConnectedDevicesPlatformSettings

允许应用程序开发人员向 ConnectedDevices 平台提供初始设置。

构造函数摘要

构造函数 说明
ConnectedDevicesPlatformSettings()

创建并初始化此类的新实例。

方法摘要

修饰符和类型 方法和描述
String getStoragePath()

获取用于存储 ConnectedDevices 平台持久化文件的存储路径。

void setStoragePath(@Nullable String path)

设置用于存储 ConnectedDevices 平台持久化文件的存储路径。

构造函数详细信息

ConnectedDevicesPlatformSettings

public ConnectedDevicesPlatformSettings()

创建并初始化此类的新实例。

方法详细信息

getStoragePath

public String getStoragePath()

获取用于存储 ConnectedDevices 平台持久化文件的存储路径。

返回:

字符串格式的路径

setStoragePath

public void setStoragePath(@Nullable String path)

设置用于存储 ConnectedDevices 平台持久化文件的存储路径。

参数:

path - 路径的字符串格式

适用于