DiscordRPC class
Dart bindings to Discord RPC client.
Constructors
- DiscordRPC.new(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< Int8> applicationId, Pointer<DiscordEventHandlers> handlers, int autoRegister, Pointer<Int8> optionalSteamId) → void -
Discord_Register(
Pointer< Int8> applicationId, Pointer<Int8> command) → void -
Discord_RegisterSteamGame(
Pointer< Int8> applicationId, Pointer<Int8> steamId) → void -
Discord_Respond(
Pointer< Int8> 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