keyguard

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the gRPC KeyguardManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new keyguard client.

func (*Client) AddKeyguardLockedStateListener

func (c *Client) AddKeyguardLockedStateListener(ctx context.Context, arg0 int64, arg1 int64) error

AddKeyguardLockedStateListener calls the AddKeyguardLockedStateListener RPC.

func (*Client) CreateConfirmDeviceCredentialIntent

func (c *Client) CreateConfirmDeviceCredentialIntent(ctx context.Context, arg0 string, arg1 string) (int64, error)

CreateConfirmDeviceCredentialIntent calls the CreateConfirmDeviceCredentialIntent RPC.

func (*Client) ExitKeyguardSecurely

func (c *Client) ExitKeyguardSecurely(ctx context.Context, arg0 int64) error

ExitKeyguardSecurely calls the ExitKeyguardSecurely RPC.

func (*Client) InKeyguardRestrictedInputMode

func (c *Client) InKeyguardRestrictedInputMode(ctx context.Context) (bool, error)

InKeyguardRestrictedInputMode calls the InKeyguardRestrictedInputMode RPC.

func (*Client) IsDeviceLocked

func (c *Client) IsDeviceLocked(ctx context.Context) (bool, error)

IsDeviceLocked calls the IsDeviceLocked RPC.

func (*Client) IsDeviceSecure

func (c *Client) IsDeviceSecure(ctx context.Context) (bool, error)

IsDeviceSecure calls the IsDeviceSecure RPC.

func (*Client) IsKeyguardLocked

func (c *Client) IsKeyguardLocked(ctx context.Context) (bool, error)

IsKeyguardLocked calls the IsKeyguardLocked RPC.

func (*Client) IsKeyguardSecure

func (c *Client) IsKeyguardSecure(ctx context.Context) (bool, error)

IsKeyguardSecure calls the IsKeyguardSecure RPC.

func (*Client) NewKeyguardLock

func (c *Client) NewKeyguardLock(ctx context.Context, arg0 string) (int64, error)

NewKeyguardLock calls the NewKeyguardLock RPC.

func (*Client) RemoveKeyguardLockedStateListener

func (c *Client) RemoveKeyguardLockedStateListener(ctx context.Context, arg0 int64) error

RemoveKeyguardLockedStateListener calls the RemoveKeyguardLockedStateListener RPC.

func (*Client) RequestDismissKeyguard

func (c *Client) RequestDismissKeyguard(ctx context.Context, arg0 int64, arg1 int64) error

RequestDismissKeyguard calls the RequestDismissKeyguard RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL