notification

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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 ManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new notification client.

func (*Client) AddAutomaticZenRule

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

AddAutomaticZenRule calls the AddAutomaticZenRule RPC.

func (*Client) AreAutomaticZenRulesUserManaged

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

AreAutomaticZenRulesUserManaged calls the AreAutomaticZenRulesUserManaged RPC.

func (*Client) AreBubblesAllowed

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

AreBubblesAllowed calls the AreBubblesAllowed RPC.

func (*Client) AreBubblesEnabled

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

AreBubblesEnabled calls the AreBubblesEnabled RPC.

func (*Client) AreNotificationsEnabled

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

AreNotificationsEnabled calls the AreNotificationsEnabled RPC.

func (*Client) AreNotificationsPaused

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

AreNotificationsPaused calls the AreNotificationsPaused RPC.

func (*Client) CanNotifyAsPackage

func (c *Client) CanNotifyAsPackage(ctx context.Context, arg0 string) (bool, error)

CanNotifyAsPackage calls the CanNotifyAsPackage RPC.

func (*Client) CanPostPromotedNotifications

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

CanPostPromotedNotifications calls the CanPostPromotedNotifications RPC.

func (*Client) CanUseFullScreenIntent

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

CanUseFullScreenIntent calls the CanUseFullScreenIntent RPC.

func (*Client) Cancel1

func (c *Client) Cancel1(ctx context.Context, arg0 int32) error

Cancel1 calls the Cancel1 RPC.

func (*Client) Cancel2_1

func (c *Client) Cancel2_1(ctx context.Context, arg0 string, arg1 int32) error

Cancel2_1 calls the Cancel2_1 RPC.

func (*Client) CancelAll

func (c *Client) CancelAll(ctx context.Context) error

CancelAll calls the CancelAll RPC.

func (*Client) CancelAsPackage

func (c *Client) CancelAsPackage(ctx context.Context, arg0 string, arg1 string, arg2 int32) error

CancelAsPackage calls the CancelAsPackage RPC.

func (*Client) CreateNotificationChannel

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

CreateNotificationChannel calls the CreateNotificationChannel RPC.

func (*Client) CreateNotificationChannelGroup

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

CreateNotificationChannelGroup calls the CreateNotificationChannelGroup RPC.

func (*Client) CreateNotificationChannelGroups

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

CreateNotificationChannelGroups calls the CreateNotificationChannelGroups RPC.

func (*Client) CreateNotificationChannels

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

CreateNotificationChannels calls the CreateNotificationChannels RPC.

func (*Client) DeleteNotificationChannel

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

DeleteNotificationChannel calls the DeleteNotificationChannel RPC.

func (*Client) DeleteNotificationChannelGroup

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

DeleteNotificationChannelGroup calls the DeleteNotificationChannelGroup RPC.

func (*Client) GetActiveNotifications

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

GetActiveNotifications calls the GetActiveNotifications RPC.

func (*Client) GetAutomaticZenRule

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

GetAutomaticZenRule calls the GetAutomaticZenRule RPC.

func (*Client) GetAutomaticZenRuleState

func (c *Client) GetAutomaticZenRuleState(ctx context.Context, arg0 string) (int32, error)

GetAutomaticZenRuleState calls the GetAutomaticZenRuleState RPC.

func (*Client) GetBubblePreference

func (c *Client) GetBubblePreference(ctx context.Context) (int32, error)

GetBubblePreference calls the GetBubblePreference RPC.

func (*Client) GetConsolidatedNotificationPolicy

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

GetConsolidatedNotificationPolicy calls the GetConsolidatedNotificationPolicy RPC.

func (*Client) GetCurrentInterruptionFilter added in v0.0.4

func (c *Client) GetCurrentInterruptionFilter(ctx context.Context) (int32, error)

GetCurrentInterruptionFilter calls the GetCurrentInterruptionFilter RPC.

func (*Client) GetImportance

func (c *Client) GetImportance(ctx context.Context) (int32, error)

GetImportance calls the GetImportance RPC.

func (*Client) GetNotificationChannel1

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

GetNotificationChannel1 calls the GetNotificationChannel1 RPC.

func (*Client) GetNotificationChannel2_1

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

GetNotificationChannel2_1 calls the GetNotificationChannel2_1 RPC.

func (*Client) GetNotificationChannelGroup

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

GetNotificationChannelGroup calls the GetNotificationChannelGroup RPC.

func (*Client) GetNotificationChannelGroups

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

GetNotificationChannelGroups calls the GetNotificationChannelGroups RPC.

func (*Client) GetNotificationChannels

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

GetNotificationChannels calls the GetNotificationChannels RPC.

func (*Client) GetNotificationDelegate

func (c *Client) GetNotificationDelegate(ctx context.Context) (string, error)

GetNotificationDelegate calls the GetNotificationDelegate RPC.

func (*Client) GetNotificationPolicy

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

GetNotificationPolicy calls the GetNotificationPolicy RPC.

func (*Client) IsNotificationListenerAccessGranted

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

IsNotificationListenerAccessGranted calls the IsNotificationListenerAccessGranted RPC.

func (*Client) IsNotificationPolicyAccessGranted

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

IsNotificationPolicyAccessGranted calls the IsNotificationPolicyAccessGranted RPC.

func (*Client) MatchesCallFilter

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

MatchesCallFilter calls the MatchesCallFilter RPC.

func (*Client) Notify2

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

Notify2 calls the Notify2 RPC.

func (*Client) Notify3_1

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

Notify3_1 calls the Notify3_1 RPC.

func (*Client) NotifyAsPackage

func (c *Client) NotifyAsPackage(ctx context.Context, arg0 string, arg1 string, arg2 int32, arg3 int64) error

NotifyAsPackage calls the NotifyAsPackage RPC.

func (*Client) RemoveAutomaticZenRule

func (c *Client) RemoveAutomaticZenRule(ctx context.Context, arg0 string) (bool, error)

RemoveAutomaticZenRule calls the RemoveAutomaticZenRule RPC.

func (*Client) SetAutomaticZenRuleState

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

SetAutomaticZenRuleState calls the SetAutomaticZenRuleState RPC.

func (*Client) SetInterruptionFilter added in v0.0.4

func (c *Client) SetInterruptionFilter(ctx context.Context, arg0 int32) error

SetInterruptionFilter calls the SetInterruptionFilter RPC.

func (*Client) SetNotificationDelegate

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

SetNotificationDelegate calls the SetNotificationDelegate RPC.

func (*Client) SetNotificationPolicy

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

SetNotificationPolicy calls the SetNotificationPolicy RPC.

func (*Client) ShouldHideSilentStatusBarIcons

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

ShouldHideSilentStatusBarIcons calls the ShouldHideSilentStatusBarIcons RPC.

func (*Client) UpdateAutomaticZenRule

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

UpdateAutomaticZenRule calls the UpdateAutomaticZenRule RPC.

Jump to

Keyboard shortcuts

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