DiscordRPC class

Dart bindings to Discord RPC client.

Constructors

DiscordRPC(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
DiscordRPC.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

Discord_ClearPresence() → void
Discord_Initialize(Pointer<Utf8> applicationId, Pointer<DiscordEventHandlers> handlers, int autoRegister, Pointer<Utf8> optionalSteamId) → void
Discord_Register(Pointer<Utf8> applicationId, Pointer<Utf8> command) → void
Discord_RegisterSteamGame(Pointer<Utf8> applicationId, Pointer<Utf8> steamId) → void
Discord_Respond(Pointer<Utf8> userid, int reply) → void
Discord_RunCallbacks() → void
Discord_Shutdown() → void
Discord_UpdateHandlers(Pointer<DiscordEventHandlers> handlers) → void
Discord_UpdatePresence(Pointer<DiscordRichPresence> presence) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited