logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AudioPlayerPlayClip

    Use case for playing an audio clip in the audio player.

    Inheritance
    object
    AudioPlayerPlayClip
    Implements
    ISyncUseCase<AudioPlayerPlayClipInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AudioPlayer.Application.UseCases
    Assembly: Serenity.AudioPlayer.Application.dll
    Syntax
    public class AudioPlayerPlayClip : ISyncUseCase<AudioPlayerPlayClipInput>, IUseCase

    Constructors

    AudioPlayerPlayClip()

    Initializes a new instance of the AudioPlayerPlayClip class.

    Declaration
    public AudioPlayerPlayClip()

    AudioPlayerPlayClip(IAudioPlayerGateway)

    Initializes a new instance of the AudioPlayerPlayClip class.

    Declaration
    public AudioPlayerPlayClip(IAudioPlayerGateway gateway)
    Parameters
    Type Name Description
    IAudioPlayerGateway gateway

    Gateway for audio player operations.

    Methods

    Execute(AudioPlayerPlayClipInput)

    Executes the use case to play an audio clip.

    Declaration
    public void Execute(AudioPlayerPlayClipInput input)
    Parameters
    Type Name Description
    AudioPlayerPlayClipInput input

    Input data for playing the audio clip.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved