Package | Description |
---|---|
Microsoft.Xna.Framework.Audio | |
Microsoft.Xna.Framework.GamerServices | |
Microsoft.Xna.Framework.Input.Touch | |
Microsoft.Xna.Framework.Net | |
System |
Modifier and Type | Method and Description |
---|---|
TimeSpan |
SoundEffect.getDuration()
Gets the duration of the SoundEffect.
|
TimeSpan |
DynamicSoundEffectInstance.GetSampleDuration(int sizeInBytes)
Returns the sample duration based on the specified size of the audio buffer.
|
static TimeSpan |
SoundEffect.GetSampleDuration(int sizeInBytes,
int sampleRate,
AudioChannels channels)
Returns the sample duration based on the specified sample size and sample rate.
|
Modifier and Type | Method and Description |
---|---|
int |
DynamicSoundEffectInstance.GetSampleSizeInBytes(TimeSpan duration)
Returns the size of the audio buffer required to contain audio samples based on the specified duration.
|
static int |
SoundEffect.GetSampleSizeInBytes(TimeSpan duration,
int sampleRate,
AudioChannels channels)
Returns the size of the audio sample based on duration, sample rate, and audio channels.
|
Modifier and Type | Method and Description |
---|---|
static void |
Guide.DelayNotifications(TimeSpan delay) |
Modifier and Type | Field and Description |
---|---|
TimeSpan |
GestureSample.Timestamp
Holds the starting time for this touch gesture sample.
|
Constructor and Description |
---|
GestureSample(GestureType gestureType,
TimeSpan timestamp,
Vector2 position,
Vector2 position2,
Vector2 delta,
Vector2 delta2) |
Modifier and Type | Method and Description |
---|---|
TimeSpan |
QualityOfService.getAverageRoundTripTime()
Gets the average (median) round trip time of all the network packets that were sent during the quality of service measurement process.
|
TimeSpan |
QualityOfService.getMinimumRoundTripTime()
Gets the minimum round trip time of any network packet that was sent during the quality of service measurement process.
|
Modifier and Type | Field and Description |
---|---|
static TimeSpan |
TimeSpan.MaxValue
Represents the maximum TimeSpan value.
|
static TimeSpan |
TimeSpan.MinValue
Represents the minimum TimeSpan value.
|
static TimeSpan |
TimeSpan.Zero
Represents the zero TimeSpan value.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
TimeSpan.Add(TimeSpan ts)
Adds the specified TimeSpan to this instance.
|
TimeSpan |
TimeSpan.Duration()
Returns a new TimeSpan object whose value is the absolute value of the current TimeSpan object.
|
static TimeSpan |
TimeSpan.FromDays(double value)
Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.
|
static TimeSpan |
TimeSpan.FromHours(double value)
Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.
|
static TimeSpan |
TimeSpan.FromMilliseconds(double value)
Returns a TimeSpan that represents a specified number of milliseconds.
|
static TimeSpan |
TimeSpan.FromMinutes(double value)
Returns a TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.
|
static TimeSpan |
TimeSpan.FromSeconds(double value)
Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.
|
static TimeSpan |
TimeSpan.FromTicks(long value)
Returns a TimeSpan that represents a specified time, where the specification is in units of ticks.
|
TimeSpan |
TimeSpan.Negate()
Returns a TimeSpan whose value is the negated value of this instance.
|
static TimeSpan |
TimeSpan.Parse(java.lang.String s)
Constructs a new TimeSpan object from a time interval specified in a string.
|
TimeSpan |
TimeSpan.Subtract(TimeSpan ts)
Subtracts the specified TimeSpan from this instance.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
TimeSpan.Add(TimeSpan ts)
Adds the specified TimeSpan to this instance.
|
static int |
TimeSpan.Compare(TimeSpan t1,
TimeSpan t2)
Compares two TimeSpan values and returns an integer that indicates their relationship.
|
int |
TimeSpan.CompareTo(TimeSpan value)
Compares this instance to a specified TimeSpan object and returns an indication of their relative values.
|
boolean |
TimeSpan.Equals(TimeSpan obj)
Returns a value indicating whether this instance is equal to a specified TimeSpan object.
|
static boolean |
TimeSpan.Equals(TimeSpan t1,
TimeSpan t2)
Returns a value indicating whether two specified instances of TimeSpan are equal.
|
TimeSpan |
TimeSpan.Subtract(TimeSpan ts)
Subtracts the specified TimeSpan from this instance.
|
static boolean |
TimeSpan.TryParse(java.lang.String s,
TimeSpan result)
Constructs a new TimeSpan object from a time interval specified in a string.
|