Class DeviceInfo
- java.lang.Object
-
- com.amazonaws.kinesisvideo.producer.DeviceInfo
-
public class DeviceInfo extends Object
Device information object. NOTE: This should follow the structure defined in /client/Include.h NOTE: Suppressing Findbug error as this code will be accessed from native codebase.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEVICE_INFO_CURRENT_VERSIONCurrent version for the structure as defined in the native code
-
Constructor Summary
Constructors Constructor Description DeviceInfo(int version, String name, StorageInfo storageInfo, int streamCount, Tag[] tags)Deprecated.DeviceInfo(int version, String name, StorageInfo storageInfo, int streamCount, Tag[] tags, String clientId, ClientInfo clientInfo)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceInfocreateDeviceInfoV0(String name, StorageInfo storageInfo, int streamCount, Tag[] tags)static DeviceInfocreateDeviceInfoV1(String name, StorageInfo storageInfo, int streamCount, Tag[] tags, String clientId, ClientInfo clientInfo)StringgetClientId()ClientInfogetClientInfo()intgetDeviceStorageType()StringgetName()StringgetRootDirectory()intgetSpillRatio()StorageInfogetStorageInfo()intgetStorageInfoVersion()longgetStorageSize()intgetStreamCount()Tag[]getTags()intgetVersion()
-
-
-
Field Detail
-
DEVICE_INFO_CURRENT_VERSION
public static final int DEVICE_INFO_CURRENT_VERSION
Current version for the structure as defined in the native code- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeviceInfo
@Deprecated public DeviceInfo(int version, @Nullable String name, @Nonnull StorageInfo storageInfo, int streamCount, @Nullable Tag[] tags)
Deprecated.
-
DeviceInfo
@Deprecated public DeviceInfo(int version, @Nullable String name, @Nonnull StorageInfo storageInfo, int streamCount, @Nullable Tag[] tags, @Nonnull String clientId, @Nonnull ClientInfo clientInfo)
Deprecated.
-
-
Method Detail
-
createDeviceInfoV0
public static DeviceInfo createDeviceInfoV0(String name, StorageInfo storageInfo, int streamCount, Tag[] tags)
-
createDeviceInfoV1
public static DeviceInfo createDeviceInfoV1(String name, StorageInfo storageInfo, int streamCount, Tag[] tags, String clientId, ClientInfo clientInfo)
-
getVersion
@CalledByNativeCode public int getVersion()
-
getName
@CalledByNativeCode public String getName()
-
getStorageInfo
@Nonnull public StorageInfo getStorageInfo()
-
getStreamCount
@CalledByNativeCode public int getStreamCount()
-
getStorageInfoVersion
@CalledByNativeCode public int getStorageInfoVersion()
-
getDeviceStorageType
@CalledByNativeCode public int getDeviceStorageType()
-
getStorageSize
@CalledByNativeCode public long getStorageSize()
-
getSpillRatio
@CalledByNativeCode public int getSpillRatio()
-
getRootDirectory
@Nullable @CalledByNativeCode public String getRootDirectory()
-
getTags
@Nullable @CalledByNativeCode public Tag[] getTags()
-
getClientId
@Nonnull @CalledByNativeCode public String getClientId()
-
getClientInfo
@Nonnull @CalledByNativeCode public ClientInfo getClientInfo()
-
-