Documentation
¶
Index ¶
- Constants
- type FeatureFlagsCallbackProxy
- type FeatureFlagsProxy
- func (p *FeatureFlagsProxy) AsBinder() binder.IBinder
- func (p *FeatureFlagsProxy) OverrideFlag(ctx context.Context, flag SyncableFlag) error
- func (p *FeatureFlagsProxy) QueryFlags(ctx context.Context, flagList []SyncableFlag) ([]SyncableFlag, error)
- func (p *FeatureFlagsProxy) RegisterCallback(ctx context.Context, callback IFeatureFlagsCallback) error
- func (p *FeatureFlagsProxy) ResetFlag(ctx context.Context, flag SyncableFlag) error
- func (p *FeatureFlagsProxy) SyncFlags(ctx context.Context, flagList []SyncableFlag) ([]SyncableFlag, error)
- func (p *FeatureFlagsProxy) UnregisterCallback(ctx context.Context, callback IFeatureFlagsCallback) error
- type IFeatureFlags
- type IFeatureFlagsCallback
- type SyncableFlag
Constants ¶
View Source
const ( TransactionIFeatureFlagsSyncFlags = binder.FirstCallTransaction + 0 TransactionIFeatureFlagsRegisterCallback = binder.FirstCallTransaction + 1 TransactionIFeatureFlagsUnregisterCallback = binder.FirstCallTransaction + 2 TransactionIFeatureFlagsQueryFlags = binder.FirstCallTransaction + 3 TransactionIFeatureFlagsOverrideFlag = binder.FirstCallTransaction + 4 TransactionIFeatureFlagsResetFlag = binder.FirstCallTransaction + 5 )
View Source
const DescriptorIFeatureFlags = "android.flags.IFeatureFlags"
View Source
const DescriptorIFeatureFlagsCallback = "android.flags.IFeatureFlagsCallback"
View Source
const (
TransactionIFeatureFlagsCallbackOnFlagChange = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFlagsCallbackProxy ¶
type FeatureFlagsCallbackProxy struct {
// contains filtered or unexported fields
}
func NewFeatureFlagsCallbackProxy ¶
func NewFeatureFlagsCallbackProxy( remote binder.IBinder, ) *FeatureFlagsCallbackProxy
func (*FeatureFlagsCallbackProxy) AsBinder ¶
func (p *FeatureFlagsCallbackProxy) AsBinder() binder.IBinder
func (*FeatureFlagsCallbackProxy) OnFlagChange ¶
func (p *FeatureFlagsCallbackProxy) OnFlagChange( ctx context.Context, flag SyncableFlag, ) error
type FeatureFlagsProxy ¶
type FeatureFlagsProxy struct {
// contains filtered or unexported fields
}
func NewFeatureFlagsProxy ¶
func NewFeatureFlagsProxy( remote binder.IBinder, ) *FeatureFlagsProxy
func (*FeatureFlagsProxy) AsBinder ¶
func (p *FeatureFlagsProxy) AsBinder() binder.IBinder
func (*FeatureFlagsProxy) OverrideFlag ¶
func (p *FeatureFlagsProxy) OverrideFlag( ctx context.Context, flag SyncableFlag, ) error
func (*FeatureFlagsProxy) QueryFlags ¶
func (p *FeatureFlagsProxy) QueryFlags( ctx context.Context, flagList []SyncableFlag, ) ([]SyncableFlag, error)
func (*FeatureFlagsProxy) RegisterCallback ¶
func (p *FeatureFlagsProxy) RegisterCallback( ctx context.Context, callback IFeatureFlagsCallback, ) error
func (*FeatureFlagsProxy) ResetFlag ¶
func (p *FeatureFlagsProxy) ResetFlag( ctx context.Context, flag SyncableFlag, ) error
func (*FeatureFlagsProxy) SyncFlags ¶
func (p *FeatureFlagsProxy) SyncFlags( ctx context.Context, flagList []SyncableFlag, ) ([]SyncableFlag, error)
func (*FeatureFlagsProxy) UnregisterCallback ¶
func (p *FeatureFlagsProxy) UnregisterCallback( ctx context.Context, callback IFeatureFlagsCallback, ) error
type IFeatureFlags ¶
type IFeatureFlags interface {
AsBinder() binder.IBinder
SyncFlags(ctx context.Context, flagList []SyncableFlag) ([]SyncableFlag, error)
RegisterCallback(ctx context.Context, callback IFeatureFlagsCallback) error
UnregisterCallback(ctx context.Context, callback IFeatureFlagsCallback) error
QueryFlags(ctx context.Context, flagList []SyncableFlag) ([]SyncableFlag, error)
OverrideFlag(ctx context.Context, flag SyncableFlag) error
ResetFlag(ctx context.Context, flag SyncableFlag) error
}
type IFeatureFlagsCallback ¶
type SyncableFlag ¶
type SyncableFlag struct {
}
func (*SyncableFlag) MarshalParcel ¶
func (s *SyncableFlag) MarshalParcel( p *parcel.Parcel, ) error
func (*SyncableFlag) UnmarshalParcel ¶
func (s *SyncableFlag) UnmarshalParcel( p *parcel.Parcel, ) error
Click to show internal directories.
Click to hide internal directories.