Interface

Polkit-1.0PolkitSubjectInterface

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

interface Interface {
    vfunc_equal(b: Polkit.Subject): boolean;
    vfunc_exists(
        cancellable?: Gio.Cancellable,
        callback?: AsyncReadyCallback<Polkit.Subject.Interface>,
    ): void;
    vfunc_exists_finish(res: Gio.AsyncResult): boolean;
    vfunc_exists_sync(cancellable?: Gio.Cancellable): boolean;
    vfunc_hash(): number;
    vfunc_to_string(): string;
}

Hierarchy (View Summary)

Index

Methods

  • Serializes subject to a string that can be used in polkit_subject_from_string().

    Returns string