SymmetricKey.setPrimaryKey(String primaryKey) 方法

定义

Setter for primary key Validates the length of the key

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>as of service-client version 1.15.1, please use <xref uid="com.microsoft.azure.sdk.iot.service.auth.SymmetricKey.setPrimaryKeyFinal(String)" data-throw-if-not-resolved="false" data-raw-source="setPrimaryKeyFinal(String)"></xref></p>

</xrefdescription>

public void setPrimaryKey(String primaryKey)

参数

primaryKey
String

Primary key part of the symmetric key

适用于