Interface

Polkit-1.0PolkitIdentityInterface

Interface for implementing Identity. Contains only the virtual methods that need to be implemented.

interface Interface {
    vfunc_equal(b: Polkit.Identity): boolean;
    vfunc_hash(): number;
    vfunc_to_string(): string;
}

Hierarchy (View Summary)

Index
  • Gets a hash code for identity that can be used with e.g. g_hash_table_new().

    Returns number

  • Serializes identity to a string that can be used in polkit_identity_from_string().

    Returns string