Table of Contents

Class NotificationChannel

Namespace
Android.App
Assembly
MASES.Netdroid.dll
public class NotificationChannel : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
NotificationChannel
Implements
Inherited Members
Extension Methods

Constructors

NotificationChannel(String, CharSequence, int)

public NotificationChannel(String arg0, CharSequence arg1, int arg2)

Parameters

arg0 String

String

arg1 CharSequence

CharSequence

arg2 int

int

NotificationChannel(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NotificationChannel(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

DEFAULT_CHANNEL_ID

public static String DEFAULT_CHANNEL_ID { get; set; }

Property Value

String

EDIT_CONVERSATION

public static String EDIT_CONVERSATION { get; set; }

Property Value

String

EDIT_IMPORTANCE

public static String EDIT_IMPORTANCE { get; set; }

Property Value

String

EDIT_LAUNCHER

public static String EDIT_LAUNCHER { get; set; }

Property Value

String

EDIT_LOCKED_DEVICE

public static String EDIT_LOCKED_DEVICE { get; set; }

Property Value

String

EDIT_SOUND

public static String EDIT_SOUND { get; set; }

Property Value

String

EDIT_VIBRATION

public static String EDIT_VIBRATION { get; set; }

Property Value

String

EDIT_ZEN

public static String EDIT_ZEN { get; set; }

Property Value

String

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CanBubble()

public bool CanBubble()

Returns

bool

bool

CanBypassDnd()

public bool CanBypassDnd()

Returns

bool

bool

CanShowBadge()

public bool CanShowBadge()

Returns

bool

bool

CreatePoolableInstance(String, CharSequence, int)

HPA initializer for NotificationChannel(Java.Lang.String arg0, Java.Lang.CharSequence arg1, int arg2)

public static NotificationChannel CreatePoolableInstance(String arg0, CharSequence arg1, int arg2)

Parameters

arg0 String
arg1 CharSequence
arg2 int

Returns

NotificationChannel

DescribeContents()

public int DescribeContents()

Returns

int

int

EnableLights(bool)

public void EnableLights(bool arg0)

Parameters

arg0 bool

bool

EnableVibration(bool)

public void EnableVibration(bool arg0)

Parameters

arg0 bool

bool

GetAudioAttributes()

public AudioAttributes GetAudioAttributes()

Returns

AudioAttributes

AudioAttributes

GetConversationId()

public String GetConversationId()

Returns

String

String

GetDescription()

public String GetDescription()

Returns

String

String

GetGroup()

public String GetGroup()

Returns

String

String

GetId()

public String GetId()

Returns

String

String

GetImportance()

public int GetImportance()

Returns

int

int

GetLightColor()

public int GetLightColor()

Returns

int

int

GetLockscreenVisibility()

public int GetLockscreenVisibility()

Returns

int

int

GetName()

public CharSequence GetName()

Returns

CharSequence

CharSequence

GetParentChannelId()

public String GetParentChannelId()

Returns

String

String

GetSound()

public Uri GetSound()

Returns

Uri

Uri

GetVibrationEffect()

public VibrationEffect GetVibrationEffect()

Returns

VibrationEffect

VibrationEffect

GetVibrationPattern()

public long[] GetVibrationPattern()

Returns

long[]

long

HasUserSetImportance()

public bool HasUserSetImportance()

Returns

bool

bool

HasUserSetSound()

public bool HasUserSetSound()

Returns

bool

bool

IsBlockable()

public bool IsBlockable()

Returns

bool

bool

IsConversation()

public bool IsConversation()

Returns

bool

bool

IsDemoted()

public bool IsDemoted()

Returns

bool

bool

IsImportantConversation()

public bool IsImportantConversation()

Returns

bool

bool

SetAllowBubbles(bool)

public void SetAllowBubbles(bool arg0)

Parameters

arg0 bool

bool

SetBlockable(bool)

public void SetBlockable(bool arg0)

Parameters

arg0 bool

bool

SetBypassDnd(bool)

public void SetBypassDnd(bool arg0)

Parameters

arg0 bool

bool

SetConversationId(String, String)

public void SetConversationId(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

SetDescription(String)

public void SetDescription(String arg0)

Parameters

arg0 String

String

SetGroup(String)

public void SetGroup(String arg0)

Parameters

arg0 String

String

SetImportance(int)

public void SetImportance(int arg0)

Parameters

arg0 int

int

SetLightColor(int)

public void SetLightColor(int arg0)

Parameters

arg0 int

int

SetLockscreenVisibility(int)

public void SetLockscreenVisibility(int arg0)

Parameters

arg0 int

int

SetName(CharSequence)

public void SetName(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

SetShowBadge(bool)

public void SetShowBadge(bool arg0)

Parameters

arg0 bool

bool

SetSound(Uri, AudioAttributes)

public void SetSound(Uri arg0, AudioAttributes arg1)

Parameters

arg0 Uri

Uri

arg1 AudioAttributes

AudioAttributes

SetVibrationEffect(VibrationEffect)

public void SetVibrationEffect(VibrationEffect arg0)

Parameters

arg0 VibrationEffect

VibrationEffect

SetVibrationPattern(long[])

public void SetVibrationPattern(long[] arg0)

Parameters

arg0 long[]

long

ShouldShowLights()

public bool ShouldShowLights()

Returns

bool

bool

ShouldVibrate()

public bool ShouldVibrate()

Returns

bool

bool

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int