Documentation
¶
Index ¶
- type Client
- func (c *Client) AddKeyguardLockedStateListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) CreateConfirmDeviceCredentialIntent(ctx context.Context, arg0 string, arg1 string) (int64, error)
- func (c *Client) ExitKeyguardSecurely(ctx context.Context, arg0 int64) error
- func (c *Client) InKeyguardRestrictedInputMode(ctx context.Context) (bool, error)
- func (c *Client) IsDeviceLocked(ctx context.Context) (bool, error)
- func (c *Client) IsDeviceSecure(ctx context.Context) (bool, error)
- func (c *Client) IsKeyguardLocked(ctx context.Context) (bool, error)
- func (c *Client) IsKeyguardSecure(ctx context.Context) (bool, error)
- func (c *Client) NewKeyguardLock(ctx context.Context, arg0 string) (int64, error)
- func (c *Client) RemoveKeyguardLockedStateListener(ctx context.Context, arg0 int64) error
- func (c *Client) RequestDismissKeyguard(ctx context.Context, arg0 int64, arg1 int64) error
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 ¶
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 ¶
ExitKeyguardSecurely calls the ExitKeyguardSecurely RPC.
func (*Client) InKeyguardRestrictedInputMode ¶
InKeyguardRestrictedInputMode calls the InKeyguardRestrictedInputMode RPC.
func (*Client) IsDeviceLocked ¶
IsDeviceLocked calls the IsDeviceLocked RPC.
func (*Client) IsDeviceSecure ¶
IsDeviceSecure calls the IsDeviceSecure RPC.
func (*Client) IsKeyguardLocked ¶
IsKeyguardLocked calls the IsKeyguardLocked RPC.
func (*Client) IsKeyguardSecure ¶
IsKeyguardSecure calls the IsKeyguardSecure RPC.
func (*Client) NewKeyguardLock ¶
NewKeyguardLock calls the NewKeyguardLock RPC.
func (*Client) RemoveKeyguardLockedStateListener ¶
RemoveKeyguardLockedStateListener calls the RemoveKeyguardLockedStateListener RPC.