共用方式為


BackupDataInput.Key Property

Definition

Report the key associated with the current entity in the restore stream

public virtual string? Key { [Android.Runtime.Register("getKey", "()Ljava/lang/String;", "GetGetKeyHandler")] get; }
[<get: Android.Runtime.Register("getKey", "()Ljava/lang/String;", "GetGetKeyHandler")>]
member this.Key : string

Property Value

the current entity's key string

Attributes

Exceptions

if the next record header has not yet been read

Remarks

Report the key associated with the current entity in the restore stream

Java documentation for android.app.backup.BackupDataInput.getKey().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to