語言

E2eeContactKeysManager.E2eeSelfKey.DeviceId 屬性

定義

取得應用程式指定的裝置識別碼,並用於端對端加密金鑰。

public string? DeviceId { [Android.Runtime.Register("getDeviceId", "()Ljava/lang/String;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getDeviceId", "()Ljava/lang/String;", "", ApiSince=35)>]
member this.DeviceId : string

屬性值

裝置的應用程式指定識別碼。

屬性

備註

取得應用程式指定的裝置識別碼,並用於端對端加密金鑰。 如果應用程式沒有對端對端加密金鑰所需的可見性,則會回傳 null。

Android 參考資料。android.provider.E2eeContactKeysManager.E2eeSelfKey.getDeviceId

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於